44 if (
check_marker(
h->c.avctx, &
h->gb,
"after picture_number") != 1) {
75 h->c.avctx->sample_aspect_ratio.num = 12;
76 h->c.avctx->sample_aspect_ratio.den = 11;
85 h->loop_filter =
get_bits1(&
h->gb) * !
h->c.avctx->lowres;
101 h->c.avctx->sample_aspect_ratio.num =
get_bits(&
h->gb, 8);
102 h->c.avctx->sample_aspect_ratio.den =
get_bits(&
h->gb, 8);
106 if (
h->c.avctx->sample_aspect_ratio.num == 0)
110 h->c.chroma_qscale =
h->c.qscale =
get_bits(&
h->gb, 5);
static const char *const format[]
const FFCodec ff_h263i_decoder
#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...
#define FF_CODEC_DECODE_CB(func)
#define CODEC_LONG_NAME(str)
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
int(* init)(AVBSFContext *ctx)
static int get_bits_left(GetBitContext *gb)
static unsigned int get_bits1(GetBitContext *s)
static void skip_bits(GetBitContext *s, int n)
static int skip_1stop_8data_bits(GetBitContext *gb)
static void skip_bits1(GetBitContext *s)
static unsigned int get_bits(GetBitContext *s, int n)
Read 1-25 bits.
#define AV_CODEC_CAP_DRAW_HORIZ_BAND
Decoder can use draw_horiz_band callback.
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
@ AV_PICTURE_TYPE_I
Intra.
#define H263_GOB_HEIGHT(h)
const AVRational ff_h263_pixel_aspect[16]
const uint16_t ff_h263_format[8][2]
#define FRAME_SKIPPED
Frame is not coded.
void ff_h263_show_pict_info(H263DecContext *const h, int h263_plus)
Print picture info if FF_DEBUG_PICT_INFO is set.
int ff_intel_h263_decode_picture_header(H263DecContext *const h)
av_cold int ff_h263_decode_init(AVCodecContext *avctx)
int ff_h263_decode_frame(AVCodecContext *avctx, AVFrame *pict, int *got_frame, AVPacket *avpkt)
av_cold int ff_mpv_decode_close(AVCodecContext *avctx)
mpegvideo decoder header.
static int check_marker(void *logctx, GetBitContext *s, const char *msg)