FFmpeg
|
#include <stdint.h>
#include "libavutil/bprint.h"
#include "libavutil/common.h"
#include "libavutil/emms.h"
#include "libavutil/frame.h"
#include "libavutil/mem.h"
#include "libavutil/pixdesc.h"
#include "libavutil/motion_vector.h"
#include "libavutil/avassert.h"
#include "avcodec.h"
#include "mpegutils.h"
Go to the source code of this file.
Macros | |
#define | HAS_MV_EXT(mb_type, flags, dir) ((mb_type) & flags[(dir)]) |
Functions | |
static int | add_mb (AVMotionVector *mb, uint32_t mb_type, int dst_x, int dst_y, int motion_x, int motion_y, int motion_scale, int direction) |
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... | |
static char | get_type_mv_char (int mb_type, const int mb_type_mv_flags[2]) |
static char | get_segmentation_char (int mb_type) |
static char | get_interlacement_char (int mb_type) |
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... | |
Definition at line 100 of file mpegutils.c.
|
static |
Definition at line 35 of file mpegutils.c.
Referenced by ff_print_debug_info2().
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().
|
static |
Definition at line 102 of file mpegutils.c.
Referenced by ff_print_debug_info2().
|
static |
Definition at line 133 of file mpegutils.c.
Referenced by ff_print_debug_info2().
|
static |
Definition at line 147 of file mpegutils.c.
Referenced by ff_print_debug_info2().
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().