FFmpeg
Macros | Functions | Variables
h264dsp_init.c File Reference
#include "config.h"
#include <stdint.h>
#include <string.h>
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/riscv/cpu.h"
#include "libavcodec/h264dsp.h"

Go to the source code of this file.

Macros

#define IDCT_DEPTH(depth)
 

Functions

void ff_h264_v_loop_filter_luma_8_rvv (uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int8_t *tc0)
 
void ff_h264_h_loop_filter_luma_8_rvv (uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int8_t *tc0)
 
void ff_h264_h_loop_filter_luma_mbaff_8_rvv (uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int8_t *tc0)
 
void ff_h264_v_loop_filter_chroma_8_rvv (uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int8_t *tc0)
 
void ff_h264_h_loop_filter_chroma_8_rvv (uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int8_t *tc0)
 
void ff_h264_h_loop_filter_chroma_mbaff_8_rvv (uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int8_t *tc0)
 
void ff_h264_add_pixels8_8_rvv (uint8_t *dst, int16_t *block, int stride)
 
void ff_h264_add_pixels4_8_rvv (uint8_t *dst, int16_t *block, int stride)
 
void ff_h264_add_pixels8_16_rvv (uint8_t *dst, int16_t *block, int stride)
 
void ff_h264_add_pixels4_16_rvv (uint8_t *dst, int16_t *block, int stride)
 
int ff_startcode_find_candidate_rvb (const uint8_t *, int)
 
int ff_startcode_find_candidate_rvv (const uint8_t *, int)
 
av_cold void ff_h264dsp_init_riscv (H264DSPContext *dsp, const int bit_depth, const int chroma_format_idc)
 

Variables

struct {
   const h264_weight_func   weight
 
   const h264_biweight_func   biweight
 
ff_h264_weight_funcs_8_rvv []
 

Macro Definition Documentation

◆ IDCT_DEPTH

#define IDCT_DEPTH (   depth)
Value:
void ff_h264_idct_add_##depth##_rvv(uint8_t *d, int16_t *s, int stride); \
void ff_h264_idct8_add_##depth##_rvv(uint8_t *d, int16_t *s, int stride); \
void ff_h264_idct4_dc_add_##depth##_rvv(uint8_t *, int16_t *, int); \
void ff_h264_idct8_dc_add_##depth##_rvv(uint8_t *, int16_t *, int); \
void ff_h264_idct_add16_##depth##_rvv(uint8_t *d, const int *soffset, \
int16_t *s, int stride, \
const uint8_t nnzc[5 * 8]); \
void ff_h264_idct_add16intra_##depth##_rvv(uint8_t *d, const int *soffset, \
int16_t *s, int stride, \
const uint8_t nnzc[5 * 8]); \
void ff_h264_idct8_add4_##depth##_rvv(uint8_t *d, const int *soffset, \
int16_t *s, int stride, \
const uint8_t nnzc[5 * 8]); \
void ff_h264_idct4_add8_##depth##_rvv(uint8_t **d, const int *soffset, \
int16_t *s, int stride, \
const uint8_t nnzc[5 * 8]); \
void ff_h264_idct4_add8_422_##depth##_rvv(uint8_t **d, const int *soffset, \
int16_t *s, int stride, \
const uint8_t nnzc[5 * 8]);

Definition at line 51 of file h264dsp_init.c.

Function Documentation

◆ ff_h264_v_loop_filter_luma_8_rvv()

void ff_h264_v_loop_filter_luma_8_rvv ( uint8_t *  pix,
ptrdiff_t  stride,
int  alpha,
int  beta,
int8_t *  tc0 
)

Referenced by ff_h264dsp_init_riscv().

◆ ff_h264_h_loop_filter_luma_8_rvv()

void ff_h264_h_loop_filter_luma_8_rvv ( uint8_t *  pix,
ptrdiff_t  stride,
int  alpha,
int  beta,
int8_t *  tc0 
)

Referenced by ff_h264dsp_init_riscv().

◆ ff_h264_h_loop_filter_luma_mbaff_8_rvv()

void ff_h264_h_loop_filter_luma_mbaff_8_rvv ( uint8_t *  pix,
ptrdiff_t  stride,
int  alpha,
int  beta,
int8_t *  tc0 
)

Referenced by ff_h264dsp_init_riscv().

◆ ff_h264_v_loop_filter_chroma_8_rvv()

void ff_h264_v_loop_filter_chroma_8_rvv ( uint8_t *  pix,
ptrdiff_t  stride,
int  alpha,
int  beta,
int8_t *  tc0 
)

Referenced by ff_h264dsp_init_riscv().

◆ ff_h264_h_loop_filter_chroma_8_rvv()

void ff_h264_h_loop_filter_chroma_8_rvv ( uint8_t *  pix,
ptrdiff_t  stride,
int  alpha,
int  beta,
int8_t *  tc0 
)

Referenced by ff_h264dsp_init_riscv().

◆ ff_h264_h_loop_filter_chroma_mbaff_8_rvv()

void ff_h264_h_loop_filter_chroma_mbaff_8_rvv ( uint8_t *  pix,
ptrdiff_t  stride,
int  alpha,
int  beta,
int8_t *  tc0 
)

Referenced by ff_h264dsp_init_riscv().

◆ ff_h264_add_pixels8_8_rvv()

void ff_h264_add_pixels8_8_rvv ( uint8_t *  dst,
int16_t *  block,
int  stride 
)

Referenced by ff_h264dsp_init_riscv().

◆ ff_h264_add_pixels4_8_rvv()

void ff_h264_add_pixels4_8_rvv ( uint8_t *  dst,
int16_t *  block,
int  stride 
)

Referenced by ff_h264dsp_init_riscv().

◆ ff_h264_add_pixels8_16_rvv()

void ff_h264_add_pixels8_16_rvv ( uint8_t *  dst,
int16_t *  block,
int  stride 
)

Referenced by ff_h264dsp_init_riscv().

◆ ff_h264_add_pixels4_16_rvv()

void ff_h264_add_pixels4_16_rvv ( uint8_t *  dst,
int16_t *  block,
int  stride 
)

Referenced by ff_h264dsp_init_riscv().

◆ ff_startcode_find_candidate_rvb()

int ff_startcode_find_candidate_rvb ( const uint8_t *  ,
int   
)

Referenced by ff_h264dsp_init_riscv().

◆ ff_startcode_find_candidate_rvv()

int ff_startcode_find_candidate_rvv ( const uint8_t *  ,
int   
)

Referenced by ff_h264dsp_init_riscv().

◆ ff_h264dsp_init_riscv()

av_cold void ff_h264dsp_init_riscv ( H264DSPContext dsp,
const int  bit_depth,
const int  chroma_format_idc 
)

Definition at line 87 of file h264dsp_init.c.

Referenced by ff_h264dsp_init().

Variable Documentation

◆ weight

const h264_weight_func weight

Definition at line 33 of file h264dsp_init.c.

Referenced by apply_delogo(), aptx_process_subband(), cas_slice16(), cas_slice8(), celt_gauge_psy_weight(), check_decorrelate_stereo(), compute_contrast_function(), compute_weights_line_c(), dct_quantize_refine(), dv_set_class_number_hd(), dv_set_class_number_sd(), encode_mb_internal(), ff_h264_biweight_pixels4_8_mmi(), ff_h264_weight_pixels16_8_mmi(), ff_h264_weight_pixels4_8_mmi(), ff_h264_weight_pixels8_8_mmi(), ff_lpc_calc_coefs(), ff_lpc_calc_ref_coefs_f(), find_form_factor(), get_palette_frame(), get_visual_weight(), guess_dc(), hevc_biwgt_copy_12w_msa(), hevc_biwgt_copy_16w_msa(), hevc_biwgt_copy_24w_msa(), hevc_biwgt_copy_32w_msa(), hevc_biwgt_copy_48w_msa(), hevc_biwgt_copy_4w_msa(), hevc_biwgt_copy_64w_msa(), hevc_biwgt_copy_6w_msa(), hevc_biwgt_copy_8w_msa(), hevc_hv_8t_16w_lsx(), hevc_hv_8t_24w_lsx(), hevc_hv_8t_32w_lsx(), hevc_hv_8t_48w_lsx(), hevc_hv_8t_64w_lsx(), hevc_hv_8t_8w_lsx(), hevc_hv_8t_8x2_lsx(), hevc_hv_biwgt_4t_12w_msa(), hevc_hv_biwgt_4t_4multx8mult_msa(), hevc_hv_biwgt_4t_4x2_msa(), hevc_hv_biwgt_4t_4x4_msa(), hevc_hv_biwgt_4t_6w_msa(), hevc_hv_biwgt_4t_8multx4_msa(), hevc_hv_biwgt_4t_8multx4mult_msa(), hevc_hv_biwgt_4t_8x2_msa(), hevc_hv_biwgt_4t_8x6_msa(), hevc_hv_biwgt_8t_12w_msa(), hevc_hv_biwgt_8t_4w_msa(), hevc_hv_biwgt_8t_8multx2mult_msa(), hevc_hv_uniwgt_4t_12w_msa(), hevc_hv_uniwgt_4t_16w_msa(), hevc_hv_uniwgt_4t_24w_msa(), hevc_hv_uniwgt_4t_32w_msa(), hevc_hv_uniwgt_4t_4multx8mult_msa(), hevc_hv_uniwgt_4t_4w_msa(), hevc_hv_uniwgt_4t_4x2_msa(), hevc_hv_uniwgt_4t_4x4_msa(), hevc_hv_uniwgt_4t_6w_msa(), hevc_hv_uniwgt_4t_8multx4_msa(), hevc_hv_uniwgt_4t_8multx4mult_msa(), hevc_hv_uniwgt_4t_8w_msa(), hevc_hv_uniwgt_4t_8x2_msa(), hevc_hv_uniwgt_4t_8x6_msa(), hevc_hv_uniwgt_8t_12w_msa(), hevc_hv_uniwgt_8t_16w_msa(), hevc_hv_uniwgt_8t_24w_msa(), hevc_hv_uniwgt_8t_32w_msa(), hevc_hv_uniwgt_8t_48w_msa(), hevc_hv_uniwgt_8t_4w_msa(), hevc_hv_uniwgt_8t_64w_msa(), hevc_hv_uniwgt_8t_8multx2mult_msa(), hevc_hv_uniwgt_8t_8w_msa(), hevc_hz_biwgt_4t_12w_msa(), hevc_hz_biwgt_4t_16w_msa(), hevc_hz_biwgt_4t_24w_msa(), hevc_hz_biwgt_4t_32w_msa(), hevc_hz_biwgt_4t_4x2_msa(), hevc_hz_biwgt_4t_4x4_msa(), hevc_hz_biwgt_4t_4x8multiple_msa(), hevc_hz_biwgt_4t_6w_msa(), hevc_hz_biwgt_4t_8x2_msa(), hevc_hz_biwgt_4t_8x4multiple_msa(), hevc_hz_biwgt_4t_8x6_msa(), hevc_hz_biwgt_8t_12w_msa(), hevc_hz_biwgt_8t_16w_msa(), hevc_hz_biwgt_8t_24w_msa(), hevc_hz_biwgt_8t_32w_msa(), hevc_hz_biwgt_8t_48w_msa(), hevc_hz_biwgt_8t_4w_msa(), hevc_hz_biwgt_8t_64w_msa(), hevc_hz_biwgt_8t_8w_msa(), hevc_hz_uniwgt_4t_12w_msa(), hevc_hz_uniwgt_4t_16w_msa(), hevc_hz_uniwgt_4t_24w_msa(), hevc_hz_uniwgt_4t_32w_msa(), hevc_hz_uniwgt_4t_4w_msa(), hevc_hz_uniwgt_4t_4x2_msa(), hevc_hz_uniwgt_4t_4x4_msa(), hevc_hz_uniwgt_4t_4x8multiple_msa(), hevc_hz_uniwgt_4t_6w_msa(), hevc_hz_uniwgt_4t_8w_msa(), hevc_hz_uniwgt_4t_8x2_msa(), hevc_hz_uniwgt_4t_8x4_msa(), hevc_hz_uniwgt_4t_8x6_msa(), hevc_hz_uniwgt_4t_8x8multiple_msa(), hevc_hz_uniwgt_8t_12w_msa(), hevc_hz_uniwgt_8t_16w_msa(), hevc_hz_uniwgt_8t_24w_msa(), hevc_hz_uniwgt_8t_32w_msa(), hevc_hz_uniwgt_8t_48w_msa(), hevc_hz_uniwgt_8t_4w_msa(), hevc_hz_uniwgt_8t_64w_msa(), hevc_hz_uniwgt_8t_8w_msa(), hevc_uniwgt_copy_12w_msa(), hevc_uniwgt_copy_16w_msa(), hevc_uniwgt_copy_24w_msa(), hevc_uniwgt_copy_32w_msa(), hevc_uniwgt_copy_48w_msa(), hevc_uniwgt_copy_4w_msa(), hevc_uniwgt_copy_64w_msa(), hevc_uniwgt_copy_6w_msa(), hevc_uniwgt_copy_8w_msa(), hevc_vt_biwgt_4t_12w_msa(), hevc_vt_biwgt_4t_16w_msa(), hevc_vt_biwgt_4t_24w_msa(), hevc_vt_biwgt_4t_32w_msa(), hevc_vt_biwgt_4t_4x2_msa(), hevc_vt_biwgt_4t_4x4_msa(), hevc_vt_biwgt_4t_4x8multiple_msa(), hevc_vt_biwgt_4t_6w_msa(), hevc_vt_biwgt_4t_8x2_msa(), hevc_vt_biwgt_4t_8x4multiple_msa(), hevc_vt_biwgt_4t_8x6_msa(), hevc_vt_biwgt_8t_12w_msa(), hevc_vt_biwgt_8t_16multx2mult_msa(), hevc_vt_biwgt_8t_4w_msa(), hevc_vt_biwgt_8t_8w_msa(), hevc_vt_uniwgt_4t_12w_msa(), hevc_vt_uniwgt_4t_16w_msa(), hevc_vt_uniwgt_4t_24w_msa(), hevc_vt_uniwgt_4t_32w_msa(), hevc_vt_uniwgt_4t_4w_msa(), hevc_vt_uniwgt_4t_4x2_msa(), hevc_vt_uniwgt_4t_4x4_msa(), hevc_vt_uniwgt_4t_4x8multiple_msa(), hevc_vt_uniwgt_4t_6w_msa(), hevc_vt_uniwgt_4t_8w_msa(), hevc_vt_uniwgt_4t_8x2_msa(), hevc_vt_uniwgt_4t_8x4_msa(), hevc_vt_uniwgt_4t_8x6_msa(), hevc_vt_uniwgt_4t_8x8mult_msa(), hevc_vt_uniwgt_8t_12w_msa(), hevc_vt_uniwgt_8t_16multx4mult_msa(), hevc_vt_uniwgt_8t_16w_msa(), hevc_vt_uniwgt_8t_24w_msa(), hevc_vt_uniwgt_8t_32w_msa(), hevc_vt_uniwgt_8t_48w_msa(), hevc_vt_uniwgt_8t_4w_msa(), hevc_vt_uniwgt_8t_64w_msa(), hevc_vt_uniwgt_8t_8w_msa(), interpolate_lpc(), lsp_quantize(), mc_block(), multiply_data(), pred_hor_angle(), pred_ver_angle(), restore_weight(), silk_decode_lpc(), ssim360_db(), ssim360_endn_16bit(), ssim360_endn_8bit(), ssim360_tape(), ssim_db(), store_weight(), try_8x8basis_c(), and try_8x8basis_TMPL().

◆ biweight

const h264_biweight_func biweight

Definition at line 34 of file h264dsp_init.c.

◆ ff_h264_weight_funcs_8_rvv

const { ... } ff_h264_weight_funcs_8_rvv[]

Referenced by ff_h264dsp_init_riscv().

s
#define s(width, name)
Definition: cbs_vp9.c:198
stride
#define stride
Definition: h264pred_template.c:537