Go to the documentation of this file.
75 s->avctx->sample_aspect_ratio.num = 12;
76 s->avctx->sample_aspect_ratio.den = 11;
101 s->avctx->sample_aspect_ratio.num =
get_bits(&
s->gb, 8);
102 s->avctx->sample_aspect_ratio.den =
get_bits(&
s->gb, 8);
106 if (
s->avctx->sample_aspect_ratio.num == 0)
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
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)
#define CODEC_LONG_NAME(str)
New swscale design to change SwsGraph is what coordinates multiple passes These can include cascaded scaling error diffusion and so on Or we could have separate passes for the vertical and horizontal scaling In between each SwsPass lies a fully allocated image buffer Graph passes may have different levels of e g we can have a single threaded error diffusion pass following a multi threaded scaling pass SwsGraph is internally recreated whenever the image format
av_cold int ff_mpv_decode_close(AVCodecContext *avctx)
@ 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)
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 FRAME_SKIPPED
Return value for header parsers if frame is not coded.
#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.