FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
mpegvideoencdsp.c File Reference
#include <assert.h>
#include <stdint.h>
#include <string.h>
#include "config.h"
#include "libavutil/avassert.h"
#include "libavutil/attributes.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "imgconvert.h"
#include "me_cmp.h"
#include "mpegvideoencdsp.h"

Go to the source code of this file.

Functions

static int try_8x8basis_c (int16_t rem[64], int16_t weight[64], int16_t basis[64], int scale)
 
static void add_8x8basis_c (int16_t rem[64], int16_t basis[64], int scale)
 
static int pix_sum_c (uint8_t *pix, int line_size)
 
static int pix_norm1_c (uint8_t *pix, int line_size)
 
static void draw_edges_8_c (uint8_t *buf, int wrap, int width, int height, int w, int h, int sides)
 
av_cold void ff_mpegvideoencdsp_init (MpegvideoEncDSPContext *c, AVCodecContext *avctx)
 

Function Documentation

static int try_8x8basis_c ( int16_t  rem[64],
int16_t  weight[64],
int16_t  basis[64],
int  scale 
)
static

Definition at line 32 of file mpegvideoencdsp.c.

Referenced by ff_mpegvideoencdsp_init().

static void add_8x8basis_c ( int16_t  rem[64],
int16_t  basis[64],
int  scale 
)
static

Definition at line 51 of file mpegvideoencdsp.c.

Referenced by ff_mpegvideoencdsp_init().

static int pix_sum_c ( uint8_t pix,
int  line_size 
)
static

Definition at line 61 of file mpegvideoencdsp.c.

Referenced by ff_mpegvideoencdsp_init().

static int pix_norm1_c ( uint8_t pix,
int  line_size 
)
static

Definition at line 82 of file mpegvideoencdsp.c.

Referenced by ff_mpegvideoencdsp_init().

static void draw_edges_8_c ( uint8_t buf,
int  wrap,
int  width,
int  height,
int  w,
int  h,
int  sides 
)
static

Definition at line 131 of file mpegvideoencdsp.c.

Referenced by ff_mpegvideoencdsp_init().

av_cold void ff_mpegvideoencdsp_init ( MpegvideoEncDSPContext c,
AVCodecContext avctx 
)