• Sreerenj Balachandran's avatar
    media: Fix raw video format comments · 8c88d974
    Sreerenj Balachandran authored
    The "PN" subscript in PIXEL_FORMAT_YUVxxxPN formats are not
    indicating the bits per pixel, but indicating the
    nubmer of bits per pixel component/channel.
    For eg: PIXEL_FORMAT_YUV420P10 is mapped to the ffmpeg
    format AV_PIX_FMT_YUV420P10LE and this is not a 10bits per pixel
    format, it has 15 bits in each pixel.
    
    R=dalecurtis@chromium.org
    
    Change-Id: Idafc9a3b8d1188154610638ce4db02964586aeb8
    Reviewed-on: https://chromium-review.googlesource.com/c/1292819
    Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
    Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#607146}
    8c88d974
AUTHORS 38.1 KB