FFmpeg
|
cpia.c File Reference
Include dependency graph for cpia.c:
Go to the source code of this file.
Data Structures | |
struct | CpiaContext |
Macros | |
#define | FRAME_HEADER_SIZE 64 |
#define | MAGIC_0 0x19 |
First header byte. More... | |
#define | MAGIC_1 0x68 |
Second header byte. More... | |
#define | SUBSAMPLE_420 0 |
#define | SUBSAMPLE_422 1 |
#define | YUVORDER_YUYV 0 |
#define | YUVORDER_UYVY 1 |
#define | NOT_COMPRESSED 0 |
#define | COMPRESSED 1 |
#define | NO_DECIMATION 0 |
#define | DECIMATION_ENAB 1 |
#define | EOL 0xfd |
End Of Line marker. More... | |
#define | EOI 0xff |
End Of Image marker. More... | |
Functions | |
static int | cpia_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | cpia_decode_init (AVCodecContext *avctx) |
static av_cold int | cpia_decode_end (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_cpia_decoder |
Macro Definition Documentation
#define COMPRESSED 1 |
Definition at line 38 of file cpia.c.
Referenced by cpia_decode_frame().
#define DECIMATION_ENAB 1 |
Definition at line 40 of file cpia.c.
Referenced by cpia_decode_frame().
#define EOL 0xfd |
#define FRAME_HEADER_SIZE 64 |
Definition at line 30 of file cpia.c.
Referenced by cpia_decode_frame(), ffm_read_packet(), and ffm_write_packet().
#define MAGIC_0 0x19 |
#define MAGIC_1 0x68 |
#define NO_DECIMATION 0 |
Definition at line 39 of file cpia.c.
Referenced by cpia_decode_frame().
#define NOT_COMPRESSED 0 |
Definition at line 37 of file cpia.c.
Referenced by cpia_decode_frame().
#define SUBSAMPLE_420 0 |
Definition at line 33 of file cpia.c.
Referenced by cpia_decode_frame().
#define SUBSAMPLE_422 1 |
Definition at line 34 of file cpia.c.
Referenced by cpia_decode_frame().
#define YUVORDER_UYVY 1 |
Definition at line 36 of file cpia.c.
Referenced by cpia_decode_frame().
#define YUVORDER_YUYV 0 |
Definition at line 35 of file cpia.c.
Referenced by cpia_decode_frame().
Function Documentation
|
static |
|
static |
|
static |
Variable Documentation
AVCodec ff_cpia_decoder |
Initial value:
= {
.name = "cpia",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_CPIA,
.priv_data_size = sizeof(CpiaContext),
.init = cpia_decode_init,
.close = cpia_decode_end,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("CPiA video format"),
}
static int cpia_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: cpia.c:50
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: libavcodec/avcodec.h:743
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
Definition: libavcodec/avcodec.h:289
Definition: cpia.c:45
Definition: avutil.h:143
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
Generated on Fri Dec 20 2024 06:56:11 for FFmpeg by 1.8.11