#include "avcodec.h"#include "get_bits.h"Go to the source code of this file.
Data Structures | |
| struct | CpiaContext |
Defines | |
| #define | FRAME_HEADER_SIZE 64 |
| #define | MAGIC_0 0x19 |
| First header byte. | |
| #define | MAGIC_1 0x68 |
| Second header byte. | |
| #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. | |
| #define | EOI 0xff |
| End Of Image marker. | |
Functions | |
| static int | cpia_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
| static av_cold int | cpia_decode_init (AVCodecContext *avctx) |
Variables | |
| AVCodec | ff_cpia_decoder |
| #define COMPRESSED 1 |
| #define DECIMATION_ENAB 1 |
| #define EOI 0xff |
End Of Image marker.
Definition at line 41 of file cpia.c.
Referenced by encode_picture_ls(), ff_mjpeg_decode_frame(), ff_mjpeg_encode_picture_trailer(), ff_rtp_send_jpeg(), jpeg_parse_packet(), mxg_read_packet(), and mxpeg_decode_frame().
| #define EOL 0xfd |
| #define FRAME_HEADER_SIZE 64 |
Definition at line 29 of file cpia.c.
Referenced by asf_read_packet(), cpia_decode_frame(), ff_asf_parse_packet(), ffm_read_packet(), and ffm_write_packet().
| #define MAGIC_0 0x19 |
| #define MAGIC_1 0x68 |
| #define NO_DECIMATION 0 |
| #define NOT_COMPRESSED 0 |
| #define SUBSAMPLE_420 0 |
| #define SUBSAMPLE_422 1 |
| #define YUVORDER_UYVY 1 |
| #define YUVORDER_YUYV 0 |
| static int cpia_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| AVPacket * | avpkt | |||
| ) | [static] |
| static av_cold int cpia_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
Initial value:
{
.name = "cpia",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_CPIA,
.priv_data_size = sizeof(CpiaContext),
.init = cpia_decode_init,
.decode = cpia_decode_frame,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("CPiA video format"),
}
1.5.8