aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qsvenc_h264.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2016-11-25 11:11:45 -0800
committerTimo Rothenpieler <timo@rothenpieler.org>2016-11-30 12:36:23 +0100
commit27038693bb4a0ade33be70f06970631a159578d4 (patch)
tree622ff526109a8134aab4bfdf6a52974cf768bd16 /libavcodec/qsvenc_h264.c
parent8cbdaa4b01ef2fc723c30c175cb4c2ec84b235bf (diff)
downloadffmpeg-27038693bb4a0ade33be70f06970631a159578d4.tar.gz
avcodec/nvenc: Delay identification of underlying format of cuda frames
When input surfaces are cuda frames, we will not know what the actual underlying format (nv12, p010, etc) is at surface allocation time. On the other hand, we will know when the input frames are actually registered and associated with a surface. So, let's delay format discovery until registration time, which is actually how we handle other frame properties, such as dimensions. By itself, this change doesn't allow for transcoding of 10bit content from cuvid, but it reduces the problem to the hardcoding of the sw format in ffmpeg_cuvid.c Signed-off-by: Philip Langdale <philipl@overt.org> Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/qsvenc_h264.c')
0 files changed, 0 insertions, 0 deletions