FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pixblockdsp.c File Reference
#include <stdint.h>
#include "config.h"
#include "libavutil/attributes.h"
#include "avcodec.h"
#include "pixblockdsp.h"
#include "pixblockdsp_template.c"

Go to the source code of this file.

Macros

#define BIT_DEPTH   16
 
#define BIT_DEPTH   8
 

Functions

static void diff_pixels_c (int16_t *av_restrict block, const uint8_t *s1, const uint8_t *s2, int stride)
 
av_cold void ff_pixblockdsp_init (PixblockDSPContext *c, AVCodecContext *avctx)
 

Macro Definition Documentation

#define BIT_DEPTH   16

Definition at line 30 of file pixblockdsp.c.

#define BIT_DEPTH   8

Definition at line 30 of file pixblockdsp.c.

Function Documentation

static void diff_pixels_c ( int16_t *av_restrict  block,
const uint8_t s1,
const uint8_t s2,
int  stride 
)
static

Definition at line 33 of file pixblockdsp.c.

Referenced by ff_pixblockdsp_init().

av_cold void ff_pixblockdsp_init ( PixblockDSPContext c,
AVCodecContext avctx 
)