52 }
else if (format == 1) {
struct MpegEncContext MpegEncContext
MpegEncContext.
const uint8_t * y_dc_scale_table
qscale -> y_dc_scale table
static void put_sbits(PutBitContext *pb, int n, int32_t value)
int MPV_encode_init(AVCodecContext *avctx)
void avpriv_align_put_bits(PutBitContext *s)
Pad the bitstream with zeros up to the next byte boundary.
int h263_aic
Advanded INTRA Coding (AIC)
AVRational time_base
This is the fundamental unit of time (in seconds) in terms of which frame timestamps are represented...
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
void ff_flv2_encode_ac_esc(PutBitContext *pb, int slevel, int level, int run, int last)
static int init(AVCodecParserContext *s)
int MPV_encode_end(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
int MPV_encode_picture(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data)
const char * name
Name of the codec implementation.
static void put_bits(PutBitContext *s, int n, unsigned int value)
Write up to 31 bits into a bitstream.
const uint8_t ff_aic_dc_scale_table[32]
int h263_flv
use flv h263 header
static void close(AVCodecParserContext *s)
void ff_flv_encode_picture_header(MpegEncContext *s, int picture_number)
int height
picture size. must be a multiple of 16
const uint8_t ff_mpeg1_dc_scale_table[128]
int pict_type
AV_PICTURE_TYPE_I, AV_PICTURE_TYPE_P, AV_PICTURE_TYPE_B, ...
const uint8_t * c_dc_scale_table
qscale -> c_dc_scale table
struct AVCodecContext * avctx
PutBitContext pb
bit output