FFmpeg
Macros | Functions
mpeg4video.c File Reference
#include "libavutil/thread.h"
#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

static av_cold void mpeg4_init_rl_intra (void)
 
av_cold void ff_mpeg4_init_rl_intra (void)
 
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)
 

Macro Definition Documentation

◆ tab_size

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

Definition at line 79 of file mpeg4video.c.

◆ tab_bias

#define tab_bias   (tab_size / 2)

Definition at line 80 of file mpeg4video.c.

Function Documentation

◆ mpeg4_init_rl_intra()

static av_cold void mpeg4_init_rl_intra ( void  )
static

Definition at line 30 of file mpeg4video.c.

Referenced by ff_mpeg4_init_rl_intra().

◆ ff_mpeg4_init_rl_intra()

av_cold void ff_mpeg4_init_rl_intra ( void  )

Definition at line 36 of file mpeg4video.c.

Referenced by mpeg4_encode_init_static().

◆ ff_mpeg4_get_video_packet_prefix_length()

int ff_mpeg4_get_video_packet_prefix_length ( MpegEncContext s)

◆ ff_mpeg4_clean_buffers()

void ff_mpeg4_clean_buffers ( MpegEncContext s)

Definition at line 57 of file mpeg4video.c.

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

◆ ff_mpeg4_init_direct_mv()

void ff_mpeg4_init_direct_mv ( MpegEncContext s)

◆ ff_mpeg4_set_one_direct_mv()

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

Definition at line 93 of file mpeg4video.c.

Referenced by ff_mpeg4_set_direct_mv().

◆ ff_mpeg4_set_direct_mv()

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

Definition at line 129 of file mpeg4video.c.

Referenced by encode_thread(), and mpeg4_decode_mb().