FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
hevc_mc_uniw_msa.c File Reference
#include "libavutil/mips/generic_macros_msa.h"
#include "libavcodec/mips/hevcdsp_mips.h"
#include "libavcodec/mips/hevc_macros_msa.h"

Go to the source code of this file.

Macros

#define HEVC_HV_UNIW_RND_CLIP4(in0, in1, in2, in3, wgt, offset, rnd,out0, out1, out2, out3)
 
#define HEVC_UNIW_RND_CLIP2(in0, in1, wgt, offset, rnd,out0_r, out1_r, out0_l, out1_l)
 
#define HEVC_UNIW_RND_CLIP4(in0, in1, in2, in3, wgt, offset, rnd,out0_r, out1_r, out2_r, out3_r,out0_l, out1_l, out2_l, out3_l)
 
#define HEVC_UNIW_RND_CLIP2_MAX_SATU_H(in0_h, in1_h, wgt_w, offset_h, rnd_w,out0_h, out1_h)
 
#define HEVC_UNIW_RND_CLIP4_MAX_SATU_H(in0_h, in1_h, in2_h, in3_h, wgt_w,offset_h, rnd_w, out0_h, out1_h,out2_h, out3_h)
 
#define UNIWGT_MC_COPY(WIDTH)
 
#define UNI_W_MC(PEL, DIR, WIDTH, TAP, DIR1, FILT_DIR)
 
#define UNI_W_MC_HV(PEL, DIR, WIDTH, TAP, DIR1)
 

Functions

static void hevc_uniwgt_copy_4w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_uniwgt_copy_6w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_uniwgt_copy_8w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_uniwgt_copy_12w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_uniwgt_copy_16w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_uniwgt_copy_24w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_uniwgt_copy_32w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_uniwgt_copy_48w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_uniwgt_copy_64w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_8t_4w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_8t_8w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_8t_12w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_8t_16w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_8t_24w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_8t_32w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_8t_48w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_8t_64w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_8t_4w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_8t_8w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_8t_12w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_8t_16multx2mult_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val, int32_t width)
 
static void hevc_vt_uniwgt_8t_16w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_8t_24w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_8t_32w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_8t_48w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_8t_64w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_8t_4w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_8t_8multx2mult_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val, int32_t width)
 
static void hevc_hv_uniwgt_8t_8w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_8t_12w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_8t_16w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_8t_24w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_8t_32w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_8t_48w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_8t_64w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_4t_4x2_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_4t_4x4_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_4t_4x8multiple_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_4t_4w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_4t_6w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_4t_8x2_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_4t_8x6_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_4t_8x4multiple_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_4t_8w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_4t_12w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_4t_16w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_4t_24w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hz_uniwgt_4t_32w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_4t_4x2_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_4t_4x4_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_4t_4x8multiple_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_4t_4w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_4t_6w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_4t_8x2_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_4t_8x6_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_4t_8x4multiple_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_4t_8w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_4t_12w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_4t_16w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_4t_24w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_vt_uniwgt_4t_32w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_4t_4x2_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_4t_4x4_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_4t_4multx8mult_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_4t_4w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_4t_6w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_4t_8x2_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_4t_8x6_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_4t_8multx4mult_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val, int32_t width)
 
static void hevc_hv_uniwgt_4t_8w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_4t_12w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_4t_16w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_4t_24w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
static void hevc_hv_uniwgt_4t_32w_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride, const int8_t *filter_x, const int8_t *filter_y, int32_t height, int32_t weight, int32_t offset, int32_t rnd_val)
 
 UNIWGT_MC_COPY (4)
 
 UNIWGT_MC_COPY (6)
 
 UNIWGT_MC_COPY (8)
 
 UNIWGT_MC_COPY (12)
 
 UNIWGT_MC_COPY (16)
 
 UNIWGT_MC_COPY (24)
 
 UNIWGT_MC_COPY (32)
 
 UNIWGT_MC_COPY (48)
 
 UNIWGT_MC_COPY (64)
 
 UNI_W_MC (qpel, h, 4, 8, hz, mx)
 
 UNI_W_MC (qpel, h, 8, 8, hz, mx)
 
 UNI_W_MC (qpel, h, 12, 8, hz, mx)
 
 UNI_W_MC (qpel, h, 16, 8, hz, mx)
 
 UNI_W_MC (qpel, h, 24, 8, hz, mx)
 
 UNI_W_MC (qpel, h, 32, 8, hz, mx)
 
 UNI_W_MC (qpel, h, 48, 8, hz, mx)
 
 UNI_W_MC (qpel, h, 64, 8, hz, mx)
 
 UNI_W_MC (qpel, v, 4, 8, vt, my)
 
 UNI_W_MC (qpel, v, 8, 8, vt, my)
 
 UNI_W_MC (qpel, v, 12, 8, vt, my)
 
 UNI_W_MC (qpel, v, 16, 8, vt, my)
 
 UNI_W_MC (qpel, v, 24, 8, vt, my)
 
 UNI_W_MC (qpel, v, 32, 8, vt, my)
 
 UNI_W_MC (qpel, v, 48, 8, vt, my)
 
 UNI_W_MC (qpel, v, 64, 8, vt, my)
 
 UNI_W_MC (epel, h, 4, 4, hz, mx)
 
 UNI_W_MC (epel, h, 6, 4, hz, mx)
 
 UNI_W_MC (epel, h, 8, 4, hz, mx)
 
 UNI_W_MC (epel, h, 12, 4, hz, mx)
 
 UNI_W_MC (epel, h, 16, 4, hz, mx)
 
 UNI_W_MC (epel, h, 24, 4, hz, mx)
 
 UNI_W_MC (epel, h, 32, 4, hz, mx)
 
 UNI_W_MC (epel, v, 4, 4, vt, my)
 
 UNI_W_MC (epel, v, 6, 4, vt, my)
 
 UNI_W_MC (epel, v, 8, 4, vt, my)
 
 UNI_W_MC (epel, v, 12, 4, vt, my)
 
 UNI_W_MC (epel, v, 16, 4, vt, my)
 
 UNI_W_MC (epel, v, 24, 4, vt, my)
 
 UNI_W_MC (epel, v, 32, 4, vt, my)
 
 UNI_W_MC_HV (qpel, hv, 4, 8, hv)
 
 UNI_W_MC_HV (qpel, hv, 8, 8, hv)
 
 UNI_W_MC_HV (qpel, hv, 12, 8, hv)
 
 UNI_W_MC_HV (qpel, hv, 16, 8, hv)
 
 UNI_W_MC_HV (qpel, hv, 24, 8, hv)
 
 UNI_W_MC_HV (qpel, hv, 32, 8, hv)
 
 UNI_W_MC_HV (qpel, hv, 48, 8, hv)
 
 UNI_W_MC_HV (qpel, hv, 64, 8, hv)
 
 UNI_W_MC_HV (epel, hv, 4, 4, hv)
 
 UNI_W_MC_HV (epel, hv, 6, 4, hv)
 
 UNI_W_MC_HV (epel, hv, 8, 4, hv)
 
 UNI_W_MC_HV (epel, hv, 12, 4, hv)
 
 UNI_W_MC_HV (epel, hv, 16, 4, hv)
 
 UNI_W_MC_HV (epel, hv, 24, 4, hv)
 
 UNI_W_MC_HV (epel, hv, 32, 4, hv)
 

Variables

static const uint8_t ff_hevc_mask_arr [16 *2]
 

Macro Definition Documentation

#define HEVC_HV_UNIW_RND_CLIP4 (   in0,
  in1,
  in2,
  in3,
  wgt,
  offset,
  rnd,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
MUL4(in0, wgt, in1, wgt, in2, wgt, in3, wgt, out0, out1, out2, out3); \
SRAR_W4_SW(out0, out1, out2, out3, rnd); \
ADD4(out0, offset, out1, offset, out2, offset, out3, offset, \
out0, out1, out2, out3); \
out0 = CLIP_SW_0_255(out0); \
out1 = CLIP_SW_0_255(out1); \
out2 = CLIP_SW_0_255(out2); \
out3 = CLIP_SW_0_255(out3); \
}
#define CLIP_SW_0_255(in)
#define MUL4(in0, in1, in2, in3, in4, in5, in6, in7, out0, out1, out2, out3)
#define ADD4(in0, in1, in2, in3, in4, in5, in6, in7, out0, out1, out2, out3)
static const uint8_t offset[127][2]
Definition: vf_spp.c:92
#define SRAR_W4_SW(...)
#define rnd()
Definition: checkasm.h:93

Definition at line 32 of file hevc_mc_uniw_msa.c.

Referenced by hevc_hv_uniwgt_4t_4multx8mult_msa(), hevc_hv_uniwgt_4t_4x4_msa(), hevc_hv_uniwgt_4t_6w_msa(), hevc_hv_uniwgt_4t_8multx4mult_msa(), hevc_hv_uniwgt_4t_8x2_msa(), hevc_hv_uniwgt_4t_8x6_msa(), and hevc_hv_uniwgt_8t_8multx2mult_msa().

#define HEVC_UNIW_RND_CLIP2 (   in0,
  in1,
  wgt,
  offset,
  rnd,
  out0_r,
  out1_r,
  out0_l,
  out1_l 
)
Value:
{ \
ILVR_H2_SW(in0, in0, in1, in1, out0_r, out1_r); \
ILVL_H2_SW(in0, in0, in1, in1, out0_l, out1_l); \
DOTP_SH4_SW(out0_r, out1_r, out0_l, out1_l, wgt, wgt, wgt, wgt, \
out0_r, out1_r, out0_l, out1_l); \
SRAR_W4_SW(out0_r, out1_r, out0_l, out1_l, rnd); \
ADD4(out0_r, offset, out1_r, offset, \
out0_l, offset, out1_l, offset, \
out0_r, out1_r, out0_l, out1_l); \
out0_r = CLIP_SW_0_255(out0_r); \
out1_r = CLIP_SW_0_255(out1_r); \
out0_l = CLIP_SW_0_255(out0_l); \
out1_l = CLIP_SW_0_255(out1_l); \
}
#define DOTP_SH4_SW(...)
#define CLIP_SW_0_255(in)
#define ADD4(in0, in1, in2, in3, in4, in5, in6, in7, out0, out1, out2, out3)
#define ILVL_H2_SW(...)
static const uint8_t offset[127][2]
Definition: vf_spp.c:92
#define SRAR_W4_SW(...)
#define rnd()
Definition: checkasm.h:93
#define ILVR_H2_SW(...)

Definition at line 45 of file hevc_mc_uniw_msa.c.

Referenced by hevc_hz_uniwgt_4t_12w_msa(), hevc_hz_uniwgt_4t_24w_msa(), hevc_hz_uniwgt_4t_4x4_msa(), hevc_hz_uniwgt_4t_8x2_msa(), hevc_hz_uniwgt_4t_8x6_msa(), hevc_vt_uniwgt_4t_12w_msa(), hevc_vt_uniwgt_4t_24w_msa(), hevc_vt_uniwgt_4t_4x4_msa(), hevc_vt_uniwgt_4t_8x2_msa(), hevc_vt_uniwgt_4t_8x6_msa(), and hevc_vt_uniwgt_8t_12w_msa().

#define HEVC_UNIW_RND_CLIP4 (   in0,
  in1,
  in2,
  in3,
  wgt,
  offset,
  rnd,
  out0_r,
  out1_r,
  out2_r,
  out3_r,
  out0_l,
  out1_l,
  out2_l,
  out3_l 
)
#define HEVC_UNIW_RND_CLIP2_MAX_SATU_H (   in0_h,
  in1_h,
  wgt_w,
  offset_h,
  rnd_w,
  out0_h,
  out1_h 
)
Value:
{ \
v4i32 in0_r_m, in0_l_m, in1_r_m, in1_l_m; \
ILVRL_H2_SW(in0_h, in0_h, in0_r_m, in0_l_m); \
ILVRL_H2_SW(in1_h, in1_h, in1_r_m, in1_l_m); \
DOTP_SH4_SW(in0_r_m, in1_r_m, in0_l_m, in1_l_m, wgt_w, wgt_w, wgt_w, \
wgt_w, in0_r_m, in1_r_m, in0_l_m, in1_l_m); \
SRAR_W4_SW(in0_r_m, in1_r_m, in0_l_m, in1_l_m, rnd_w); \
PCKEV_H2_SH(in0_l_m, in0_r_m, in1_l_m, in1_r_m, out0_h, out1_h); \
ADDS_SH2_SH(out0_h, offset_h, out1_h, offset_h, out0_h, out1_h); \
CLIP_SH2_0_255_MAX_SATU(out0_h, out1_h); \
}
#define ILVRL_H2_SW(...)
#define DOTP_SH4_SW(...)
#define ADDS_SH2_SH(...)
#define PCKEV_H2_SH(...)
#define SRAR_W4_SW(...)
#define CLIP_SH2_0_255_MAX_SATU(in0, in1)

Definition at line 72 of file hevc_mc_uniw_msa.c.

Referenced by hevc_hz_uniwgt_8t_12w_msa(), hevc_hz_uniwgt_8t_24w_msa(), hevc_hz_uniwgt_8t_48w_msa(), hevc_uniwgt_copy_12w_msa(), hevc_uniwgt_copy_4w_msa(), and hevc_uniwgt_copy_8w_msa().

#define HEVC_UNIW_RND_CLIP4_MAX_SATU_H (   in0_h,
  in1_h,
  in2_h,
  in3_h,
  wgt_w,
  offset_h,
  rnd_w,
  out0_h,
  out1_h,
  out2_h,
  out3_h 
)
#define UNIWGT_MC_COPY (   WIDTH)
Value:
void ff_hevc_put_hevc_uni_w_pel_pixels##WIDTH##_8_msa(uint8_t *dst, \
ptrdiff_t dst_stride, \
ptrdiff_t src_stride, \
int height, \
int denom, \
int weight, \
int offset, \
intptr_t mx, \
intptr_t my, \
int width) \
{ \
int shift = denom + 14 - 8; \
hevc_uniwgt_copy_##WIDTH##w_msa(src, src_stride, dst, dst_stride, \
height, weight, offset, shift); \
}
#define WIDTH
Definition: c93.c:43
static int shift(int a, int b)
Definition: sonic.c:82
#define src
Definition: vp8dsp.c:254
uint8_t
#define height
uint16_t width
Definition: gdv.c:47
static const uint8_t offset[127][2]
Definition: vf_spp.c:92
static int weight(int i, int blen, int offset)
Definition: diracdec.c:1522
int

Definition at line 4910 of file hevc_mc_uniw_msa.c.

#define UNI_W_MC (   PEL,
  DIR,
  WIDTH,
  TAP,
  DIR1,
  FILT_DIR 
)
Value:
void ff_hevc_put_hevc_uni_w_##PEL##_##DIR##WIDTH##_8_msa(uint8_t *dst, \
ptrdiff_t \
dst_stride, \
ptrdiff_t \
src_stride, \
int height, \
int denom, \
int weight, \
int offset, \
intptr_t mx, \
intptr_t my, \
int width) \
{ \
const int8_t *filter = ff_hevc_##PEL##_filters[FILT_DIR - 1]; \
int shift = denom + 14 - 8; \
\
hevc_##DIR1##_uniwgt_##TAP##t_##WIDTH##w_msa(src, src_stride, dst, \
dst_stride, filter, height, \
weight, offset, shift); \
}
#define WIDTH
Definition: c93.c:43
static int shift(int a, int b)
Definition: sonic.c:82
#define src
Definition: vp8dsp.c:254
uint8_t
static void filter(int16_t *output, ptrdiff_t out_stride, int16_t *low, ptrdiff_t low_stride, int16_t *high, ptrdiff_t high_stride, int len, uint8_t clip)
Definition: cfhd.c:80
#define height
uint16_t width
Definition: gdv.c:47
static const uint8_t offset[127][2]
Definition: vf_spp.c:92
static int weight(int i, int blen, int offset)
Definition: diracdec.c:1522
int
#define _
Definition: wtv_common.c:49

Definition at line 4940 of file hevc_mc_uniw_msa.c.

#define UNI_W_MC_HV (   PEL,
  DIR,
  WIDTH,
  TAP,
  DIR1 
)
Value:
void ff_hevc_put_hevc_uni_w_##PEL##_##DIR##WIDTH##_8_msa(uint8_t *dst, \
ptrdiff_t \
dst_stride, \
ptrdiff_t \
src_stride, \
int height, \
int denom, \
int weight, \
int offset, \
intptr_t mx, \
intptr_t my, \
int width) \
{ \
const int8_t *filter_x = ff_hevc_##PEL##_filters[mx - 1]; \
const int8_t *filter_y = ff_hevc_##PEL##_filters[my - 1]; \
int shift = denom + 14 - 8; \
\
hevc_##DIR1##_uniwgt_##TAP##t_##WIDTH##w_msa(src, src_stride, dst, \
dst_stride, filter_x, \
filter_y, height, weight, \
offset, shift); \
}
#define WIDTH
Definition: c93.c:43
static int shift(int a, int b)
Definition: sonic.c:82
#define src
Definition: vp8dsp.c:254
uint8_t
#define height
uint16_t width
Definition: gdv.c:47
static const uint8_t offset[127][2]
Definition: vf_spp.c:92
static int weight(int i, int blen, int offset)
Definition: diracdec.c:1522
int
#define _
Definition: wtv_common.c:49

Definition at line 4999 of file hevc_mc_uniw_msa.c.

Function Documentation

static void hevc_uniwgt_copy_4w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 97 of file hevc_mc_uniw_msa.c.

static void hevc_uniwgt_copy_6w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 164 of file hevc_mc_uniw_msa.c.

static void hevc_uniwgt_copy_8w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 220 of file hevc_mc_uniw_msa.c.

static void hevc_uniwgt_copy_12w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 317 of file hevc_mc_uniw_msa.c.

static void hevc_uniwgt_copy_16w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 361 of file hevc_mc_uniw_msa.c.

static void hevc_uniwgt_copy_24w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 404 of file hevc_mc_uniw_msa.c.

static void hevc_uniwgt_copy_32w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 457 of file hevc_mc_uniw_msa.c.

static void hevc_uniwgt_copy_48w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 503 of file hevc_mc_uniw_msa.c.

static void hevc_uniwgt_copy_64w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 560 of file hevc_mc_uniw_msa.c.

static void hevc_hz_uniwgt_8t_4w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 623 of file hevc_mc_uniw_msa.c.

static void hevc_hz_uniwgt_8t_8w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 699 of file hevc_mc_uniw_msa.c.

static void hevc_hz_uniwgt_8t_12w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 777 of file hevc_mc_uniw_msa.c.

static void hevc_hz_uniwgt_8t_16w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 871 of file hevc_mc_uniw_msa.c.

static void hevc_hz_uniwgt_8t_24w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 949 of file hevc_mc_uniw_msa.c.

static void hevc_hz_uniwgt_8t_32w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 1042 of file hevc_mc_uniw_msa.c.

static void hevc_hz_uniwgt_8t_48w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 1144 of file hevc_mc_uniw_msa.c.

static void hevc_hz_uniwgt_8t_64w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 1238 of file hevc_mc_uniw_msa.c.

static void hevc_vt_uniwgt_8t_4w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 1329 of file hevc_mc_uniw_msa.c.

static void hevc_vt_uniwgt_8t_8w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 1421 of file hevc_mc_uniw_msa.c.

Referenced by hevc_vt_uniwgt_8t_24w_msa().

static void hevc_vt_uniwgt_8t_12w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 1501 of file hevc_mc_uniw_msa.c.

static void hevc_vt_uniwgt_8t_16multx2mult_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val,
int32_t  width 
)
static
static void hevc_vt_uniwgt_8t_16w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 1708 of file hevc_mc_uniw_msa.c.

static void hevc_vt_uniwgt_8t_24w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 1723 of file hevc_mc_uniw_msa.c.

static void hevc_vt_uniwgt_8t_32w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 1741 of file hevc_mc_uniw_msa.c.

static void hevc_vt_uniwgt_8t_48w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 1756 of file hevc_mc_uniw_msa.c.

static void hevc_vt_uniwgt_8t_64w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 1771 of file hevc_mc_uniw_msa.c.

static void hevc_hv_uniwgt_8t_4w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 1786 of file hevc_mc_uniw_msa.c.

Referenced by hevc_hv_uniwgt_8t_12w_msa().

static void hevc_hv_uniwgt_8t_8multx2mult_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val,
int32_t  width 
)
static
static void hevc_hv_uniwgt_8t_8w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2070 of file hevc_mc_uniw_msa.c.

static void hevc_hv_uniwgt_8t_12w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2086 of file hevc_mc_uniw_msa.c.

static void hevc_hv_uniwgt_8t_16w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2105 of file hevc_mc_uniw_msa.c.

static void hevc_hv_uniwgt_8t_24w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2121 of file hevc_mc_uniw_msa.c.

static void hevc_hv_uniwgt_8t_32w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2137 of file hevc_mc_uniw_msa.c.

static void hevc_hv_uniwgt_8t_48w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2153 of file hevc_mc_uniw_msa.c.

static void hevc_hv_uniwgt_8t_64w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2169 of file hevc_mc_uniw_msa.c.

static void hevc_hz_uniwgt_4t_4x2_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2185 of file hevc_mc_uniw_msa.c.

Referenced by hevc_hz_uniwgt_4t_4w_msa().

static void hevc_hz_uniwgt_4t_4x4_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2239 of file hevc_mc_uniw_msa.c.

Referenced by hevc_hz_uniwgt_4t_4w_msa().

static void hevc_hz_uniwgt_4t_4x8multiple_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2294 of file hevc_mc_uniw_msa.c.

Referenced by hevc_hz_uniwgt_4t_4w_msa().

static void hevc_hz_uniwgt_4t_4w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2363 of file hevc_mc_uniw_msa.c.

static void hevc_hz_uniwgt_4t_6w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2386 of file hevc_mc_uniw_msa.c.

static void hevc_hz_uniwgt_4t_8x2_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2457 of file hevc_mc_uniw_msa.c.

Referenced by hevc_hz_uniwgt_4t_8w_msa().

static void hevc_hz_uniwgt_4t_8x6_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2508 of file hevc_mc_uniw_msa.c.

Referenced by hevc_hz_uniwgt_4t_8w_msa().

static void hevc_hz_uniwgt_4t_8x4multiple_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2589 of file hevc_mc_uniw_msa.c.

Referenced by hevc_hz_uniwgt_4t_8w_msa().

static void hevc_hz_uniwgt_4t_8w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2660 of file hevc_mc_uniw_msa.c.

static void hevc_hz_uniwgt_4t_12w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2683 of file hevc_mc_uniw_msa.c.

static void hevc_hz_uniwgt_4t_16w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2772 of file hevc_mc_uniw_msa.c.

static void hevc_hz_uniwgt_4t_24w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2869 of file hevc_mc_uniw_msa.c.

static void hevc_hz_uniwgt_4t_32w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 2960 of file hevc_mc_uniw_msa.c.

static void hevc_vt_uniwgt_4t_4x2_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 3065 of file hevc_mc_uniw_msa.c.

Referenced by hevc_vt_uniwgt_4t_4w_msa().

static void hevc_vt_uniwgt_4t_4x4_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 3121 of file hevc_mc_uniw_msa.c.

Referenced by hevc_vt_uniwgt_4t_4w_msa().

static void hevc_vt_uniwgt_4t_4x8multiple_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 3177 of file hevc_mc_uniw_msa.c.

Referenced by hevc_vt_uniwgt_4t_4w_msa().

static void hevc_vt_uniwgt_4t_4w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 3254 of file hevc_mc_uniw_msa.c.

static void hevc_vt_uniwgt_4t_6w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 3277 of file hevc_mc_uniw_msa.c.

static void hevc_vt_uniwgt_4t_8x2_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 3347 of file hevc_mc_uniw_msa.c.

Referenced by hevc_vt_uniwgt_4t_8w_msa().

static void hevc_vt_uniwgt_4t_8x6_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 3397 of file hevc_mc_uniw_msa.c.

Referenced by hevc_vt_uniwgt_4t_8w_msa().

static void hevc_vt_uniwgt_4t_8x4multiple_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 3468 of file hevc_mc_uniw_msa.c.

Referenced by hevc_vt_uniwgt_4t_8w_msa().

static void hevc_vt_uniwgt_4t_8w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 3537 of file hevc_mc_uniw_msa.c.

static void hevc_vt_uniwgt_4t_12w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 3560 of file hevc_mc_uniw_msa.c.

static void hevc_vt_uniwgt_4t_16w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 3646 of file hevc_mc_uniw_msa.c.

static void hevc_vt_uniwgt_4t_24w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 3736 of file hevc_mc_uniw_msa.c.

static void hevc_vt_uniwgt_4t_32w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 3857 of file hevc_mc_uniw_msa.c.

static void hevc_hv_uniwgt_4t_4x2_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 3968 of file hevc_mc_uniw_msa.c.

Referenced by hevc_hv_uniwgt_4t_4w_msa().

static void hevc_hv_uniwgt_4t_4x4_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 4056 of file hevc_mc_uniw_msa.c.

Referenced by hevc_hv_uniwgt_4t_4w_msa().

static void hevc_hv_uniwgt_4t_4multx8mult_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 4157 of file hevc_mc_uniw_msa.c.

Referenced by hevc_hv_uniwgt_4t_4w_msa().

static void hevc_hv_uniwgt_4t_4w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 4295 of file hevc_mc_uniw_msa.c.

Referenced by hevc_hv_uniwgt_4t_12w_msa().

static void hevc_hv_uniwgt_4t_6w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 4321 of file hevc_mc_uniw_msa.c.

static void hevc_hv_uniwgt_4t_8x2_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 4442 of file hevc_mc_uniw_msa.c.

Referenced by hevc_hv_uniwgt_4t_8w_msa().

static void hevc_hv_uniwgt_4t_8x6_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 4533 of file hevc_mc_uniw_msa.c.

Referenced by hevc_hv_uniwgt_4t_8w_msa().

static void hevc_hv_uniwgt_4t_8multx4mult_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val,
int32_t  width 
)
static
static void hevc_hv_uniwgt_4t_8w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 4816 of file hevc_mc_uniw_msa.c.

static void hevc_hv_uniwgt_4t_12w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 4843 of file hevc_mc_uniw_msa.c.

static void hevc_hv_uniwgt_4t_16w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 4862 of file hevc_mc_uniw_msa.c.

static void hevc_hv_uniwgt_4t_24w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 4878 of file hevc_mc_uniw_msa.c.

static void hevc_hv_uniwgt_4t_32w_msa ( uint8_t src,
int32_t  src_stride,
uint8_t dst,
int32_t  dst_stride,
const int8_t *  filter_x,
const int8_t *  filter_y,
int32_t  height,
int32_t  weight,
int32_t  offset,
int32_t  rnd_val 
)
static

Definition at line 4894 of file hevc_mc_uniw_msa.c.

UNIWGT_MC_COPY ( )
UNIWGT_MC_COPY ( )
UNIWGT_MC_COPY ( )
UNIWGT_MC_COPY ( 12  )
UNIWGT_MC_COPY ( 16  )
UNIWGT_MC_COPY ( 24  )
UNIWGT_MC_COPY ( 32  )
UNIWGT_MC_COPY ( 48  )
UNIWGT_MC_COPY ( 64  )
UNI_W_MC ( qpel  ,
h  ,
,
,
hz  ,
mx   
)
UNI_W_MC ( qpel  ,
h  ,
,
,
hz  ,
mx   
)
UNI_W_MC ( qpel  ,
h  ,
12  ,
,
hz  ,
mx   
)
UNI_W_MC ( qpel  ,
h  ,
16  ,
,
hz  ,
mx   
)
UNI_W_MC ( qpel  ,
h  ,
24  ,
,
hz  ,
mx   
)
UNI_W_MC ( qpel  ,
h  ,
32  ,
,
hz  ,
mx   
)
UNI_W_MC ( qpel  ,
h  ,
48  ,
,
hz  ,
mx   
)
UNI_W_MC ( qpel  ,
h  ,
64  ,
,
hz  ,
mx   
)
UNI_W_MC ( qpel  ,
,
,
,
vt  ,
my   
)
UNI_W_MC ( qpel  ,
,
,
,
vt  ,
my   
)
UNI_W_MC ( qpel  ,
,
12  ,
,
vt  ,
my   
)
UNI_W_MC ( qpel  ,
,
16  ,
,
vt  ,
my   
)
UNI_W_MC ( qpel  ,
,
24  ,
,
vt  ,
my   
)
UNI_W_MC ( qpel  ,
,
32  ,
,
vt  ,
my   
)
UNI_W_MC ( qpel  ,
,
48  ,
,
vt  ,
my   
)
UNI_W_MC ( qpel  ,
,
64  ,
,
vt  ,
my   
)
UNI_W_MC ( epel  ,
h  ,
,
,
hz  ,
mx   
)
UNI_W_MC ( epel  ,
h  ,
,
,
hz  ,
mx   
)
UNI_W_MC ( epel  ,
h  ,
,
,
hz  ,
mx   
)
UNI_W_MC ( epel  ,
h  ,
12  ,
,
hz  ,
mx   
)
UNI_W_MC ( epel  ,
h  ,
16  ,
,
hz  ,
mx   
)
UNI_W_MC ( epel  ,
h  ,
24  ,
,
hz  ,
mx   
)
UNI_W_MC ( epel  ,
h  ,
32  ,
,
hz  ,
mx   
)
UNI_W_MC ( epel  ,
,
,
,
vt  ,
my   
)
UNI_W_MC ( epel  ,
,
,
,
vt  ,
my   
)
UNI_W_MC ( epel  ,
,
,
,
vt  ,
my   
)
UNI_W_MC ( epel  ,
,
12  ,
,
vt  ,
my   
)
UNI_W_MC ( epel  ,
,
16  ,
,
vt  ,
my   
)
UNI_W_MC ( epel  ,
,
24  ,
,
vt  ,
my   
)
UNI_W_MC ( epel  ,
,
32  ,
,
vt  ,
my   
)
UNI_W_MC_HV ( qpel  ,
hv  ,
,
,
hv   
)
UNI_W_MC_HV ( qpel  ,
hv  ,
,
,
hv   
)
UNI_W_MC_HV ( qpel  ,
hv  ,
12  ,
,
hv   
)
UNI_W_MC_HV ( qpel  ,
hv  ,
16  ,
,
hv   
)
UNI_W_MC_HV ( qpel  ,
hv  ,
24  ,
,
hv   
)
UNI_W_MC_HV ( qpel  ,
hv  ,
32  ,
,
hv   
)
UNI_W_MC_HV ( qpel  ,
hv  ,
48  ,
,
hv   
)
UNI_W_MC_HV ( qpel  ,
hv  ,
64  ,
,
hv   
)
UNI_W_MC_HV ( epel  ,
hv  ,
,
,
hv   
)
UNI_W_MC_HV ( epel  ,
hv  ,
,
,
hv   
)
UNI_W_MC_HV ( epel  ,
hv  ,
,
,
hv   
)
UNI_W_MC_HV ( epel  ,
hv  ,
12  ,
,
hv   
)
UNI_W_MC_HV ( epel  ,
hv  ,
16  ,
,
hv   
)
UNI_W_MC_HV ( epel  ,
hv  ,
24  ,
,
hv   
)
UNI_W_MC_HV ( epel  ,
hv  ,
32  ,
,
hv   
)

Variable Documentation

const uint8_t ff_hevc_mask_arr[16 *2]
static
Initial value:
= {
0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8,
0, 1, 1, 2, 2, 3, 3, 4, 16, 17, 17, 18, 18, 19, 19, 20
}

Definition at line 25 of file hevc_mc_uniw_msa.c.

Referenced by 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(), and hevc_hz_uniwgt_8t_8w_msa().