Go to the documentation of this file.
77 s->avctx->sample_aspect_ratio.num = 12;
78 s->avctx->sample_aspect_ratio.den = 11;
103 s->avctx->sample_aspect_ratio.num =
get_bits(&
s->gb, 8);
104 s->avctx->sample_aspect_ratio.den =
get_bits(&
s->gb, 8);
108 if (
s->avctx->sample_aspect_ratio.num == 0)
AVPixelFormat
Pixel format.
static int get_bits_left(GetBitContext *gb)
const uint8_t ff_mpeg1_dc_scale_table[128]
static void skip_bits(GetBitContext *s, int n)
static unsigned int get_bits(GetBitContext *s, int n)
Read 1-25 bits.
AVCodec p
The public AVCodec.
const AVRational ff_h263_pixel_aspect[16]
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
#define FF_CODEC_DECODE_CB(func)
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFrame structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample format(the sample packing is implied by the sample format) and sample rate. The lists are not just lists
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
#define FRAME_SKIPPED
Return value for header parsers if frame is not coded.
@ AV_PICTURE_TYPE_I
Intra.
static unsigned int get_bits1(GetBitContext *s)
void ff_h263_show_pict_info(MpegEncContext *s)
Print picture info if FF_DEBUG_PICT_INFO is set.
int ff_h263_decode_frame(AVCodecContext *avctx, AVFrame *pict, int *got_frame, AVPacket *avpkt)
av_cold int ff_h263_decode_end(AVCodecContext *avctx)
static int check_marker(void *logctx, GetBitContext *s, const char *msg)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
#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...
static void skip_bits1(GetBitContext *s)
const uint16_t ff_h263_format[8][2]
#define FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
const char * name
Name of the codec implementation.
av_cold int ff_h263_decode_init(AVCodecContext *avctx)
const FFCodec ff_h263i_decoder
static int skip_1stop_8data_bits(GetBitContext *gb)
int ff_intel_h263_decode_picture_header(MpegEncContext *s)
#define AV_CODEC_CAP_DRAW_HORIZ_BAND
Decoder can use draw_horiz_band callback.
#define AVERROR_INVALIDDATA
Invalid data found when processing input.