#include "avcodec.h"#include "mpegvideo.h"

Go to the source code of this file.
Data Structures | |
| struct | CLJRContext |
Functions | |
| static int | decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size) |
| static void | common_init (AVCodecContext *avctx) |
| static int | decode_init (AVCodecContext *avctx) |
Variables | |
| AVCodec | cljr_decoder |
Definition in file cljr.c.
| static void common_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 106 of file cljr.c.
References CLJRContext::avctx, AVCodecContext::coded_frame, CLJRContext::picture, and AVCodecContext::priv_data.
| static int decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [static] |
Definition at line 37 of file cljr.c.
References a, av_log(), AV_LOG_ERROR, cb, emms_c, CLJRContext::gb, get_bits(), AVCodecContext::get_buffer, AVCodecContext::height, I_TYPE, init_get_bits(), CLJRContext::picture, picture, AVCodecContext::priv_data, AVCodecContext::release_buffer, and AVCodecContext::width.

| static int decode_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 113 of file cljr.c.
References common_init(), AVCodecContext::pix_fmt, and PIX_FMT_YUV411P.

Initial value:
{
"cljr",
CODEC_TYPE_VIDEO,
CODEC_ID_CLJR,
sizeof(CLJRContext),
decode_init,
NULL,
NULL,
decode_frame,
CODEC_CAP_DR1,
}
Definition at line 131 of file cljr.c.
Referenced by avcodec_register_all().
1.5.5