|
|
@ -3166,8 +3166,8 @@ const AVCodec ff_theora_decoder = { |
|
|
|
AV_CODEC_CAP_FRAME_THREADS, |
|
|
|
AV_CODEC_CAP_FRAME_THREADS, |
|
|
|
.flush = vp3_decode_flush, |
|
|
|
.flush = vp3_decode_flush, |
|
|
|
.update_thread_context = ONLY_IF_THREADS_ENABLED(vp3_update_thread_context), |
|
|
|
.update_thread_context = ONLY_IF_THREADS_ENABLED(vp3_update_thread_context), |
|
|
|
.caps_internal = FF_CODEC_CAP_EXPORTS_CROPPING | FF_CODEC_CAP_ALLOCATE_PROGRESS | |
|
|
|
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP | |
|
|
|
FF_CODEC_CAP_INIT_CLEANUP, |
|
|
|
FF_CODEC_CAP_EXPORTS_CROPPING | FF_CODEC_CAP_ALLOCATE_PROGRESS, |
|
|
|
}; |
|
|
|
}; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
@ -3184,7 +3184,8 @@ const AVCodec ff_vp3_decoder = { |
|
|
|
AV_CODEC_CAP_FRAME_THREADS, |
|
|
|
AV_CODEC_CAP_FRAME_THREADS, |
|
|
|
.flush = vp3_decode_flush, |
|
|
|
.flush = vp3_decode_flush, |
|
|
|
.update_thread_context = ONLY_IF_THREADS_ENABLED(vp3_update_thread_context), |
|
|
|
.update_thread_context = ONLY_IF_THREADS_ENABLED(vp3_update_thread_context), |
|
|
|
.caps_internal = FF_CODEC_CAP_ALLOCATE_PROGRESS | FF_CODEC_CAP_INIT_CLEANUP, |
|
|
|
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP | |
|
|
|
|
|
|
|
FF_CODEC_CAP_ALLOCATE_PROGRESS, |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
#if CONFIG_VP4_DECODER |
|
|
|
#if CONFIG_VP4_DECODER |
|
|
@ -3201,6 +3202,7 @@ const AVCodec ff_vp4_decoder = { |
|
|
|
AV_CODEC_CAP_FRAME_THREADS, |
|
|
|
AV_CODEC_CAP_FRAME_THREADS, |
|
|
|
.flush = vp3_decode_flush, |
|
|
|
.flush = vp3_decode_flush, |
|
|
|
.update_thread_context = ONLY_IF_THREADS_ENABLED(vp3_update_thread_context), |
|
|
|
.update_thread_context = ONLY_IF_THREADS_ENABLED(vp3_update_thread_context), |
|
|
|
.caps_internal = FF_CODEC_CAP_ALLOCATE_PROGRESS | FF_CODEC_CAP_INIT_CLEANUP, |
|
|
|
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP | |
|
|
|
|
|
|
|
FF_CODEC_CAP_ALLOCATE_PROGRESS, |
|
|
|
}; |
|
|
|
}; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|