All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
mpegutils.c File Reference
#include <stdint.h>
#include "libavutil/common.h"
#include "libavutil/frame.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.


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, AVFrame *cur, 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, uint8_t *mbskip_table, uint32_t *mbtype_table, int8_t *qscale_table, int16_t(*motion_val[2])[2], int *low_delay, int mb_width, int mb_height, int mb_stride, int quarter_sample)
 Print debugging info for the given picture. More...

Function Documentation

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 

Definition at line 32 of file mpegutils.c.

Referenced by ff_print_debug_info2().

void ff_draw_horiz_band ( AVCodecContext avctx,
AVFrame cur,
AVFrame last,
int  y,
int  h,
int  picture_structure,
int  first_field,
int  low_delay 

Draw a horizontal band if supported.

his the normal height, this will be reduced automatically if needed

Definition at line 51 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,
uint8_t mbskip_table,
uint32_t *  mbtype_table,
int8_t *  qscale_table,
int16_t(*[2])  motion_val[2],
int low_delay,
int  mb_width,
int  mb_height,
int  mb_stride,
int  quarter_sample 

Print debugging info for the given picture.

Definition at line 103 of file mpegutils.c.

Referenced by ff_print_debug_info(), and finalize_frame().