#11655: Cuda/nvdec hwaccel outputs P016LE instead of P010LE on 10bit video
-------------------------------------+-------------------------------------
             Reporter:  nyanmisaka   |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  cuda nvdec   |               Blocked By:
  nvidia hwaccel                     |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Balling):

 420 10 bit video must decode as P010 not P012 or P016. 422 must decode as
 P012 and 444 must decode as P016.

 You see, 10 bit 420 video works as follows: 10 bit are used for Y plane
 and then x2 less bits are used for both Cb and Cr. So together it adds to
 10 + 5 = 15 bits. That is P010, that is 16 bits.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11655#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to