54 if (format == 0 || format == 6) {
79 if(format == 0 || format == 7){
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
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.
static av_cold int init(AVCodecContext *avctx)
static int check_marker(void *logctx, GetBitContext *s, const char *msg)
int obmc
overlapped block motion compensation
AVRational sample_aspect_ratio
sample aspect ratio (0 if unknown) That is the width of a pixel divided by the height of the pixel...
const uint16_t ff_h263_format[8][2]
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
const uint8_t ff_mpeg1_dc_scale_table[128]
int lowres
low resolution decoding, 1-> 1/2 size, 2->1/4 size
static int get_bits_left(GetBitContext *gb)
int h263_plus
H.263+ 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. ...
const char * name
Name of the codec implementation.
int ff_h263_decode_init(AVCodecContext *avctx)
int ff_h263_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
#define AV_CODEC_CAP_DRAW_HORIZ_BAND
Decoder can use draw_horiz_band callback.
int pb_frame
PB-frame mode (0 = none, 1 = base, 2 = improved)
#define FRAME_SKIPPED
Return value for header parsers if frame is not coded.
int ff_intel_h263_decode_picture_header(MpegEncContext *s)
int height
picture size. must be a multiple of 16
static unsigned int get_bits1(GetBitContext *s)
static void skip_bits1(GetBitContext *s)
static const char * format
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, ...
static enum AVPixelFormat pix_fmts[]
const AVRational ff_h263_pixel_aspect[16]
const uint8_t * c_dc_scale_table
qscale -> c_dc_scale table
struct AVCodecContext * avctx
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
#define FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM
The decoder extracts and fills its parameters even if the frame is skipped due to the skip_frame sett...
int ff_h263_decode_end(AVCodecContext *avctx)
int chroma_qscale
chroma QP
void ff_h263_show_pict_info(MpegEncContext *s)
Print picture info if FF_DEBUG_PICT_INFO is set.
static int skip_1stop_8data_bits(GetBitContext *gb)
int h263_long_vectors
use horrible H.263v1 long vector mode
AVPixelFormat
Pixel format.
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.