FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
hevcdsp.c File Reference
#include "hevcdsp.h"
#include "hevcdsp_template.c"

Go to the source code of this file.

Macros

#define BIT_DEPTH   8
 
#define BIT_DEPTH   9
 
#define BIT_DEPTH   10
 
#define FUNC(a, depth)   a ## _ ## depth
 
#define HEVC_DSP(depth)
 

Functions

void ff_hevc_dsp_init (HEVCDSPContext *hevcdsp, int bit_depth)
 

Variables

static const int8_t transform [32][32]
 
const int8_t ff_hevc_epel_filters [7][16]
 

Macro Definition Documentation

#define BIT_DEPTH   8

Definition at line 110 of file hevcdsp.c.

#define BIT_DEPTH   9

Definition at line 110 of file hevcdsp.c.

#define BIT_DEPTH   10

Definition at line 110 of file hevcdsp.c.

#define FUNC (   a,
  depth 
)    a ## _ ## depth
#define HEVC_DSP (   depth)

Referenced by ff_hevc_dsp_init().

Function Documentation

void ff_hevc_dsp_init ( HEVCDSPContext hevcdsp,
int  bit_depth 
)

Definition at line 114 of file hevcdsp.c.

Referenced by set_sps().

Variable Documentation

const int8_t transform[32][32]
static

Definition at line 25 of file hevcdsp.c.

Referenced by main(), reverse_dc_prediction(), and vp8_lossless_decode_frame().

const int8_t ff_hevc_epel_filters[7][16]
Initial value:
= {
{ -2, 58, 10, -2, -2, 58, 10, -2, -2, 58, 10, -2, -2, 58, 10, -2 },
{ -4, 54, 16, -2, -4, 54, 16, -2, -4, 54, 16, -2, -4, 54, 16, -2 },
{ -6, 46, 28, -4, -6, 46, 28, -4, -6, 46, 28, -4, -6, 46, 28, -4 },
{ -4, 36, 36, -4, -4, 36, 36, -4, -4, 36, 36, -4, -4, 36, 36, -4 },
{ -4, 28, 46, -6, -4, 28, 46, -6, -4, 28, 46, -6, -4, 28, 46, -6 },
{ -2, 16, 54, -4, -2, 16, 54, -4, -2, 16, 54, -4, -2, 16, 54, -4 },
{ -2, 10, 58, -2, -2, 10, 58, -2, -2, 10, 58, -2, -2, 10, 58, -2 },
}

Definition at line 92 of file hevcdsp.c.

Referenced by put_hevc_epel_h(), put_hevc_epel_hv(), and put_hevc_epel_v().