FFmpeg
|
Go to the source code of this file.
Functions | |
void | ff_draw_horiz_band (AVCodecContext *avctx, const AVFrame *cur, const AVFrame *last, int y, int h, int picture_structure, int first_field, int low_delay) |
Draw a horizontal band if supported. More... | |
void | ff_print_debug_info2 (AVCodecContext *avctx, AVFrame *pict, const uint32_t *mbtype_table, const int8_t *qscale_table, int16_t(*const motion_val[2])[2], int mb_width, int mb_height, int mb_stride, int quarter_sample) |
Print debugging info for the given picture. More... | |
#define PICT_TOP_FIELD 1 |
Definition at line 31 of file mpegutils.h.
#define PICT_BOTTOM_FIELD 2 |
Definition at line 32 of file mpegutils.h.
#define PICT_FRAME 3 |
Definition at line 33 of file mpegutils.h.
#define MAX_MB_BYTES (30 * 16 * 16 * 3 / 8 + 120) |
Definition at line 35 of file mpegutils.h.
#define MAX_FCODE 7 |
Definition at line 36 of file mpegutils.h.
#define MB_TYPE_INTRA4x4 (1 << 0) |
Definition at line 39 of file mpegutils.h.
#define MB_TYPE_INTRA16x16 (1 << 1) |
Definition at line 40 of file mpegutils.h.
#define MB_TYPE_INTRA_PCM (1 << 2) |
Definition at line 41 of file mpegutils.h.
#define MB_TYPE_16x16 (1 << 3) |
Definition at line 42 of file mpegutils.h.
#define MB_TYPE_16x8 (1 << 4) |
Definition at line 43 of file mpegutils.h.
#define MB_TYPE_8x16 (1 << 5) |
Definition at line 44 of file mpegutils.h.
#define MB_TYPE_8x8 (1 << 6) |
Definition at line 45 of file mpegutils.h.
#define MB_TYPE_INTERLACED (1 << 7) |
Definition at line 46 of file mpegutils.h.
#define MB_TYPE_DIRECT2 (1 << 8) |
Definition at line 47 of file mpegutils.h.
#define MB_TYPE_CBP (1 << 10) |
Definition at line 48 of file mpegutils.h.
#define MB_TYPE_QUANT (1 << 11) |
Definition at line 49 of file mpegutils.h.
#define MB_TYPE_FORWARD_MV (1 << 12) |
Definition at line 50 of file mpegutils.h.
#define MB_TYPE_BACKWARD_MV (1 << 13) |
Definition at line 51 of file mpegutils.h.
#define MB_TYPE_BIDIR_MV (MB_TYPE_FORWARD_MV | MB_TYPE_BACKWARD_MV) |
Definition at line 52 of file mpegutils.h.
#define MB_TYPE_P0L0 (1 << 12) |
Definition at line 54 of file mpegutils.h.
#define MB_TYPE_P1L0 (1 << 13) |
Definition at line 55 of file mpegutils.h.
#define MB_TYPE_P0L1 (1 << 14) |
Definition at line 56 of file mpegutils.h.
#define MB_TYPE_P1L1 (1 << 15) |
Definition at line 57 of file mpegutils.h.
#define MB_TYPE_L0 (MB_TYPE_P0L0 | MB_TYPE_P1L0) |
Definition at line 58 of file mpegutils.h.
#define MB_TYPE_L1 (MB_TYPE_P0L1 | MB_TYPE_P1L1) |
Definition at line 59 of file mpegutils.h.
#define MB_TYPE_L0L1 (MB_TYPE_L0 | MB_TYPE_L1) |
Definition at line 60 of file mpegutils.h.
#define MB_TYPE_GMC (1 << 16) |
Definition at line 61 of file mpegutils.h.
#define MB_TYPE_SKIP (1 << 17) |
Definition at line 62 of file mpegutils.h.
#define MB_TYPE_ACPRED (1 << 18) |
Definition at line 63 of file mpegutils.h.
#define MB_TYPE_INTRA MB_TYPE_INTRA4x4 |
Definition at line 65 of file mpegutils.h.
#define MB_TYPE_CODEC_SPECIFIC (1 << 9) |
Definition at line 68 of file mpegutils.h.
#define IS_INTRA4x4 | ( | a | ) | ((a) & MB_TYPE_INTRA4x4) |
Definition at line 70 of file mpegutils.h.
#define IS_INTRA16x16 | ( | a | ) | ((a) & MB_TYPE_INTRA16x16) |
Definition at line 71 of file mpegutils.h.
#define IS_PCM | ( | a | ) | ((a) & MB_TYPE_INTRA_PCM) |
Definition at line 72 of file mpegutils.h.
Definition at line 73 of file mpegutils.h.
#define IS_INTER | ( | a | ) |
Definition at line 74 of file mpegutils.h.
#define IS_SKIP | ( | a | ) | ((a) & MB_TYPE_SKIP) |
Definition at line 76 of file mpegutils.h.
#define IS_INTRA_PCM | ( | a | ) | ((a) & MB_TYPE_INTRA_PCM) |
Definition at line 77 of file mpegutils.h.
#define IS_INTERLACED | ( | a | ) | ((a) & MB_TYPE_INTERLACED) |
Definition at line 78 of file mpegutils.h.
#define IS_DIRECT | ( | a | ) | ((a) & MB_TYPE_DIRECT2) |
Definition at line 79 of file mpegutils.h.
#define IS_GMC | ( | a | ) | ((a) & MB_TYPE_GMC) |
Definition at line 80 of file mpegutils.h.
#define IS_16X16 | ( | a | ) | ((a) & MB_TYPE_16x16) |
Definition at line 81 of file mpegutils.h.
#define IS_16X8 | ( | a | ) | ((a) & MB_TYPE_16x8) |
Definition at line 82 of file mpegutils.h.
#define IS_8X16 | ( | a | ) | ((a) & MB_TYPE_8x16) |
Definition at line 83 of file mpegutils.h.
#define IS_8X8 | ( | a | ) | ((a) & MB_TYPE_8x8) |
Definition at line 84 of file mpegutils.h.
#define IS_ACPRED | ( | a | ) | ((a) & MB_TYPE_ACPRED) |
Definition at line 85 of file mpegutils.h.
#define IS_QUANT | ( | a | ) | ((a) & MB_TYPE_QUANT) |
Definition at line 86 of file mpegutils.h.
#define HAS_CBP | ( | a | ) | ((a) & MB_TYPE_CBP) |
Definition at line 88 of file mpegutils.h.
#define HAS_FORWARD_MV | ( | a | ) | ((a) & MB_TYPE_FORWARD_MV) |
Definition at line 89 of file mpegutils.h.
#define HAS_BACKWARD_MV | ( | a | ) | ((a) & MB_TYPE_BACKWARD_MV) |
Definition at line 90 of file mpegutils.h.
#define HAS_MV | ( | a, | |
dir | |||
) | ((a) & (MB_TYPE_FORWARD_MV << (dir))) |
Definition at line 92 of file mpegutils.h.
#define MB_TYPE_MV_2_MV_DIR | ( | a | ) | (((a) >> 12) & (MV_DIR_FORWARD | MV_DIR_BACKWARD)) |
Definition at line 94 of file mpegutils.h.
void ff_draw_horiz_band | ( | AVCodecContext * | avctx, |
const AVFrame * | cur, | ||
const AVFrame * | last, | ||
int | y, | ||
int | h, | ||
int | picture_structure, | ||
int | first_field, | ||
int | low_delay | ||
) |
Draw a horizontal band if supported.
h | is the normal height, this will be reduced automatically if needed |
Definition at line 54 of file mpegutils.c.
Referenced by ff_intrax8_decode_picture(), ff_mpeg_draw_horiz_band(), and svq3_decode_frame().
void ff_print_debug_info2 | ( | AVCodecContext * | avctx, |
AVFrame * | pict, | ||
const uint32_t * | mbtype_table, | ||
const int8_t * | qscale_table, | ||
int16_t(*[2]) | motion_val[2], | ||
int | mb_width, | ||
int | mb_height, | ||
int | mb_stride, | ||
int | quarter_sample | ||
) |
Print debugging info for the given picture.
Definition at line 155 of file mpegutils.c.
Referenced by ff_print_debug_info(), and finalize_frame().