mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 16:22:37 +00:00
Merge commit '5a0e953c2465be9d449d5f523c3d3e2b886910b2'
* commit '5a0e953c2465be9d449d5f523c3d3e2b886910b2': mjpeg: Mark decoder family as thread safe Conflicts: libavcodec/mjpegbdec.c libavcodec/mjpegdec.c libavcodec/mxpegdec.c libavcodec/sp5xdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
fa4bb7c5b2
@ -28,6 +28,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "get_bits.h"
|
||||
#include "golomb.h"
|
||||
#include "internal.h"
|
||||
#include "mathops.h"
|
||||
#include "mjpeg.h"
|
||||
#include "mjpegdec.h"
|
||||
@ -508,4 +509,5 @@ AVCodec ff_jpegls_decoder = {
|
||||
.close = ff_mjpeg_decode_end,
|
||||
.decode = ff_mjpeg_decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
|
||||
};
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "internal.h"
|
||||
#include "mjpeg.h"
|
||||
#include "mjpegdec.h"
|
||||
|
||||
@ -167,4 +168,5 @@ AVCodec ff_mjpegb_decoder = {
|
||||
.decode = mjpegb_decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.max_lowres = 3,
|
||||
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
|
||||
};
|
||||
|
@ -2364,6 +2364,7 @@ AVCodec ff_mjpeg_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.max_lowres = 3,
|
||||
.priv_class = &mjpegdec_class,
|
||||
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
|
||||
};
|
||||
#endif
|
||||
#if CONFIG_THP_DECODER
|
||||
@ -2379,5 +2380,6 @@ AVCodec ff_thp_decoder = {
|
||||
.flush = decode_flush,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.max_lowres = 3,
|
||||
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
|
||||
};
|
||||
#endif
|
||||
|
@ -345,4 +345,5 @@ AVCodec ff_mxpeg_decoder = {
|
||||
.decode = mxpeg_decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.max_lowres = 3,
|
||||
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
|
||||
};
|
||||
|
@ -25,6 +25,7 @@
|
||||
*/
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "internal.h"
|
||||
#include "mjpeg.h"
|
||||
#include "mjpegdec.h"
|
||||
#include "sp5x.h"
|
||||
@ -105,6 +106,7 @@ AVCodec ff_sp5x_decoder = {
|
||||
.decode = sp5x_decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.max_lowres = 3,
|
||||
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
|
||||
};
|
||||
#endif
|
||||
#if CONFIG_AMV_DECODER
|
||||
@ -118,5 +120,6 @@ AVCodec ff_amv_decoder = {
|
||||
.close = ff_mjpeg_decode_end,
|
||||
.decode = sp5x_decode_frame,
|
||||
.max_lowres = 3,
|
||||
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
|
||||
};
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user