23 #include "libavutil/imgutils.h"
47 if (format != 0 && format != 1) {
const uint8_t * y_dc_scale_table
qscale -> y_dc_scale table
static unsigned int get_bits(GetBitContext *s, int n)
Read 1-25 bits.
void av_log(void *avcl, int level, const char *fmt,...) av_printf_format(3
Send the specified message to the log if the level is less than or equal to the current av_log_level...
static int get_sbits(GetBitContext *s, int n)
static int decode(MimicContext *ctx, int quality, int num_coeffs, int is_iframe)
const char * name
Name of the codec implementation.
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
char av_get_picture_type_char(enum AVPictureType pict_type)
Return a single letter to describe the given picture type pict_type.
int h263_plus
h263 plus headers
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
int unrestricted_mv
mv can point outside of the coded picture
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
#define AV_LOG_DEBUG
Stuff which is only useful for libav* developers.
AVPixelFormat
Pixel format.
int ff_h263_decode_init(AVCodecContext *avctx)
int av_image_check_size(unsigned int w, unsigned int h, int log_offset, void *log_ctx)
Check if the given dimension of an image is valid, meaning that all bytes of the image can be address...
int ff_h263_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
#define CODEC_CAP_DRAW_HORIZ_BAND
Decoder can use draw_horiz_band callback.
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
int h263_flv
use flv h263 header
static void close(AVCodecParserContext *s)
int height
picture size. must be a multiple of 16
const uint8_t ff_mpeg1_dc_scale_table[128]
static unsigned int get_bits1(GetBitContext *s)
static void skip_bits1(GetBitContext *s)
static void skip_bits(GetBitContext *s, int n)
int f_code
forward MV resolution
static unsigned int get_bits_long(GetBitContext *s, int n)
Read 0-32 bits.
int pict_type
AV_PICTURE_TYPE_I, AV_PICTURE_TYPE_P, AV_PICTURE_TYPE_B, ...
#define FF_DEBUG_PICT_INFO
const uint8_t * c_dc_scale_table
qscale -> c_dc_scale table
void ff_flv2_decode_ac_esc(GetBitContext *gb, int *level, int *run, int *last)
struct AVCodecContext * avctx
static av_cold int init(AVCodecParserContext *s)
int ff_h263_decode_end(AVCodecContext *avctx)
int chroma_qscale
chroma QP
int ff_flv_decode_picture_header(MpegEncContext *s)
int h263_long_vectors
use horrible h263v1 long vector mode