mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 19:59:46 +00:00
Proresenc: add multithreading support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
603221ebd0
commit
ffda8f0f0f
@ -606,6 +606,7 @@ AVCodec ff_prores_anatoliy_encoder = {
|
||||
.encode2 = prores_encode_frame,
|
||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_YUV422P10, PIX_FMT_NONE},
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Apple ProRes"),
|
||||
.capabilities = CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY,
|
||||
.profiles = profiles
|
||||
};
|
||||
|
||||
@ -619,5 +620,6 @@ AVCodec ff_prores_encoder = {
|
||||
.encode2 = prores_encode_frame,
|
||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_YUV422P10, PIX_FMT_NONE},
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Apple ProRes"),
|
||||
.capabilities = CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY,
|
||||
.profiles = profiles
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user