[FFmpeg-trac] #9526(avutil:new): AV_PIX_FMT_YUV410P description incorret

FFmpeg trac at avcodec.org
Tue Nov 23 05:37:54 EET 2021


#9526: AV_PIX_FMT_YUV410P description incorret
-----------------------------------+--------------------------------------
             Reporter:  Anton1699  |                     Type:  defect
               Status:  new        |                 Priority:  normal
            Component:  avutil     |                  Version:  git-master
             Keywords:  pixdesc    |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |
-----------------------------------+--------------------------------------
 {{{
 [AV_PIX_FMT_YUV410P] = {
     .name = "yuv410p",
     .nb_components = 3,
     .log2_chroma_w = 2,
     .log2_chroma_h = 2,
     .comp = {
         { 0, 1, 0, 0, 8 },        /* Y */
         { 1, 1, 0, 0, 8 },        /* U */
         { 2, 1, 0, 0, 8 },        /* V */
     },
     .flags = AV_PIX_FMT_FLAG_PLANAR,
 }
 }}}

 YUV 4:1:0 contains one pair of chroma samples per {{{4x2}}} block of luma
 samples, so {{{log2_chroma_h}}} should be {{{1}}} or am I reading this
 wrong?
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9526>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list