mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avcodec/(ffv1|h264|png|snow)dec: Remove comment out DRAW_HORIZ_BAND cap
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
1f63225f2b
commit
e0c01a62ad
@ -1099,7 +1099,7 @@ const FFCodec ff_ffv1_decoder = {
|
|||||||
.close = ffv1_decode_close,
|
.close = ffv1_decode_close,
|
||||||
FF_CODEC_DECODE_CB(decode_frame),
|
FF_CODEC_DECODE_CB(decode_frame),
|
||||||
UPDATE_THREAD_CONTEXT(update_thread_context),
|
UPDATE_THREAD_CONTEXT(update_thread_context),
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1 /*| AV_CODEC_CAP_DRAW_HORIZ_BAND*/ |
|
.p.capabilities = AV_CODEC_CAP_DR1 |
|
||||||
AV_CODEC_CAP_FRAME_THREADS | AV_CODEC_CAP_SLICE_THREADS,
|
AV_CODEC_CAP_FRAME_THREADS | AV_CODEC_CAP_SLICE_THREADS,
|
||||||
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP |
|
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP |
|
||||||
FF_CODEC_CAP_ALLOCATE_PROGRESS,
|
FF_CODEC_CAP_ALLOCATE_PROGRESS,
|
||||||
|
@ -1075,7 +1075,7 @@ const FFCodec ff_h264_decoder = {
|
|||||||
.init = h264_decode_init,
|
.init = h264_decode_init,
|
||||||
.close = h264_decode_end,
|
.close = h264_decode_end,
|
||||||
FF_CODEC_DECODE_CB(h264_decode_frame),
|
FF_CODEC_DECODE_CB(h264_decode_frame),
|
||||||
.p.capabilities = /*AV_CODEC_CAP_DRAW_HORIZ_BAND |*/ AV_CODEC_CAP_DR1 |
|
.p.capabilities = AV_CODEC_CAP_DR1 |
|
||||||
AV_CODEC_CAP_DELAY | AV_CODEC_CAP_SLICE_THREADS |
|
AV_CODEC_CAP_DELAY | AV_CODEC_CAP_SLICE_THREADS |
|
||||||
AV_CODEC_CAP_FRAME_THREADS,
|
AV_CODEC_CAP_FRAME_THREADS,
|
||||||
.hw_configs = (const AVCodecHWConfigInternal *const []) {
|
.hw_configs = (const AVCodecHWConfigInternal *const []) {
|
||||||
|
@ -1723,7 +1723,7 @@ const FFCodec ff_apng_decoder = {
|
|||||||
.close = png_dec_end,
|
.close = png_dec_end,
|
||||||
FF_CODEC_DECODE_CB(decode_frame_apng),
|
FF_CODEC_DECODE_CB(decode_frame_apng),
|
||||||
UPDATE_THREAD_CONTEXT(update_thread_context),
|
UPDATE_THREAD_CONTEXT(update_thread_context),
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS /*| AV_CODEC_CAP_DRAW_HORIZ_BAND*/,
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
|
||||||
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP |
|
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP |
|
||||||
FF_CODEC_CAP_ALLOCATE_PROGRESS |
|
FF_CODEC_CAP_ALLOCATE_PROGRESS |
|
||||||
FF_CODEC_CAP_ICC_PROFILES,
|
FF_CODEC_CAP_ICC_PROFILES,
|
||||||
@ -1741,7 +1741,7 @@ const FFCodec ff_png_decoder = {
|
|||||||
.close = png_dec_end,
|
.close = png_dec_end,
|
||||||
FF_CODEC_DECODE_CB(decode_frame_png),
|
FF_CODEC_DECODE_CB(decode_frame_png),
|
||||||
UPDATE_THREAD_CONTEXT(update_thread_context),
|
UPDATE_THREAD_CONTEXT(update_thread_context),
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS /*| AV_CODEC_CAP_DRAW_HORIZ_BAND*/,
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
|
||||||
.caps_internal = FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM |
|
.caps_internal = FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM |
|
||||||
FF_CODEC_CAP_ALLOCATE_PROGRESS | FF_CODEC_CAP_INIT_CLEANUP |
|
FF_CODEC_CAP_ALLOCATE_PROGRESS | FF_CODEC_CAP_INIT_CLEANUP |
|
||||||
FF_CODEC_CAP_ICC_PROFILES,
|
FF_CODEC_CAP_ICC_PROFILES,
|
||||||
|
@ -662,6 +662,6 @@ const FFCodec ff_snow_decoder = {
|
|||||||
.init = ff_snow_common_init,
|
.init = ff_snow_common_init,
|
||||||
.close = decode_end,
|
.close = decode_end,
|
||||||
FF_CODEC_DECODE_CB(decode_frame),
|
FF_CODEC_DECODE_CB(decode_frame),
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1 /*| AV_CODEC_CAP_DRAW_HORIZ_BAND*/,
|
.p.capabilities = AV_CODEC_CAP_DR1,
|
||||||
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
|
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user