FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
h264idct_template.c File Reference

H.264 IDCT. More...

#include "bit_depth_template.c"
#include "libavutil/common.h"

Go to the source code of this file.

Macros

#define AVCODEC_H264IDCT_INTERNAL_H
 
#define stride   16
 

Functions

void FUNCC() ff_h264_idct_add (uint8_t *_dst, DCTELEM *_block, int stride)
 
void FUNCC() ff_h264_idct8_add (uint8_t *_dst, DCTELEM *_block, int stride)
 
void FUNCC() ff_h264_idct_dc_add (uint8_t *p_dst, DCTELEM *block, int stride)
 
void FUNCC() ff_h264_idct8_dc_add (uint8_t *p_dst, DCTELEM *block, int stride)
 
void FUNCC() ff_h264_idct_add16 (uint8_t *dst, const int *block_offset, DCTELEM *block, int stride, const uint8_t nnzc[15 *8])
 
void FUNCC() ff_h264_idct_add16intra (uint8_t *dst, const int *block_offset, DCTELEM *block, int stride, const uint8_t nnzc[15 *8])
 
void FUNCC() ff_h264_idct8_add4 (uint8_t *dst, const int *block_offset, DCTELEM *block, int stride, const uint8_t nnzc[15 *8])
 
void FUNCC() ff_h264_idct_add8 (uint8_t **dest, const int *block_offset, DCTELEM *block, int stride, const uint8_t nnzc[15 *8])
 
void FUNCC() ff_h264_idct_add8_422 (uint8_t **dest, const int *block_offset, DCTELEM *block, int stride, const uint8_t nnzc[15 *8])
 
void FUNCC() ff_h264_luma_dc_dequant_idct (DCTELEM *p_output, DCTELEM *p_input, int qmul)
 IDCT transforms the 16 dc values and dequantizes them.
 
void FUNCC() ff_h264_chroma422_dc_dequant_idct (DCTELEM *_block, int qmul)
 
void FUNCC() ff_h264_chroma_dc_dequant_idct (DCTELEM *_block, int qmul)
 

Variables

static const uint8_t scan8 [16 *3]
 

Detailed Description

H.264 IDCT.

Author
Michael Niedermayer micha.nosp@m.elni.nosp@m.@gmx..nosp@m.at

Definition in file h264idct_template.c.

Macro Definition Documentation

#define AVCODEC_H264IDCT_INTERNAL_H

Definition at line 32 of file h264idct_template.c.

#define stride   16

Function Documentation

void FUNCC() ff_h264_idct_add ( uint8_t _dst,
DCTELEM _block,
int  stride 
)
void FUNCC() ff_h264_idct8_add ( uint8_t _dst,
DCTELEM _block,
int  stride 
)

Definition at line 84 of file h264idct_template.c.

Referenced by ff_h264_idct8_add4().

void FUNCC() ff_h264_idct_dc_add ( uint8_t p_dst,
DCTELEM block,
int  stride 
)
void FUNCC() ff_h264_idct8_dc_add ( uint8_t p_dst,
DCTELEM block,
int  stride 
)

Definition at line 170 of file h264idct_template.c.

Referenced by ff_h264_idct8_add4().

void FUNCC() ff_h264_idct_add16 ( uint8_t dst,
const int *  block_offset,
DCTELEM block,
int  stride,
const uint8_t  nnzc[15 *8] 
)

Definition at line 183 of file h264idct_template.c.

void FUNCC() ff_h264_idct_add16intra ( uint8_t dst,
const int *  block_offset,
DCTELEM block,
int  stride,
const uint8_t  nnzc[15 *8] 
)

Definition at line 194 of file h264idct_template.c.

void FUNCC() ff_h264_idct8_add4 ( uint8_t dst,
const int *  block_offset,
DCTELEM block,
int  stride,
const uint8_t  nnzc[15 *8] 
)

Definition at line 202 of file h264idct_template.c.

void FUNCC() ff_h264_idct_add8 ( uint8_t **  dest,
const int *  block_offset,
DCTELEM block,
int  stride,
const uint8_t  nnzc[15 *8] 
)

Definition at line 213 of file h264idct_template.c.

void FUNCC() ff_h264_idct_add8_422 ( uint8_t **  dest,
const int *  block_offset,
DCTELEM block,
int  stride,
const uint8_t  nnzc[15 *8] 
)

Definition at line 225 of file h264idct_template.c.

void FUNCC() ff_h264_luma_dc_dequant_idct ( DCTELEM p_output,
DCTELEM p_input,
int  qmul 
)

IDCT transforms the 16 dc values and dequantizes them.

Parameters
qmulquantization parameter

Definition at line 251 of file h264idct_template.c.

void FUNCC() ff_h264_chroma422_dc_dequant_idct ( DCTELEM _block,
int  qmul 
)

Definition at line 286 of file h264idct_template.c.

void FUNCC() ff_h264_chroma_dc_dequant_idct ( DCTELEM _block,
int  qmul 
)

Definition at line 313 of file h264idct_template.c.

Variable Documentation

const uint8_t scan8[16 *3]
static
Initial value:
={
4+ 1*8, 5+ 1*8, 4+ 2*8, 5+ 2*8,
6+ 1*8, 7+ 1*8, 6+ 2*8, 7+ 2*8,
4+ 3*8, 5+ 3*8, 4+ 4*8, 5+ 4*8,
6+ 3*8, 7+ 3*8, 6+ 4*8, 7+ 4*8,
4+ 6*8, 5+ 6*8, 4+ 7*8, 5+ 7*8,
6+ 6*8, 7+ 6*8, 6+ 7*8, 7+ 7*8,
4+ 8*8, 5+ 8*8, 4+ 9*8, 5+ 9*8,
6+ 8*8, 7+ 8*8, 6+ 9*8, 7+ 9*8,
4+11*8, 5+11*8, 4+12*8, 5+12*8,
6+11*8, 7+11*8, 6+12*8, 7+12*8,
4+13*8, 5+13*8, 4+14*8, 5+14*8,
6+13*8, 7+13*8, 6+14*8, 7+14*8
}

Definition at line 34 of file h264idct_template.c.

Referenced by ff_h264_idct8_add4(), ff_h264_idct_add16(), ff_h264_idct_add16intra(), ff_h264_idct_add8(), and ff_h264_idct_add8_422().