FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
mpeg4video.c File Reference
#include "mpegutils.h"
#include "mpegvideo.h"
#include "mpeg4video.h"
#include "mpeg4data.h"

Go to the source code of this file.

Macros

#define tab_size   ((signed)FF_ARRAY_ELEMS(s->direct_scale_mv[0]))
 
#define tab_bias   (tab_size / 2)
 

Functions

int ff_mpeg4_get_video_packet_prefix_length (MpegEncContext *s)
 
void ff_mpeg4_clean_buffers (MpegEncContext *s)
 
void ff_mpeg4_init_direct_mv (MpegEncContext *s)
 
static void ff_mpeg4_set_one_direct_mv (MpegEncContext *s, int mx, int my, int i)
 
int ff_mpeg4_set_direct_mv (MpegEncContext *s, int mx, int my)
 

Variables

uint8_t ff_mpeg4_static_rl_table_store [3][2][2 *MAX_RUN+MAX_LEVEL+3]
 

Macro Definition Documentation

#define tab_size   ((signed)FF_ARRAY_ELEMS(s->direct_scale_mv[0]))

Definition at line 67 of file mpeg4video.c.

Referenced by ff_mpeg4_init_direct_mv(), and ff_mpeg4_set_one_direct_mv().

#define tab_bias   (tab_size / 2)

Definition at line 68 of file mpeg4video.c.

Referenced by ff_mpeg4_init_direct_mv(), and ff_mpeg4_set_one_direct_mv().

Function Documentation

int ff_mpeg4_get_video_packet_prefix_length ( MpegEncContext s)
void ff_mpeg4_clean_buffers ( MpegEncContext s)

Definition at line 45 of file mpeg4video.c.

Referenced by encode_thread(), ff_h263_decode_frame(), and ff_msmpeg4_handle_slices().

void ff_mpeg4_init_direct_mv ( MpegEncContext s)
static void ff_mpeg4_set_one_direct_mv ( MpegEncContext s,
int  mx,
int  my,
int  i 
)
inlinestatic

Definition at line 81 of file mpeg4video.c.

Referenced by ff_mpeg4_set_direct_mv().

int ff_mpeg4_set_direct_mv ( MpegEncContext s,
int  mx,
int  my 
)
Returns
the mb_type

Definition at line 117 of file mpeg4video.c.

Referenced by encode_thread(), and mpeg4_decode_mb().

Variable Documentation

uint8_t ff_mpeg4_static_rl_table_store[3][2][2 *MAX_RUN+MAX_LEVEL+3]

Definition at line 28 of file mpeg4video.c.

Referenced by encode_init(), and ff_mpeg4videodec_static_init().