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

Go to the source code of this file.

Functions

static av_always_inline void put_pixels8_l2_8_lsx (uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2, int h)
 
static av_always_inline void put_pixels16_l2_8_lsx (uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2, int h)
 
void ff_put_pixels8_8_lasx (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_put_pixels16_8_lsx (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_put_pixels8_x2_8_lasx (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_put_pixels8_y2_8_lasx (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_put_pixels16_x2_8_lasx (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_put_pixels16_y2_8_lasx (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
static void common_hz_bil_no_rnd_16x16_lasx (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
static void common_hz_bil_no_rnd_8x16_lasx (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
void ff_put_no_rnd_pixels16_x2_8_lasx (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
static void common_vt_bil_no_rnd_16x16_lasx (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
static void common_vt_bil_no_rnd_8x16_lasx (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
void ff_put_no_rnd_pixels16_y2_8_lasx (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
static void common_hv_bil_no_rnd_16x16_lasx (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
static void common_hv_bil_no_rnd_8x16_lasx (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
void ff_put_no_rnd_pixels16_xy2_8_lasx (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
static void common_hz_bil_no_rnd_8x8_lasx (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
static void common_hz_bil_no_rnd_4x8_lasx (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
void ff_put_no_rnd_pixels8_x2_8_lasx (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
static void common_vt_bil_no_rnd_8x8_lasx (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
static void common_vt_bil_no_rnd_4x8_lasx (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
void ff_put_no_rnd_pixels8_y2_8_lasx (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
static void common_hv_bil_no_rnd_8x8_lasx (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
static void common_hv_bil_no_rnd_4x8_lasx (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
void ff_put_no_rnd_pixels8_xy2_8_lasx (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
static void common_hv_bil_16w_lasx (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, uint8_t height)
 
void ff_put_pixels16_xy2_8_lasx (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
static void common_hv_bil_8w_lasx (const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, uint8_t height)
 
void ff_put_pixels8_xy2_8_lasx (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 

Function Documentation

◆ put_pixels8_l2_8_lsx()

static av_always_inline void put_pixels8_l2_8_lsx ( uint8_t *  dst,
const uint8_t *  src1,
const uint8_t *  src2,
int  dst_stride,
int  src_stride1,
int  src_stride2,
int  h 
)
static

Definition at line 26 of file hpeldsp_lasx.c.

Referenced by ff_put_pixels8_x2_8_lasx(), and ff_put_pixels8_y2_8_lasx().

◆ put_pixels16_l2_8_lsx()

static av_always_inline void put_pixels16_l2_8_lsx ( uint8_t *  dst,
const uint8_t *  src1,
const uint8_t *  src2,
int  dst_stride,
int  src_stride1,
int  src_stride2,
int  h 
)
static

Definition at line 79 of file hpeldsp_lasx.c.

Referenced by ff_put_pixels16_x2_8_lasx(), and ff_put_pixels16_y2_8_lasx().

◆ ff_put_pixels8_8_lasx()

void ff_put_pixels8_8_lasx ( uint8_t *  block,
const uint8_t *  pixels,
ptrdiff_t  line_size,
int  h 
)

Definition at line 133 of file hpeldsp_lasx.c.

Referenced by ff_hpeldsp_init_loongarch().

◆ ff_put_pixels16_8_lsx()

void ff_put_pixels16_8_lsx ( uint8_t *  block,
const uint8_t *  pixels,
ptrdiff_t  line_size,
int  h 
)

Definition at line 195 of file hpeldsp_lasx.c.

Referenced by ff_hpeldsp_init_loongarch().

◆ ff_put_pixels8_x2_8_lasx()

void ff_put_pixels8_x2_8_lasx ( uint8_t *  block,
const uint8_t *  pixels,
ptrdiff_t  line_size,
int  h 
)

Definition at line 252 of file hpeldsp_lasx.c.

Referenced by ff_hpeldsp_init_loongarch().

◆ ff_put_pixels8_y2_8_lasx()

void ff_put_pixels8_y2_8_lasx ( uint8_t *  block,
const uint8_t *  pixels,
ptrdiff_t  line_size,
int  h 
)

Definition at line 259 of file hpeldsp_lasx.c.

Referenced by ff_hpeldsp_init_loongarch().

◆ ff_put_pixels16_x2_8_lasx()

void ff_put_pixels16_x2_8_lasx ( uint8_t *  block,
const uint8_t *  pixels,
ptrdiff_t  line_size,
int  h 
)

Definition at line 266 of file hpeldsp_lasx.c.

Referenced by ff_hpeldsp_init_loongarch().

◆ ff_put_pixels16_y2_8_lasx()

void ff_put_pixels16_y2_8_lasx ( uint8_t *  block,
const uint8_t *  pixels,
ptrdiff_t  line_size,
int  h 
)

Definition at line 273 of file hpeldsp_lasx.c.

Referenced by ff_hpeldsp_init_loongarch().

◆ common_hz_bil_no_rnd_16x16_lasx()

static void common_hz_bil_no_rnd_16x16_lasx ( const uint8_t *  src,
int32_t  src_stride,
uint8_t *  dst,
int32_t  dst_stride 
)
static

Definition at line 280 of file hpeldsp_lasx.c.

Referenced by ff_put_no_rnd_pixels16_x2_8_lasx().

◆ common_hz_bil_no_rnd_8x16_lasx()

static void common_hz_bil_no_rnd_8x16_lasx ( const uint8_t *  src,
int32_t  src_stride,
uint8_t *  dst,
int32_t  dst_stride 
)
static

Definition at line 389 of file hpeldsp_lasx.c.

Referenced by ff_put_no_rnd_pixels16_x2_8_lasx().

◆ ff_put_no_rnd_pixels16_x2_8_lasx()

void ff_put_no_rnd_pixels16_x2_8_lasx ( uint8_t *  block,
const uint8_t *  pixels,
ptrdiff_t  line_size,
int  h 
)

Definition at line 448 of file hpeldsp_lasx.c.

Referenced by ff_hpeldsp_init_loongarch().

◆ common_vt_bil_no_rnd_16x16_lasx()

static void common_vt_bil_no_rnd_16x16_lasx ( const uint8_t *  src,
int32_t  src_stride,
uint8_t *  dst,
int32_t  dst_stride 
)
static

Definition at line 458 of file hpeldsp_lasx.c.

Referenced by ff_put_no_rnd_pixels16_y2_8_lasx().

◆ common_vt_bil_no_rnd_8x16_lasx()

static void common_vt_bil_no_rnd_8x16_lasx ( const uint8_t *  src,
int32_t  src_stride,
uint8_t *  dst,
int32_t  dst_stride 
)
static

Definition at line 550 of file hpeldsp_lasx.c.

Referenced by ff_put_no_rnd_pixels16_y2_8_lasx().

◆ ff_put_no_rnd_pixels16_y2_8_lasx()

void ff_put_no_rnd_pixels16_y2_8_lasx ( uint8_t *  block,
const uint8_t *  pixels,
ptrdiff_t  line_size,
int  h 
)

Definition at line 602 of file hpeldsp_lasx.c.

Referenced by ff_hpeldsp_init_loongarch().

◆ common_hv_bil_no_rnd_16x16_lasx()

static void common_hv_bil_no_rnd_16x16_lasx ( const uint8_t *  src,
int32_t  src_stride,
uint8_t *  dst,
int32_t  dst_stride 
)
static

Definition at line 612 of file hpeldsp_lasx.c.

Referenced by ff_put_no_rnd_pixels16_xy2_8_lasx().

◆ common_hv_bil_no_rnd_8x16_lasx()

static void common_hv_bil_no_rnd_8x16_lasx ( const uint8_t *  src,
int32_t  src_stride,
uint8_t *  dst,
int32_t  dst_stride 
)
static

Definition at line 772 of file hpeldsp_lasx.c.

Referenced by ff_put_no_rnd_pixels16_xy2_8_lasx().

◆ ff_put_no_rnd_pixels16_xy2_8_lasx()

void ff_put_no_rnd_pixels16_xy2_8_lasx ( uint8_t *  block,
const uint8_t *  pixels,
ptrdiff_t  line_size,
int  h 
)

Definition at line 858 of file hpeldsp_lasx.c.

Referenced by ff_hpeldsp_init_loongarch().

◆ common_hz_bil_no_rnd_8x8_lasx()

static void common_hz_bil_no_rnd_8x8_lasx ( const uint8_t *  src,
int32_t  src_stride,
uint8_t *  dst,
int32_t  dst_stride 
)
static

Definition at line 869 of file hpeldsp_lasx.c.

Referenced by ff_put_no_rnd_pixels8_x2_8_lasx().

◆ common_hz_bil_no_rnd_4x8_lasx()

static void common_hz_bil_no_rnd_4x8_lasx ( const uint8_t *  src,
int32_t  src_stride,
uint8_t *  dst,
int32_t  dst_stride 
)
static

Definition at line 919 of file hpeldsp_lasx.c.

Referenced by ff_put_no_rnd_pixels8_x2_8_lasx().

◆ ff_put_no_rnd_pixels8_x2_8_lasx()

void ff_put_no_rnd_pixels8_x2_8_lasx ( uint8_t *  block,
const uint8_t *  pixels,
ptrdiff_t  line_size,
int  h 
)

Definition at line 947 of file hpeldsp_lasx.c.

Referenced by ff_hpeldsp_init_loongarch().

◆ common_vt_bil_no_rnd_8x8_lasx()

static void common_vt_bil_no_rnd_8x8_lasx ( const uint8_t *  src,
int32_t  src_stride,
uint8_t *  dst,
int32_t  dst_stride 
)
static

Definition at line 957 of file hpeldsp_lasx.c.

Referenced by ff_put_no_rnd_pixels8_y2_8_lasx().

◆ common_vt_bil_no_rnd_4x8_lasx()

static void common_vt_bil_no_rnd_4x8_lasx ( const uint8_t *  src,
int32_t  src_stride,
uint8_t *  dst,
int32_t  dst_stride 
)
static

Definition at line 998 of file hpeldsp_lasx.c.

Referenced by ff_put_no_rnd_pixels8_y2_8_lasx().

◆ ff_put_no_rnd_pixels8_y2_8_lasx()

void ff_put_no_rnd_pixels8_y2_8_lasx ( uint8_t *  block,
const uint8_t *  pixels,
ptrdiff_t  line_size,
int  h 
)

Definition at line 1022 of file hpeldsp_lasx.c.

Referenced by ff_hpeldsp_init_loongarch().

◆ common_hv_bil_no_rnd_8x8_lasx()

static void common_hv_bil_no_rnd_8x8_lasx ( const uint8_t *  src,
int32_t  src_stride,
uint8_t *  dst,
int32_t  dst_stride 
)
static

Definition at line 1032 of file hpeldsp_lasx.c.

Referenced by ff_put_no_rnd_pixels8_xy2_8_lasx().

◆ common_hv_bil_no_rnd_4x8_lasx()

static void common_hv_bil_no_rnd_4x8_lasx ( const uint8_t *  src,
int32_t  src_stride,
uint8_t *  dst,
int32_t  dst_stride 
)
static

Definition at line 1095 of file hpeldsp_lasx.c.

Referenced by ff_put_no_rnd_pixels8_xy2_8_lasx().

◆ ff_put_no_rnd_pixels8_xy2_8_lasx()

void ff_put_no_rnd_pixels8_xy2_8_lasx ( uint8_t *  block,
const uint8_t *  pixels,
ptrdiff_t  line_size,
int  h 
)

Definition at line 1134 of file hpeldsp_lasx.c.

Referenced by ff_hpeldsp_init_loongarch().

◆ common_hv_bil_16w_lasx()

static void common_hv_bil_16w_lasx ( const uint8_t *  src,
int32_t  src_stride,
uint8_t *  dst,
int32_t  dst_stride,
uint8_t  height 
)
static

Definition at line 1144 of file hpeldsp_lasx.c.

Referenced by ff_put_pixels16_xy2_8_lasx().

◆ ff_put_pixels16_xy2_8_lasx()

void ff_put_pixels16_xy2_8_lasx ( uint8_t *  block,
const uint8_t *  pixels,
ptrdiff_t  line_size,
int  h 
)

Definition at line 1231 of file hpeldsp_lasx.c.

Referenced by ff_hpeldsp_init_loongarch().

◆ common_hv_bil_8w_lasx()

static void common_hv_bil_8w_lasx ( const uint8_t *  src,
int32_t  src_stride,
uint8_t *  dst,
int32_t  dst_stride,
uint8_t  height 
)
static

Definition at line 1237 of file hpeldsp_lasx.c.

Referenced by ff_put_pixels8_xy2_8_lasx().

◆ ff_put_pixels8_xy2_8_lasx()

void ff_put_pixels8_xy2_8_lasx ( uint8_t *  block,
const uint8_t *  pixels,
ptrdiff_t  line_size,
int  h 
)

Definition at line 1283 of file hpeldsp_lasx.c.

Referenced by ff_hpeldsp_init_loongarch().