FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
H264DSPContext Struct Reference

Context for storing H.264 DSP functions. More...

#include <h264dsp.h>

Data Fields

h264_weight_func weight_h264_pixels_tab [4]
 
h264_biweight_func biweight_h264_pixels_tab [4]
 
void(* h264_v_loop_filter_luma )(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0)
 
void(* h264_h_loop_filter_luma )(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0)
 
void(* h264_h_loop_filter_luma_mbaff )(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0)
 
void(* h264_v_loop_filter_luma_intra )(uint8_t *pix, int stride, int alpha, int beta)
 
void(* h264_h_loop_filter_luma_intra )(uint8_t *pix, int stride, int alpha, int beta)
 
void(* h264_h_loop_filter_luma_mbaff_intra )(uint8_t *pix, int stride, int alpha, int beta)
 
void(* h264_v_loop_filter_chroma )(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0)
 
void(* h264_h_loop_filter_chroma )(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0)
 
void(* h264_h_loop_filter_chroma_mbaff )(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0)
 
void(* h264_v_loop_filter_chroma_intra )(uint8_t *pix, int stride, int alpha, int beta)
 
void(* h264_h_loop_filter_chroma_intra )(uint8_t *pix, int stride, int alpha, int beta)
 
void(* h264_h_loop_filter_chroma_mbaff_intra )(uint8_t *pix, int stride, int alpha, int beta)
 
void(* h264_loop_filter_strength )(int16_t bS[2][4][4], uint8_t nnz[40], int8_t ref[2][40], int16_t mv[2][40][2], int bidir, int edges, int step, int mask_mv0, int mask_mv1, int field)
 
void(* h264_idct_add )(uint8_t *dst, int16_t *block, int stride)
 
void(* h264_idct8_add )(uint8_t *dst, int16_t *block, int stride)
 
void(* h264_idct_dc_add )(uint8_t *dst, int16_t *block, int stride)
 
void(* h264_idct8_dc_add )(uint8_t *dst, int16_t *block, int stride)
 
void(* h264_idct_add16 )(uint8_t *dst, const int *blockoffset, int16_t *block, int stride, const uint8_t nnzc[15 *8])
 
void(* h264_idct8_add4 )(uint8_t *dst, const int *blockoffset, int16_t *block, int stride, const uint8_t nnzc[15 *8])
 
void(* h264_idct_add8 )(uint8_t **dst, const int *blockoffset, int16_t *block, int stride, const uint8_t nnzc[15 *8])
 
void(* h264_idct_add16intra )(uint8_t *dst, const int *blockoffset, int16_t *block, int stride, const uint8_t nnzc[15 *8])
 
void(* h264_luma_dc_dequant_idct )(int16_t *output, int16_t *input, int qmul)
 
void(* h264_chroma_dc_dequant_idct )(int16_t *block, int qmul)
 
void(* h264_add_pixels8_clear )(uint8_t *dst, int16_t *block, int stride)
 
void(* h264_add_pixels4_clear )(uint8_t *dst, int16_t *block, int stride)
 
int(* startcode_find_candidate )(const uint8_t *buf, int size)
 Search buf from the start for up to size bytes. More...
 

Detailed Description

Context for storing H.264 DSP functions.

Definition at line 41 of file h264dsp.h.

Field Documentation

h264_weight_func H264DSPContext::weight_h264_pixels_tab[4]

Definition at line 43 of file h264dsp.h.

Referenced by ff_h264dsp_init_aarch64(), ff_h264dsp_init_ppc(), and h264dsp_init_neon().

h264_biweight_func H264DSPContext::biweight_h264_pixels_tab[4]

Definition at line 44 of file h264dsp.h.

Referenced by ff_h264dsp_init_aarch64(), ff_h264dsp_init_ppc(), and h264dsp_init_neon().

void(* H264DSPContext::h264_v_loop_filter_luma)(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0)
void(* H264DSPContext::h264_h_loop_filter_luma)(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0)
void(* H264DSPContext::h264_h_loop_filter_luma_mbaff)(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0)

Definition at line 51 of file h264dsp.h.

Referenced by filter_mb_mbaff_edgev().

void(* H264DSPContext::h264_v_loop_filter_luma_intra)(uint8_t *pix, int stride, int alpha, int beta)

Definition at line 54 of file h264dsp.h.

Referenced by filter_mb_edgeh().

void(* H264DSPContext::h264_h_loop_filter_luma_intra)(uint8_t *pix, int stride, int alpha, int beta)

Definition at line 56 of file h264dsp.h.

Referenced by filter_mb_edgev().

void(* H264DSPContext::h264_h_loop_filter_luma_mbaff_intra)(uint8_t *pix, int stride, int alpha, int beta)

Definition at line 58 of file h264dsp.h.

Referenced by filter_mb_mbaff_edgev().

void(* H264DSPContext::h264_v_loop_filter_chroma)(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0)

Definition at line 60 of file h264dsp.h.

Referenced by ff_h264dsp_init_aarch64(), filter_mb_edgech(), and h264dsp_init_neon().

void(* H264DSPContext::h264_h_loop_filter_chroma)(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0)

Definition at line 62 of file h264dsp.h.

Referenced by ff_h264dsp_init_aarch64(), filter_mb_edgecv(), and h264dsp_init_neon().

void(* H264DSPContext::h264_h_loop_filter_chroma_mbaff)(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0)

Definition at line 64 of file h264dsp.h.

Referenced by filter_mb_mbaff_edgecv().

void(* H264DSPContext::h264_v_loop_filter_chroma_intra)(uint8_t *pix, int stride, int alpha, int beta)

Definition at line 67 of file h264dsp.h.

Referenced by filter_mb_edgech().

void(* H264DSPContext::h264_h_loop_filter_chroma_intra)(uint8_t *pix, int stride, int alpha, int beta)

Definition at line 69 of file h264dsp.h.

Referenced by filter_mb_edgecv().

void(* H264DSPContext::h264_h_loop_filter_chroma_mbaff_intra)(uint8_t *pix, int stride, int alpha, int beta)

Definition at line 71 of file h264dsp.h.

Referenced by filter_mb_mbaff_edgecv().

void(* H264DSPContext::h264_loop_filter_strength)(int16_t bS[2][4][4], uint8_t nnz[40], int8_t ref[2][40], int16_t mv[2][40][2], int bidir, int edges, int step, int mask_mv0, int mask_mv1, int field)

Definition at line 74 of file h264dsp.h.

Referenced by ff_h264_filter_mb_fast(), and h264_filter_mb_fast_internal().

void(* H264DSPContext::h264_idct_add)(uint8_t *dst, int16_t *block, int stride)
void(* H264DSPContext::h264_idct8_add)(uint8_t *dst, int16_t *block, int stride)
void(* H264DSPContext::h264_idct_dc_add)(uint8_t *dst, int16_t *block, int stride)
void(* H264DSPContext::h264_idct8_dc_add)(uint8_t *dst, int16_t *block, int stride)
void(* H264DSPContext::h264_idct_add16)(uint8_t *dst, const int *blockoffset, int16_t *block, int stride, const uint8_t nnzc[15 *8])
void(* H264DSPContext::h264_idct8_add4)(uint8_t *dst, const int *blockoffset, int16_t *block, int stride, const uint8_t nnzc[15 *8])
void(* H264DSPContext::h264_idct_add8)(uint8_t **dst, const int *blockoffset, int16_t *block, int stride, const uint8_t nnzc[15 *8])

Definition at line 95 of file h264dsp.h.

Referenced by ff_h264dsp_init_aarch64(), ff_h264dsp_init_ppc(), and h264dsp_init_neon().

void(* H264DSPContext::h264_idct_add16intra)(uint8_t *dst, const int *blockoffset, int16_t *block, int stride, const uint8_t nnzc[15 *8])
void(* H264DSPContext::h264_luma_dc_dequant_idct)(int16_t *output, int16_t *input, int qmul)

Definition at line 101 of file h264dsp.h.

Referenced by hl_decode_mb_predict_luma().

void(* H264DSPContext::h264_chroma_dc_dequant_idct)(int16_t *block, int qmul)

Definition at line 103 of file h264dsp.h.

Referenced by hl_decode_mb().

void(* H264DSPContext::h264_add_pixels8_clear)(uint8_t *dst, int16_t *block, int stride)

Definition at line 106 of file h264dsp.h.

Referenced by hl_decode_mb_idct_luma(), and hl_decode_mb_predict_luma().

void(* H264DSPContext::h264_add_pixels4_clear)(uint8_t *dst, int16_t *block, int stride)

Definition at line 107 of file h264dsp.h.

Referenced by hl_decode_mb_idct_luma(), and hl_decode_mb_predict_luma().

int(* H264DSPContext::startcode_find_candidate)(const uint8_t *buf, int size)

Search buf from the start for up to size bytes.

Return the index of a zero byte, or >= size if not found. Ideally, use lookahead to filter out any zero bytes that are known to not be followed by one or more further zero bytes and a one byte. Better still, filter out any bytes that form the trailing_zero_8bits syntax element too.

Definition at line 116 of file h264dsp.h.

Referenced by ff_h264dsp_init(), ff_h264dsp_init_arm(), and h264_find_frame_end().


The documentation for this struct was generated from the following file: