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)
static int get_bits_left(GetBitContext *gb)
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
#define CODEC_LONG_NAME(str)
#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)
int(* init)(AVBSFContext *ctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
#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]
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.