|
FFmpeg
|
#include "libavutil/intreadwrite.h"#include "avcodec.h"#include "codec_internal.h"#include "decode.h"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. | |
| #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, AVFrame *rframe, int *got_frame, AVPacket *avpkt) |
| static av_cold int | cpia_decode_init (AVCodecContext *avctx) |
| static av_cold int | cpia_decode_end (AVCodecContext *avctx) |
Variables | |
| const FFCodec | ff_cpia_decoder |
| #define FRAME_HEADER_SIZE 64 |
Definition at line 31 of file cpia.c.
Referenced by asf_parse_packet(), asf_read_packet(), and cpia_decode_frame().
| #define MAGIC_0 0x19 |
| #define MAGIC_1 0x68 |
| #define SUBSAMPLE_420 0 |
Definition at line 34 of file cpia.c.
Referenced by cpia_decode_frame().
| #define SUBSAMPLE_422 1 |
Definition at line 35 of file cpia.c.
Referenced by cpia_decode_frame().
| #define YUVORDER_YUYV 0 |
Definition at line 36 of file cpia.c.
Referenced by cpia_decode_frame().
| #define YUVORDER_UYVY 1 |
Definition at line 37 of file cpia.c.
Referenced by cpia_decode_frame().
| #define NOT_COMPRESSED 0 |
Definition at line 38 of file cpia.c.
Referenced by cpia_decode_frame().
| #define COMPRESSED 1 |
Definition at line 39 of file cpia.c.
Referenced by cpia_decode_frame().
| #define NO_DECIMATION 0 |
Definition at line 40 of file cpia.c.
Referenced by cpia_decode_frame().
| #define DECIMATION_ENAB 1 |
Definition at line 41 of file cpia.c.
Referenced by cpia_decode_frame().
| #define EOL 0xfd |
| #define EOI 0xff |
End Of Image marker.
Definition at line 43 of file cpia.c.
Referenced by encode_picture_ls(), ff_mjpeg_decode_frame_from_buf(), ff_mjpeg_encode_picture_trailer(), ff_rtp_send_jpeg(), jpeg_parse_packet(), jpeg_probe(), mxg_read_packet(), and mxpeg_decode_frame().
|
static |
|
static |
|
static |
| const FFCodec ff_cpia_decoder |