[FFmpeg-trac] #11515(avcodec:new): Consider NV12 / P010 output pixel format support

FFmpeg trac at avcodec.org
Sun Mar 16 23:26:18 EET 2025


#11515: Consider NV12 / P010 output pixel format support
--------------------------------------+-----------------------------------
             Reporter:  Robert Mader  |                    Owner:  (none)
                 Type:  defect        |                   Status:  new
             Priority:  normal        |                Component:  avcodec
              Version:  unspecified   |               Resolution:
             Keywords:  nv12, p010    |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+-----------------------------------
Comment (by Robert Mader):

 Replying to [comment:1 James]:
 > I'm not sure i understand. Semi planar formats like NV12, P010 and such
 are already supported. What is missing according to you?

 If I'm not mistaken a *conversion* to NV12 or P010 is supported - but the
 decoding always first creates yuv420/yuv420_10. The conversion, however,
 requires a full copy. What I'm asking / suggesting is supporting direct
 decoding to NV12 or P010.

 I understand that this may require significant changes to performance-
 critical code. The reason I think it's still worth investigating is that
 those formats are supported by the vast majority of display controllers on
 consumer devices and avoiding a full size copy - either on the CPU or GPU
 - can thus increase playback performance, especially in scenarios where
 memory bandwidth is the limiting factor.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11515#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list