Simple wrapper to store an AVFrame and forward it as AVPacket.
More...
#include "avcodec.h"
#include "decode.h"
#include "internal.h"
#include "libavutil/internal.h"
#include "libavutil/frame.h"
#include "libavutil/buffer.h"
#include "libavutil/pixdesc.h"
Simple wrapper to store an AVFrame and forward it as AVPacket.
§ ff_wrapped_avframe_decoder
Initial value:= {
.name = "wrapped_avframe",
.type = AVMEDIA_TYPE_VIDEO,
.decode = wrapped_avframe_decode,
}
#define FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
Definition: internal.h:40
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Passthrough codec, AVFrames wrapped in AVPacket.
Definition: avcodec.h:691
§ ff_wrapped_avframe_encoder
Initial value:= {
.name = "wrapped_avframe",
.type = AVMEDIA_TYPE_VIDEO,
.encode2 = wrapped_avframe_encode,
}
#define FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
Definition: internal.h:40
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Passthrough codec, AVFrames wrapped in AVPacket.
Definition: avcodec.h:691