FFmpeg
Functions
hevc_lpf_sao_lsx.c File Reference
#include "libavutil/loongarch/loongson_intrinsics.h"
#include "hevcdsp_lsx.h"

Go to the source code of this file.

Functions

void ff_hevc_loop_filter_luma_h_8_lsx (uint8_t *src, ptrdiff_t stride, int32_t beta, const int32_t *tc, const uint8_t *p_is_pcm, const uint8_t *q_is_pcm)
 
void ff_hevc_loop_filter_luma_v_8_lsx (uint8_t *src, ptrdiff_t stride, int32_t beta, const int32_t *tc, const uint8_t *p_is_pcm, const uint8_t *q_is_pcm)
 
void ff_hevc_loop_filter_chroma_h_8_lsx (uint8_t *src, ptrdiff_t stride, const int32_t *tc, const uint8_t *p_is_pcm, const uint8_t *q_is_pcm)
 
void ff_hevc_loop_filter_chroma_v_8_lsx (uint8_t *src, ptrdiff_t stride, const int32_t *tc, const uint8_t *p_is_pcm, const uint8_t *q_is_pcm)
 
static void hevc_sao_edge_filter_0degree_4width_lsx (uint8_t *dst, int32_t dst_stride, const uint8_t *src, int32_t src_stride, const int16_t *sao_offset_val, int32_t height)
 
static void hevc_sao_edge_filter_0degree_8width_lsx (uint8_t *dst, int32_t dst_stride, const uint8_t *src, int32_t src_stride, const int16_t *sao_offset_val, int32_t height)
 
static void hevc_sao_edge_filter_0degree_16multiple_lsx (uint8_t *dst, int32_t dst_stride, const uint8_t *src, int32_t src_stride, const int16_t *sao_offset_val, int32_t width, int32_t height)
 
static void hevc_sao_edge_filter_90degree_4width_lsx (uint8_t *dst, int32_t dst_stride, const uint8_t *src, int32_t src_stride, const int16_t *sao_offset_val, int32_t height)
 
static void hevc_sao_edge_filter_90degree_8width_lsx (uint8_t *dst, int32_t dst_stride, const uint8_t *src, int32_t src_stride, const int16_t *sao_offset_val, int32_t height)
 
static void hevc_sao_edge_filter_90degree_16multiple_lsx (uint8_t *dst, int32_t dst_stride, const uint8_t *src, int32_t src_stride, const int16_t *sao_offset_val, int32_t width, int32_t height)
 
static void hevc_sao_edge_filter_45degree_4width_lsx (uint8_t *dst, int32_t dst_stride, const uint8_t *src, int32_t src_stride, const int16_t *sao_offset_val, int32_t height)
 
static void hevc_sao_edge_filter_45degree_8width_lsx (uint8_t *dst, int32_t dst_stride, const uint8_t *src, int32_t src_stride, const int16_t *sao_offset_val, int32_t height)
 
static void hevc_sao_edge_filter_45degree_16multiple_lsx (uint8_t *dst, int32_t dst_stride, const uint8_t *src, int32_t src_stride, const int16_t *sao_offset_val, int32_t width, int32_t height)
 
static void hevc_sao_edge_filter_135degree_4width_lsx (uint8_t *dst, int32_t dst_stride, const uint8_t *src, int32_t src_stride, const int16_t *sao_offset_val, int32_t height)
 
static void hevc_sao_edge_filter_135degree_8width_lsx (uint8_t *dst, int32_t dst_stride, const uint8_t *src, int32_t src_stride, const int16_t *sao_offset_val, int32_t height)
 
static void hevc_sao_edge_filter_135degree_16multiple_lsx (uint8_t *dst, int32_t dst_stride, const uint8_t *src, int32_t src_stride, const int16_t *sao_offset_val, int32_t width, int32_t height)
 
void ff_hevc_sao_edge_filter_8_lsx (uint8_t *dst, const uint8_t *src, ptrdiff_t stride_dst, const int16_t *sao_offset_val, int eo, int width, int height)
 

Function Documentation

◆ ff_hevc_loop_filter_luma_h_8_lsx()

void ff_hevc_loop_filter_luma_h_8_lsx ( uint8_t *  src,
ptrdiff_t  stride,
int32_t  beta,
const int32_t tc,
const uint8_t *  p_is_pcm,
const uint8_t *  q_is_pcm 
)

Definition at line 26 of file hevc_lpf_sao_lsx.c.

Referenced by ff_hevc_dsp_init_loongarch().

◆ ff_hevc_loop_filter_luma_v_8_lsx()

void ff_hevc_loop_filter_luma_v_8_lsx ( uint8_t *  src,
ptrdiff_t  stride,
int32_t  beta,
const int32_t tc,
const uint8_t *  p_is_pcm,
const uint8_t *  q_is_pcm 
)

Definition at line 438 of file hevc_lpf_sao_lsx.c.

Referenced by ff_hevc_dsp_init_loongarch().

◆ ff_hevc_loop_filter_chroma_h_8_lsx()

void ff_hevc_loop_filter_chroma_h_8_lsx ( uint8_t *  src,
ptrdiff_t  stride,
const int32_t tc,
const uint8_t *  p_is_pcm,
const uint8_t *  q_is_pcm 
)

Definition at line 863 of file hevc_lpf_sao_lsx.c.

Referenced by ff_hevc_dsp_init_loongarch().

◆ ff_hevc_loop_filter_chroma_v_8_lsx()

void ff_hevc_loop_filter_chroma_v_8_lsx ( uint8_t *  src,
ptrdiff_t  stride,
const int32_t tc,
const uint8_t *  p_is_pcm,
const uint8_t *  q_is_pcm 
)

Definition at line 917 of file hevc_lpf_sao_lsx.c.

Referenced by ff_hevc_dsp_init_loongarch().

◆ hevc_sao_edge_filter_0degree_4width_lsx()

static void hevc_sao_edge_filter_0degree_4width_lsx ( uint8_t *  dst,
int32_t  dst_stride,
const uint8_t *  src,
int32_t  src_stride,
const int16_t *  sao_offset_val,
int32_t  height 
)
static

Definition at line 988 of file hevc_lpf_sao_lsx.c.

Referenced by ff_hevc_sao_edge_filter_8_lsx().

◆ hevc_sao_edge_filter_0degree_8width_lsx()

static void hevc_sao_edge_filter_0degree_8width_lsx ( uint8_t *  dst,
int32_t  dst_stride,
const uint8_t *  src,
int32_t  src_stride,
const int16_t *  sao_offset_val,
int32_t  height 
)
static

Definition at line 1073 of file hevc_lpf_sao_lsx.c.

Referenced by ff_hevc_sao_edge_filter_8_lsx().

◆ hevc_sao_edge_filter_0degree_16multiple_lsx()

static void hevc_sao_edge_filter_0degree_16multiple_lsx ( uint8_t *  dst,
int32_t  dst_stride,
const uint8_t *  src,
int32_t  src_stride,
const int16_t *  sao_offset_val,
int32_t  width,
int32_t  height 
)
static

Definition at line 1166 of file hevc_lpf_sao_lsx.c.

Referenced by ff_hevc_sao_edge_filter_8_lsx().

◆ hevc_sao_edge_filter_90degree_4width_lsx()

static void hevc_sao_edge_filter_90degree_4width_lsx ( uint8_t *  dst,
int32_t  dst_stride,
const uint8_t *  src,
int32_t  src_stride,
const int16_t *  sao_offset_val,
int32_t  height 
)
static

Definition at line 1305 of file hevc_lpf_sao_lsx.c.

Referenced by ff_hevc_sao_edge_filter_8_lsx().

◆ hevc_sao_edge_filter_90degree_8width_lsx()

static void hevc_sao_edge_filter_90degree_8width_lsx ( uint8_t *  dst,
int32_t  dst_stride,
const uint8_t *  src,
int32_t  src_stride,
const int16_t *  sao_offset_val,
int32_t  height 
)
static

Definition at line 1400 of file hevc_lpf_sao_lsx.c.

Referenced by ff_hevc_sao_edge_filter_8_lsx().

◆ hevc_sao_edge_filter_90degree_16multiple_lsx()

static void hevc_sao_edge_filter_90degree_16multiple_lsx ( uint8_t *  dst,
int32_t  dst_stride,
const uint8_t *  src,
int32_t  src_stride,
const int16_t *  sao_offset_val,
int32_t  width,
int32_t  height 
)
static

Definition at line 1493 of file hevc_lpf_sao_lsx.c.

Referenced by ff_hevc_sao_edge_filter_8_lsx().

◆ hevc_sao_edge_filter_45degree_4width_lsx()

static void hevc_sao_edge_filter_45degree_4width_lsx ( uint8_t *  dst,
int32_t  dst_stride,
const uint8_t *  src,
int32_t  src_stride,
const int16_t *  sao_offset_val,
int32_t  height 
)
static

Definition at line 1612 of file hevc_lpf_sao_lsx.c.

Referenced by ff_hevc_sao_edge_filter_8_lsx().

◆ hevc_sao_edge_filter_45degree_8width_lsx()

static void hevc_sao_edge_filter_45degree_8width_lsx ( uint8_t *  dst,
int32_t  dst_stride,
const uint8_t *  src,
int32_t  src_stride,
const int16_t *  sao_offset_val,
int32_t  height 
)
static

Definition at line 1725 of file hevc_lpf_sao_lsx.c.

Referenced by ff_hevc_sao_edge_filter_8_lsx().

◆ hevc_sao_edge_filter_45degree_16multiple_lsx()

static void hevc_sao_edge_filter_45degree_16multiple_lsx ( uint8_t *  dst,
int32_t  dst_stride,
const uint8_t *  src,
int32_t  src_stride,
const int16_t *  sao_offset_val,
int32_t  width,
int32_t  height 
)
static

Definition at line 1844 of file hevc_lpf_sao_lsx.c.

Referenced by ff_hevc_sao_edge_filter_8_lsx().

◆ hevc_sao_edge_filter_135degree_4width_lsx()

static void hevc_sao_edge_filter_135degree_4width_lsx ( uint8_t *  dst,
int32_t  dst_stride,
const uint8_t *  src,
int32_t  src_stride,
const int16_t *  sao_offset_val,
int32_t  height 
)
static

Definition at line 1992 of file hevc_lpf_sao_lsx.c.

Referenced by ff_hevc_sao_edge_filter_8_lsx().

◆ hevc_sao_edge_filter_135degree_8width_lsx()

static void hevc_sao_edge_filter_135degree_8width_lsx ( uint8_t *  dst,
int32_t  dst_stride,
const uint8_t *  src,
int32_t  src_stride,
const int16_t *  sao_offset_val,
int32_t  height 
)
static

Definition at line 2107 of file hevc_lpf_sao_lsx.c.

Referenced by ff_hevc_sao_edge_filter_8_lsx().

◆ hevc_sao_edge_filter_135degree_16multiple_lsx()

static void hevc_sao_edge_filter_135degree_16multiple_lsx ( uint8_t *  dst,
int32_t  dst_stride,
const uint8_t *  src,
int32_t  src_stride,
const int16_t *  sao_offset_val,
int32_t  width,
int32_t  height 
)
static

Definition at line 2221 of file hevc_lpf_sao_lsx.c.

Referenced by ff_hevc_sao_edge_filter_8_lsx().

◆ ff_hevc_sao_edge_filter_8_lsx()

void ff_hevc_sao_edge_filter_8_lsx ( uint8_t *  dst,
const uint8_t *  src,
ptrdiff_t  stride_dst,
const int16_t *  sao_offset_val,
int  eo,
int  width,
int  height 
)

Definition at line 2367 of file hevc_lpf_sao_lsx.c.

Referenced by ff_hevc_dsp_init_loongarch().