#include "avcodec.h"
#include "get_bits.h"
#include "internal.h"
Go to the source code of this file.
◆ FRAME_HEADER_SIZE
#define FRAME_HEADER_SIZE 64 |
◆ MAGIC_0
First header byte.
Definition at line 31 of file cpia.c.
◆ MAGIC_1
Second header byte.
Definition at line 32 of file cpia.c.
◆ SUBSAMPLE_420
◆ SUBSAMPLE_422
◆ YUVORDER_YUYV
◆ YUVORDER_UYVY
◆ NOT_COMPRESSED
◆ COMPRESSED
◆ NO_DECIMATION
◆ DECIMATION_ENAB
#define DECIMATION_ENAB 1 |
◆ EOL
End Of Line marker.
Definition at line 41 of file cpia.c.
◆ EOI
End Of Image marker.
Definition at line 42 of file cpia.c.
◆ cpia_decode_frame()
◆ cpia_decode_init()
◆ cpia_decode_end()
◆ ff_cpia_decoder
Initial value:= {
.name = "cpia",
}
static av_cold int init(AVCodecContext *avctx)
static av_cold int cpia_decode_init(AVCodecContext *avctx)
static int cpia_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
static av_cold int cpia_decode_end(AVCodecContext *avctx)
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
#define FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition at line 224 of file cpia.c.