FFmpeg
Macros | Functions
mpv_reconstruct_mb_template.c File Reference

Go to the source code of this file.

Macros

#define NOT_MPEG12   0
 
#define MAY_BE_MPEG12   1
 
#define DEFINITELY_MPEG12   2
 
#define IS_MPEG12(s)   (is_mpeg12 == MAY_BE_MPEG12 ? ((s)->out_format == FMT_MPEG1) : is_mpeg12)
 

Functions

static void put_dct (MpegEncContext *s, int16_t *block, int i, uint8_t *dest, int line_size, int qscale)
 
static void add_dequant_dct (MpegEncContext *s, int16_t *block, int i, uint8_t *dest, int line_size, int qscale)
 
static av_always_inline void mpv_reconstruct_mb_internal (MpegEncContext *s, int16_t block[12][64], int lowres_flag, int is_mpeg12)
 

Macro Definition Documentation

◆ NOT_MPEG12

#define NOT_MPEG12   0

Definition at line 23 of file mpv_reconstruct_mb_template.c.

◆ MAY_BE_MPEG12

#define MAY_BE_MPEG12   1

Definition at line 24 of file mpv_reconstruct_mb_template.c.

◆ DEFINITELY_MPEG12

#define DEFINITELY_MPEG12   2

Definition at line 25 of file mpv_reconstruct_mb_template.c.

◆ IS_MPEG12

#define IS_MPEG12 (   s)    (is_mpeg12 == MAY_BE_MPEG12 ? ((s)->out_format == FMT_MPEG1) : is_mpeg12)

Function Documentation

◆ put_dct()

static void put_dct ( MpegEncContext s,
int16_t *  block,
int  i,
uint8_t *  dest,
int  line_size,
int  qscale 
)
inlinestatic

Definition at line 28 of file mpv_reconstruct_mb_template.c.

Referenced by mpv_reconstruct_mb_internal().

◆ add_dequant_dct()

static void add_dequant_dct ( MpegEncContext s,
int16_t *  block,
int  i,
uint8_t *  dest,
int  line_size,
int  qscale 
)
inlinestatic

Definition at line 35 of file mpv_reconstruct_mb_template.c.

Referenced by mpv_reconstruct_mb_internal().

◆ mpv_reconstruct_mb_internal()

static av_always_inline void mpv_reconstruct_mb_internal ( MpegEncContext s,
int16_t  block[12][64],
int  lowres_flag,
int  is_mpeg12 
)
static

Definition at line 56 of file mpv_reconstruct_mb_template.c.

Referenced by ff_mpv_reconstruct_mb(), and mpv_reconstruct_mb().