FFmpeg
|
#include "h264chroma_lasx.h"
#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/loongarch/loongson_intrinsics.h"
Go to the source code of this file.
Functions | |
static av_always_inline void | avc_chroma_hv_8x4_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coef_hor0, uint32_t coef_hor1, uint32_t coef_ver0, uint32_t coef_ver1) |
static av_always_inline void | avc_chroma_hv_8x8_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coef_hor0, uint32_t coef_hor1, uint32_t coef_ver0, uint32_t coef_ver1) |
static av_always_inline void | avc_chroma_hz_8x4_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) |
static av_always_inline void | avc_chroma_hz_8x8_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) |
static av_always_inline void | avc_chroma_hz_nonmult_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) |
static av_always_inline void | avc_chroma_vt_8x4_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) |
static av_always_inline void | avc_chroma_vt_8x8_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) |
static av_always_inline void | copy_width8x8_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride) |
static av_always_inline void | copy_width8x4_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride) |
static void | avc_chroma_hv_8w_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coef_hor0, uint32_t coef_hor1, uint32_t coef_ver0, uint32_t coef_ver1, int32_t height) |
static void | avc_chroma_hv_4x2_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coef_hor0, uint32_t coef_hor1, uint32_t coef_ver0, uint32_t coef_ver1) |
static void | avc_chroma_hv_4x4_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coef_hor0, uint32_t coef_hor1, uint32_t coef_ver0, uint32_t coef_ver1) |
static void | avc_chroma_hv_4x8_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coef_hor0, uint32_t coef_hor1, uint32_t coef_ver0, uint32_t coef_ver1) |
static void | avc_chroma_hv_4w_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coef_hor0, uint32_t coef_hor1, uint32_t coef_ver0, uint32_t coef_ver1, int32_t height) |
static void | avc_chroma_hz_4x2_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) |
static void | avc_chroma_hz_4x4_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) |
static void | avc_chroma_hz_4x8_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) |
static void | avc_chroma_hz_4w_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) |
static void | avc_chroma_hz_8w_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) |
static void | avc_chroma_vt_4x2_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) |
static void | avc_chroma_vt_4x4_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) |
static void | avc_chroma_vt_4x8_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) |
static void | avc_chroma_vt_4w_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) |
static void | avc_chroma_vt_8w_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) |
static void | copy_width4_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, int32_t height) |
static void | copy_width8_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, int32_t height) |
void | ff_put_h264_chroma_mc4_lasx (uint8_t *dst, const uint8_t *src, ptrdiff_t stride, int height, int x, int y) |
void | ff_put_h264_chroma_mc8_lasx (uint8_t *dst, const uint8_t *src, ptrdiff_t stride, int height, int x, int y) |
static av_always_inline void | avc_chroma_hv_and_aver_dst_8x4_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coef_hor0, uint32_t coef_hor1, uint32_t coef_ver0, uint32_t coef_ver1) |
static av_always_inline void | avc_chroma_hv_and_aver_dst_8x8_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coef_hor0, uint32_t coef_hor1, uint32_t coef_ver0, uint32_t coef_ver1) |
static av_always_inline void | avc_chroma_hz_and_aver_dst_8x4_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) |
static av_always_inline void | avc_chroma_hz_and_aver_dst_8x8_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) |
static av_always_inline void | avc_chroma_vt_and_aver_dst_8x4_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) |
static av_always_inline void | avc_chroma_vt_and_aver_dst_8x8_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) |
static av_always_inline void | avg_width8x8_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride) |
static av_always_inline void | avg_width8x4_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride) |
static void | avc_chroma_hv_and_aver_dst_8w_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coef_hor0, uint32_t coef_hor1, uint32_t coef_ver0, uint32_t coef_ver1, int32_t height) |
static void | avc_chroma_hz_and_aver_dst_8w_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) |
static void | avc_chroma_vt_and_aver_dst_8w_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) |
static void | avg_width8_lasx (const uint8_t *src, uint8_t *dst, ptrdiff_t stride, int32_t height) |
void | ff_avg_h264_chroma_mc8_lasx (uint8_t *dst, const uint8_t *src, ptrdiff_t stride, int height, int x, int y) |
Variables | |
static const uint8_t | chroma_mask_arr [64] |
|
static |
Definition at line 36 of file h264chroma_lasx.c.
Referenced by avc_chroma_hv_8w_lasx().
|
static |
Definition at line 74 of file h264chroma_lasx.c.
Referenced by avc_chroma_hv_8w_lasx().
|
static |
Definition at line 130 of file h264chroma_lasx.c.
Referenced by avc_chroma_hz_8w_lasx().
|
static |
Definition at line 157 of file h264chroma_lasx.c.
Referenced by avc_chroma_hz_8w_lasx().
|
static |
Definition at line 196 of file h264chroma_lasx.c.
Referenced by avc_chroma_hz_8w_lasx().
|
static |
Definition at line 242 of file h264chroma_lasx.c.
Referenced by avc_chroma_vt_8w_lasx().
|
static |
Definition at line 269 of file h264chroma_lasx.c.
Referenced by avc_chroma_vt_8w_lasx().
|
static |
Definition at line 310 of file h264chroma_lasx.c.
Referenced by copy_width8_lasx().
|
static |
Definition at line 350 of file h264chroma_lasx.c.
Referenced by copy_width8_lasx().
|
static |
Definition at line 375 of file h264chroma_lasx.c.
Referenced by ff_put_h264_chroma_mc8_lasx().
|
static |
Definition at line 389 of file h264chroma_lasx.c.
Referenced by avc_chroma_hv_4w_lasx().
|
static |
Definition at line 417 of file h264chroma_lasx.c.
Referenced by avc_chroma_hv_4w_lasx().
|
static |
Definition at line 449 of file h264chroma_lasx.c.
Referenced by avc_chroma_hv_4w_lasx().
|
static |
Definition at line 495 of file h264chroma_lasx.c.
Referenced by ff_put_h264_chroma_mc4_lasx().
|
static |
Definition at line 512 of file h264chroma_lasx.c.
Referenced by avc_chroma_hz_4w_lasx().
|
static |
Definition at line 531 of file h264chroma_lasx.c.
Referenced by avc_chroma_hz_4w_lasx().
|
static |
Definition at line 556 of file h264chroma_lasx.c.
Referenced by avc_chroma_hz_4w_lasx().
|
static |
Definition at line 591 of file h264chroma_lasx.c.
Referenced by ff_put_h264_chroma_mc4_lasx().
|
static |
Definition at line 604 of file h264chroma_lasx.c.
Referenced by ff_put_h264_chroma_mc8_lasx().
|
static |
Definition at line 617 of file h264chroma_lasx.c.
Referenced by avc_chroma_vt_4w_lasx().
|
static |
Definition at line 638 of file h264chroma_lasx.c.
Referenced by avc_chroma_vt_4w_lasx().
|
static |
Definition at line 667 of file h264chroma_lasx.c.
Referenced by avc_chroma_vt_4w_lasx().
|
static |
Definition at line 708 of file h264chroma_lasx.c.
Referenced by ff_put_h264_chroma_mc4_lasx().
|
static |
Definition at line 721 of file h264chroma_lasx.c.
Referenced by ff_put_h264_chroma_mc8_lasx().
|
static |
Definition at line 732 of file h264chroma_lasx.c.
Referenced by ff_put_h264_chroma_mc4_lasx().
|
static |
Definition at line 802 of file h264chroma_lasx.c.
Referenced by ff_put_h264_chroma_mc8_lasx().
void ff_put_h264_chroma_mc4_lasx | ( | uint8_t * | dst, |
const uint8_t * | src, | ||
ptrdiff_t | stride, | ||
int | height, | ||
int | x, | ||
int | y | ||
) |
Definition at line 812 of file h264chroma_lasx.c.
Referenced by ff_h264chroma_init_loongarch().
void ff_put_h264_chroma_mc8_lasx | ( | uint8_t * | dst, |
const uint8_t * | src, | ||
ptrdiff_t | stride, | ||
int | height, | ||
int | x, | ||
int | y | ||
) |
Definition at line 828 of file h264chroma_lasx.c.
Referenced by ff_h264chroma_init_loongarch().
|
static |
Definition at line 844 of file h264chroma_lasx.c.
Referenced by avc_chroma_hv_and_aver_dst_8w_lasx().
|
static |
Definition at line 888 of file h264chroma_lasx.c.
Referenced by avc_chroma_hv_and_aver_dst_8w_lasx().
|
static |
Definition at line 960 of file h264chroma_lasx.c.
Referenced by avc_chroma_hz_and_aver_dst_8w_lasx().
|
static |
Definition at line 993 of file h264chroma_lasx.c.
Referenced by avc_chroma_hz_and_aver_dst_8w_lasx().
|
static |
Definition at line 1046 of file h264chroma_lasx.c.
Referenced by avc_chroma_vt_and_aver_dst_8w_lasx().
|
static |
Definition at line 1080 of file h264chroma_lasx.c.
Referenced by avc_chroma_vt_and_aver_dst_8w_lasx().
|
static |
Definition at line 1135 of file h264chroma_lasx.c.
Referenced by avg_width8_lasx().
|
static |
Definition at line 1187 of file h264chroma_lasx.c.
Referenced by avg_width8_lasx().
|
static |
Definition at line 1216 of file h264chroma_lasx.c.
Referenced by ff_avg_h264_chroma_mc8_lasx().
|
static |
Definition at line 1233 of file h264chroma_lasx.c.
Referenced by ff_avg_h264_chroma_mc8_lasx().
|
static |
Definition at line 1244 of file h264chroma_lasx.c.
Referenced by ff_avg_h264_chroma_mc8_lasx().
|
static |
Definition at line 1255 of file h264chroma_lasx.c.
Referenced by ff_avg_h264_chroma_mc8_lasx().
void ff_avg_h264_chroma_mc8_lasx | ( | uint8_t * | dst, |
const uint8_t * | src, | ||
ptrdiff_t | stride, | ||
int | height, | ||
int | x, | ||
int | y | ||
) |
Definition at line 1265 of file h264chroma_lasx.c.
Referenced by ff_h264chroma_init_loongarch().
|
static |
Definition at line 29 of file h264chroma_lasx.c.
Referenced by avc_chroma_hv_4x2_lasx(), avc_chroma_hv_4x4_lasx(), avc_chroma_hv_4x8_lasx(), avc_chroma_hv_8x4_lasx(), avc_chroma_hv_8x8_lasx(), avc_chroma_hv_and_aver_dst_8x4_lasx(), avc_chroma_hv_and_aver_dst_8x8_lasx(), avc_chroma_hz_4x2_lasx(), avc_chroma_hz_4x4_lasx(), avc_chroma_hz_4x8_lasx(), avc_chroma_hz_8x4_lasx(), avc_chroma_hz_8x8_lasx(), avc_chroma_hz_and_aver_dst_8x4_lasx(), avc_chroma_hz_and_aver_dst_8x8_lasx(), and avc_chroma_hz_nonmult_lasx().