FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
generic_macros_msa.h File Reference
#include <stdint.h>
#include <msa.h>

Go to the source code of this file.

Macros

#define ALIGNMENT   16
 
#define ALLOC_ALIGNED(align)   __attribute__ ((aligned((align) << 1)))
 
#define LD_B(RTYPE, psrc)   *((RTYPE *)(psrc))
 
#define LD_UB(...)   LD_B(v16u8, __VA_ARGS__)
 
#define LD_SB(...)   LD_B(v16i8, __VA_ARGS__)
 
#define LD_H(RTYPE, psrc)   *((RTYPE *)(psrc))
 
#define LD_UH(...)   LD_H(v8u16, __VA_ARGS__)
 
#define LD_SH(...)   LD_H(v8i16, __VA_ARGS__)
 
#define LD_W(RTYPE, psrc)   *((RTYPE *)(psrc))
 
#define LD_UW(...)   LD_W(v4u32, __VA_ARGS__)
 
#define LD_SW(...)   LD_W(v4i32, __VA_ARGS__)
 
#define ST_B(RTYPE, in, pdst)   *((RTYPE *)(pdst)) = (in)
 
#define ST_UB(...)   ST_B(v16u8, __VA_ARGS__)
 
#define ST_SB(...)   ST_B(v16i8, __VA_ARGS__)
 
#define ST_H(RTYPE, in, pdst)   *((RTYPE *)(pdst)) = (in)
 
#define ST_UH(...)   ST_H(v8u16, __VA_ARGS__)
 
#define ST_SH(...)   ST_H(v8i16, __VA_ARGS__)
 
#define ST_W(RTYPE, in, pdst)   *((RTYPE *)(pdst)) = (in)
 
#define ST_UW(...)   ST_W(v4u32, __VA_ARGS__)
 
#define ST_SW(...)   ST_W(v4i32, __VA_ARGS__)
 
#define LW(psrc)
 
#define LD(psrc)
 
#define SH(val, pdst)
 
#define SW(val, pdst)
 
#define SD(val, pdst)
 
#define LW4(psrc, stride, out0, out1, out2, out3)
 
#define LD2(psrc, stride, out0, out1)
 
#define LD4(psrc, stride, out0, out1, out2, out3)
 
#define SW4(in0, in1, in2, in3, pdst, stride)
 
#define SD4(in0, in1, in2, in3, pdst, stride)
 
#define LD_B2(RTYPE, psrc, stride, out0, out1)
 
#define LD_UB2(...)   LD_B2(v16u8, __VA_ARGS__)
 
#define LD_SB2(...)   LD_B2(v16i8, __VA_ARGS__)
 
#define LD_B3(RTYPE, psrc, stride, out0, out1, out2)
 
#define LD_UB3(...)   LD_B3(v16u8, __VA_ARGS__)
 
#define LD_SB3(...)   LD_B3(v16i8, __VA_ARGS__)
 
#define LD_B4(RTYPE, psrc, stride, out0, out1, out2, out3)
 
#define LD_UB4(...)   LD_B4(v16u8, __VA_ARGS__)
 
#define LD_SB4(...)   LD_B4(v16i8, __VA_ARGS__)
 
#define LD_B5(RTYPE, psrc, stride, out0, out1, out2, out3, out4)
 
#define LD_UB5(...)   LD_B5(v16u8, __VA_ARGS__)
 
#define LD_SB5(...)   LD_B5(v16i8, __VA_ARGS__)
 
#define LD_B6(RTYPE, psrc, stride, out0, out1, out2, out3, out4, out5)
 
#define LD_UB6(...)   LD_B6(v16u8, __VA_ARGS__)
 
#define LD_SB6(...)   LD_B6(v16i8, __VA_ARGS__)
 
#define LD_B7(RTYPE, psrc, stride,out0, out1, out2, out3, out4, out5, out6)
 
#define LD_UB7(...)   LD_B7(v16u8, __VA_ARGS__)
 
#define LD_SB7(...)   LD_B7(v16i8, __VA_ARGS__)
 
#define LD_B8(RTYPE, psrc, stride,out0, out1, out2, out3, out4, out5, out6, out7)
 
#define LD_UB8(...)   LD_B8(v16u8, __VA_ARGS__)
 
#define LD_SB8(...)   LD_B8(v16i8, __VA_ARGS__)
 
#define LD_H2(RTYPE, psrc, stride, out0, out1)
 
#define LD_UH2(...)   LD_H2(v8u16, __VA_ARGS__)
 
#define LD_SH2(...)   LD_H2(v8i16, __VA_ARGS__)
 
#define LD_H4(RTYPE, psrc, stride, out0, out1, out2, out3)
 
#define LD_UH4(...)   LD_H4(v8u16, __VA_ARGS__)
 
#define LD_SH4(...)   LD_H4(v8i16, __VA_ARGS__)
 
#define LD_H6(RTYPE, psrc, stride, out0, out1, out2, out3, out4, out5)
 
#define LD_UH6(...)   LD_H6(v8u16, __VA_ARGS__)
 
#define LD_SH6(...)   LD_H6(v8i16, __VA_ARGS__)
 
#define LD_H8(RTYPE, psrc, stride,out0, out1, out2, out3, out4, out5, out6, out7)
 
#define LD_UH8(...)   LD_H8(v8u16, __VA_ARGS__)
 
#define LD_SH8(...)   LD_H8(v8i16, __VA_ARGS__)
 
#define LD_H16(RTYPE, psrc, stride,out0, out1, out2, out3, out4, out5, out6, out7,out8, out9, out10, out11, out12, out13, out14, out15)
 
#define LD_SH16(...)   LD_H16(v8i16, __VA_ARGS__)
 
#define LD4x4_SH(psrc, out0, out1, out2, out3)
 
#define LD_SW2(psrc, stride, out0, out1)
 
#define ST_B2(RTYPE, in0, in1, pdst, stride)
 
#define ST_UB2(...)   ST_B2(v16u8, __VA_ARGS__)
 
#define ST_SB2(...)   ST_B2(v16i8, __VA_ARGS__)
 
#define ST_B4(RTYPE, in0, in1, in2, in3, pdst, stride)
 
#define ST_UB4(...)   ST_B4(v16u8, __VA_ARGS__)
 
#define ST_SB4(...)   ST_B4(v16i8, __VA_ARGS__)
 
#define ST_B8(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7,pdst, stride)
 
#define ST_UB8(...)   ST_B8(v16u8, __VA_ARGS__)
 
#define ST_H2(RTYPE, in0, in1, pdst, stride)
 
#define ST_UH2(...)   ST_H2(v8u16, __VA_ARGS__)
 
#define ST_SH2(...)   ST_H2(v8i16, __VA_ARGS__)
 
#define ST_H4(RTYPE, in0, in1, in2, in3, pdst, stride)
 
#define ST_SH4(...)   ST_H4(v8i16, __VA_ARGS__)
 
#define ST_H6(RTYPE, in0, in1, in2, in3, in4, in5, pdst, stride)
 
#define ST_SH6(...)   ST_H6(v8i16, __VA_ARGS__)
 
#define ST_H8(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7, pdst, stride)
 
#define ST_SH8(...)   ST_H8(v8i16, __VA_ARGS__)
 
#define ST_SW2(in0, in1, pdst, stride)
 
#define ST_SW8(in0, in1, in2, in3, in4, in5, in6, in7,pdst, stride)
 
#define ST2x4_UB(in, stidx, pdst, stride)
 
#define ST4x2_UB(in, pdst, stride)
 
#define ST4x4_UB(in0, in1, idx0, idx1, idx2, idx3, pdst, stride)
 
#define ST4x8_UB(in0, in1, pdst, stride)
 
#define ST6x4_UB(in0, in1, pdst, stride)
 
#define ST8x1_UB(in, pdst)
 
#define ST8x2_UB(in, pdst, stride)
 
#define ST8x4_UB(in0, in1, pdst, stride)
 
#define ST8x8_UB(in0, in1, in2, in3, pdst, stride)
 
#define ST12x4_UB(in0, in1, in2, pdst, stride)
 
#define ST12x8_UB(in0, in1, in2, in3, in4, in5, in6, in7, pdst, stride)
 
#define AVER_UB2(RTYPE, in0, in1, in2, in3, out0, out1)
 
#define AVER_UB2_UB(...)   AVER_UB2(v16u8, __VA_ARGS__)
 
#define AVER_UB4(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7, out0, out1, out2, out3)
 
#define AVER_UB4_UB(...)   AVER_UB4(v16u8, __VA_ARGS__)
 
#define SLDI_B2_0(RTYPE, in0, in1, out0, out1, slide_val)
 
#define SLDI_B2_0_UB(...)   SLDI_B2_0(v16u8, __VA_ARGS__)
 
#define SLDI_B2_0_SB(...)   SLDI_B2_0(v16i8, __VA_ARGS__)
 
#define SLDI_B2_0_SW(...)   SLDI_B2_0(v4i32, __VA_ARGS__)
 
#define SLDI_B3_0(RTYPE, in0, in1, in2, out0, out1, out2,slide_val)
 
#define SLDI_B3_0_UB(...)   SLDI_B3_0(v16u8, __VA_ARGS__)
 
#define SLDI_B3_0_SB(...)   SLDI_B3_0(v16i8, __VA_ARGS__)
 
#define SLDI_B4_0(RTYPE, in0, in1, in2, in3,out0, out1, out2, out3, slide_val)
 
#define SLDI_B4_0_UB(...)   SLDI_B4_0(v16u8, __VA_ARGS__)
 
#define SLDI_B4_0_SB(...)   SLDI_B4_0(v16i8, __VA_ARGS__)
 
#define SLDI_B4_0_SH(...)   SLDI_B4_0(v8i16, __VA_ARGS__)
 
#define SLDI_B2(RTYPE, in0_0, in0_1, in1_0, in1_1, out0, out1, slide_val)
 
#define SLDI_B2_UB(...)   SLDI_B2(v16u8, __VA_ARGS__)
 
#define SLDI_B2_SB(...)   SLDI_B2(v16i8, __VA_ARGS__)
 
#define SLDI_B2_SH(...)   SLDI_B2(v8i16, __VA_ARGS__)
 
#define SLDI_B3(RTYPE, in0_0, in0_1, in0_2, in1_0, in1_1, in1_2,out0, out1, out2, slide_val)
 
#define SLDI_B3_SB(...)   SLDI_B3(v16i8, __VA_ARGS__)
 
#define SLDI_B3_UH(...)   SLDI_B3(v8u16, __VA_ARGS__)
 
#define VSHF_B2(RTYPE, in0, in1, in2, in3, mask0, mask1, out0, out1)
 
#define VSHF_B2_UB(...)   VSHF_B2(v16u8, __VA_ARGS__)
 
#define VSHF_B2_SB(...)   VSHF_B2(v16i8, __VA_ARGS__)
 
#define VSHF_B2_UH(...)   VSHF_B2(v8u16, __VA_ARGS__)
 
#define VSHF_B2_SH(...)   VSHF_B2(v8i16, __VA_ARGS__)
 
#define VSHF_B3(RTYPE, in0, in1, in2, in3, in4, in5, mask0, mask1, mask2,out0, out1, out2)
 
#define VSHF_B3_SB(...)   VSHF_B3(v16i8, __VA_ARGS__)
 
#define VSHF_B4(RTYPE, in0, in1, mask0, mask1, mask2, mask3,out0, out1, out2, out3)
 
#define VSHF_B4_SB(...)   VSHF_B4(v16i8, __VA_ARGS__)
 
#define VSHF_B4_SH(...)   VSHF_B4(v8i16, __VA_ARGS__)
 
#define VSHF_H2(RTYPE, in0, in1, in2, in3, mask0, mask1, out0, out1)
 
#define VSHF_H2_SH(...)   VSHF_H2(v8i16, __VA_ARGS__)
 
#define VSHF_H3(RTYPE, in0, in1, in2, in3, in4, in5, mask0, mask1, mask2,out0, out1, out2)
 
#define VSHF_H3_SH(...)   VSHF_H3(v8i16, __VA_ARGS__)
 
#define VSHF_W2(RTYPE, in0, in1, in2, in3, mask0, mask1, out0, out1)
 
#define VSHF_W2_SB(...)   VSHF_W2(v16i8, __VA_ARGS__)
 
#define DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1)
 
#define DOTP_UB2_UH(...)   DOTP_UB2(v8u16, __VA_ARGS__)
 
#define DOTP_UB4(RTYPE, mult0, mult1, mult2, mult3,cnst0, cnst1, cnst2, cnst3,out0, out1, out2, out3)
 
#define DOTP_UB4_UH(...)   DOTP_UB4(v8u16, __VA_ARGS__)
 
#define DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1)
 
#define DOTP_SB2_SH(...)   DOTP_SB2(v8i16, __VA_ARGS__)
 
#define DOTP_SB3(RTYPE, mult0, mult1, mult2, cnst0, cnst1, cnst2,out0, out1, out2)
 
#define DOTP_SB3_SH(...)   DOTP_SB3(v8i16, __VA_ARGS__)
 
#define DOTP_SB4(RTYPE, mult0, mult1, mult2, mult3,cnst0, cnst1, cnst2, cnst3, out0, out1, out2, out3)
 
#define DOTP_SB4_SH(...)   DOTP_SB4(v8i16, __VA_ARGS__)
 
#define DOTP_SH2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1)
 
#define DOTP_SH2_SW(...)   DOTP_SH2(v4i32, __VA_ARGS__)
 
#define DOTP_SH4(RTYPE, mult0, mult1, mult2, mult3,cnst0, cnst1, cnst2, cnst3,out0, out1, out2, out3)
 
#define DOTP_SH4_SW(...)   DOTP_SH4(v4i32, __VA_ARGS__)
 
#define DPADD_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1)
 
#define DPADD_SB2_SH(...)   DPADD_SB2(v8i16, __VA_ARGS__)
 
#define DPADD_SB4(RTYPE, mult0, mult1, mult2, mult3,cnst0, cnst1, cnst2, cnst3, out0, out1, out2, out3)
 
#define DPADD_SB4_SH(...)   DPADD_SB4(v8i16, __VA_ARGS__)
 
#define DPADD_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1)
 
#define DPADD_UB2_UH(...)   DPADD_UB2(v8u16, __VA_ARGS__)
 
#define DPADD_SH2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1)
 
#define DPADD_SH2_SW(...)   DPADD_SH2(v4i32, __VA_ARGS__)
 
#define DPADD_SH4(RTYPE, mult0, mult1, mult2, mult3,cnst0, cnst1, cnst2, cnst3, out0, out1, out2, out3)
 
#define DPADD_SH4_SW(...)   DPADD_SH4(v4i32, __VA_ARGS__)
 
#define MIN_UH2(RTYPE, in0, in1, min_vec)
 
#define MIN_UH2_UH(...)   MIN_UH2(v8u16, __VA_ARGS__)
 
#define MIN_UH4(RTYPE, in0, in1, in2, in3, min_vec)
 
#define MIN_UH4_UH(...)   MIN_UH4(v8u16, __VA_ARGS__)
 
#define CLIP_SH(in, min, max)
 
#define CLIP_SH_0_255(in)
 
#define CLIP_SH2_0_255(in0, in1)
 
#define CLIP_SH4_0_255(in0, in1, in2, in3)
 
#define CLIP_SW_0_255(in)
 
#define HADD_SW_S32(in)
 
#define HADD_UH_U32(in)
 
#define HADD_SB2(RTYPE, in0, in1, out0, out1)
 
#define HADD_SB2_SH(...)   HADD_SB2(v8i16, __VA_ARGS__)
 
#define HADD_SB4(RTYPE, in0, in1, in2, in3, out0, out1, out2, out3)
 
#define HADD_SB4_UH(...)   HADD_SB4(v8u16, __VA_ARGS__)
 
#define HADD_SB4_SH(...)   HADD_SB4(v8i16, __VA_ARGS__)
 
#define HADD_UB2(RTYPE, in0, in1, out0, out1)
 
#define HADD_UB2_UH(...)   HADD_UB2(v8u16, __VA_ARGS__)
 
#define HADD_UB3(RTYPE, in0, in1, in2, out0, out1, out2)
 
#define HADD_UB3_UH(...)   HADD_UB3(v8u16, __VA_ARGS__)
 
#define HADD_UB4(RTYPE, in0, in1, in2, in3, out0, out1, out2, out3)
 
#define HADD_UB4_UB(...)   HADD_UB4(v16u8, __VA_ARGS__)
 
#define HADD_UB4_UH(...)   HADD_UB4(v8u16, __VA_ARGS__)
 
#define HADD_UB4_SH(...)   HADD_UB4(v8i16, __VA_ARGS__)
 
#define HSUB_UB2(RTYPE, in0, in1, out0, out1)
 
#define HSUB_UB2_UH(...)   HSUB_UB2(v8u16, __VA_ARGS__)
 
#define HSUB_UB2_SH(...)   HSUB_UB2(v8i16, __VA_ARGS__)
 
#define HSUB_UB4(RTYPE, in0, in1, in2, in3, out0, out1, out2, out3)
 
#define HSUB_UB4_UH(...)   HSUB_UB4(v8u16, __VA_ARGS__)
 
#define HSUB_UB4_SH(...)   HSUB_UB4(v8i16, __VA_ARGS__)
 
#define SAD_UB2_UH(in0, in1, ref0, ref1)
 
#define INSERT_W2(RTYPE, in0, in1, out)
 
#define INSERT_W2_UB(...)   INSERT_W2(v16u8, __VA_ARGS__)
 
#define INSERT_W2_SB(...)   INSERT_W2(v16i8, __VA_ARGS__)
 
#define INSERT_W4(RTYPE, in0, in1, in2, in3, out)
 
#define INSERT_W4_UB(...)   INSERT_W4(v16u8, __VA_ARGS__)
 
#define INSERT_W4_SB(...)   INSERT_W4(v16i8, __VA_ARGS__)
 
#define INSERT_W4_SW(...)   INSERT_W4(v4i32, __VA_ARGS__)
 
#define INSERT_D2(RTYPE, in0, in1, out)
 
#define INSERT_D2_UB(...)   INSERT_D2(v16u8, __VA_ARGS__)
 
#define INSERT_D2_SB(...)   INSERT_D2(v16i8, __VA_ARGS__)
 
#define INSERT_D2_SD(...)   INSERT_D2(v2i64, __VA_ARGS__)
 
#define ILVEV_B2(RTYPE, in0, in1, in2, in3, out0, out1)
 
#define ILVEV_B2_UB(...)   ILVEV_B2(v16u8, __VA_ARGS__)
 
#define ILVEV_B2_SB(...)   ILVEV_B2(v16i8, __VA_ARGS__)
 
#define ILVEV_B2_SH(...)   ILVEV_B2(v8i16, __VA_ARGS__)
 
#define ILVEV_B2_SD(...)   ILVEV_B2(v2i64, __VA_ARGS__)
 
#define ILVEV_H2(RTYPE, in0, in1, in2, in3, out0, out1)
 
#define ILVEV_H2_UB(...)   ILVEV_H2(v16u8, __VA_ARGS__)
 
#define ILVEV_H2_SH(...)   ILVEV_H2(v8i16, __VA_ARGS__)
 
#define ILVEV_H2_SW(...)   ILVEV_H2(v4i32, __VA_ARGS__)
 
#define ILVEV_W2(RTYPE, in0, in1, in2, in3, out0, out1)
 
#define ILVEV_W2_UB(...)   ILVEV_W2(v16u8, __VA_ARGS__)
 
#define ILVEV_W2_SB(...)   ILVEV_W2(v16i8, __VA_ARGS__)
 
#define ILVEV_W2_UH(...)   ILVEV_W2(v8u16, __VA_ARGS__)
 
#define ILVEV_W2_SD(...)   ILVEV_W2(v2i64, __VA_ARGS__)
 
#define ILVEV_D2(RTYPE, in0, in1, in2, in3, out0, out1)
 
#define ILVEV_D2_UB(...)   ILVEV_D2(v16u8, __VA_ARGS__)
 
#define ILVEV_D2_SB(...)   ILVEV_D2(v16i8, __VA_ARGS__)
 
#define ILVEV_D2_SW(...)   ILVEV_D2(v4i32, __VA_ARGS__)
 
#define ILVL_B2(RTYPE, in0, in1, in2, in3, out0, out1)
 
#define ILVL_B2_UB(...)   ILVL_B2(v16u8, __VA_ARGS__)
 
#define ILVL_B2_SB(...)   ILVL_B2(v16i8, __VA_ARGS__)
 
#define ILVL_B2_UH(...)   ILVL_B2(v8u16, __VA_ARGS__)
 
#define ILVL_B2_SH(...)   ILVL_B2(v8i16, __VA_ARGS__)
 
#define ILVL_B4(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7,out0, out1, out2, out3)
 
#define ILVL_B4_UB(...)   ILVL_B4(v16u8, __VA_ARGS__)
 
#define ILVL_B4_SB(...)   ILVL_B4(v16i8, __VA_ARGS__)
 
#define ILVL_B4_UH(...)   ILVL_B4(v8u16, __VA_ARGS__)
 
#define ILVL_B4_SH(...)   ILVL_B4(v8i16, __VA_ARGS__)
 
#define ILVL_H2(RTYPE, in0, in1, in2, in3, out0, out1)
 
#define ILVL_H2_SH(...)   ILVL_H2(v8i16, __VA_ARGS__)
 
#define ILVL_H2_SW(...)   ILVL_H2(v4i32, __VA_ARGS__)
 
#define ILVL_H4(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7,out0, out1, out2, out3)
 
#define ILVL_H4_SH(...)   ILVL_H4(v8i16, __VA_ARGS__)
 
#define ILVL_H4_SW(...)   ILVL_H4(v4i32, __VA_ARGS__)
 
#define ILVL_W2(RTYPE, in0, in1, in2, in3, out0, out1)
 
#define ILVL_W2_UB(...)   ILVL_W2(v16u8, __VA_ARGS__)
 
#define ILVL_W2_SB(...)   ILVL_W2(v16i8, __VA_ARGS__)
 
#define ILVL_W2_SH(...)   ILVL_W2(v8i16, __VA_ARGS__)
 
#define ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1)
 
#define ILVR_B2_UB(...)   ILVR_B2(v16u8, __VA_ARGS__)
 
#define ILVR_B2_SB(...)   ILVR_B2(v16i8, __VA_ARGS__)
 
#define ILVR_B2_UH(...)   ILVR_B2(v8u16, __VA_ARGS__)
 
#define ILVR_B2_SH(...)   ILVR_B2(v8i16, __VA_ARGS__)
 
#define ILVR_B2_SW(...)   ILVR_B2(v4i32, __VA_ARGS__)
 
#define ILVR_B3(RTYPE, in0, in1, in2, in3, in4, in5, out0, out1, out2)
 
#define ILVR_B3_UB(...)   ILVR_B3(v16u8, __VA_ARGS__)
 
#define ILVR_B3_UH(...)   ILVR_B3(v8u16, __VA_ARGS__)
 
#define ILVR_B3_SH(...)   ILVR_B3(v8i16, __VA_ARGS__)
 
#define ILVR_B4(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7,out0, out1, out2, out3)
 
#define ILVR_B4_UB(...)   ILVR_B4(v16u8, __VA_ARGS__)
 
#define ILVR_B4_SB(...)   ILVR_B4(v16i8, __VA_ARGS__)
 
#define ILVR_B4_UH(...)   ILVR_B4(v8u16, __VA_ARGS__)
 
#define ILVR_B4_SH(...)   ILVR_B4(v8i16, __VA_ARGS__)
 
#define ILVR_B4_SW(...)   ILVR_B4(v4i32, __VA_ARGS__)
 
#define ILVR_B8(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7,in8, in9, in10, in11, in12, in13, in14, in15,out0, out1, out2, out3, out4, out5, out6, out7)
 
#define ILVR_B8_UH(...)   ILVR_B8(v8u16, __VA_ARGS__)
 
#define ILVR_H2(RTYPE, in0, in1, in2, in3, out0, out1)
 
#define ILVR_H2_SH(...)   ILVR_H2(v8i16, __VA_ARGS__)
 
#define ILVR_H2_SW(...)   ILVR_H2(v4i32, __VA_ARGS__)
 
#define ILVR_H3(RTYPE, in0, in1, in2, in3, in4, in5, out0, out1, out2)
 
#define ILVR_H3_SH(...)   ILVR_H3(v8i16, __VA_ARGS__)
 
#define ILVR_H4(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7,out0, out1, out2, out3)
 
#define ILVR_H4_SH(...)   ILVR_H4(v8i16, __VA_ARGS__)
 
#define ILVR_H4_SW(...)   ILVR_H4(v4i32, __VA_ARGS__)
 
#define ILVR_W2(RTYPE, in0, in1, in2, in3, out0, out1)
 
#define ILVR_W2_UB(...)   ILVR_W2(v16u8, __VA_ARGS__)
 
#define ILVR_W2_SB(...)   ILVR_W2(v16i8, __VA_ARGS__)
 
#define ILVR_W2_SH(...)   ILVR_W2(v8i16, __VA_ARGS__)
 
#define ILVR_W4(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7,out0, out1, out2, out3)
 
#define ILVR_W4_SB(...)   ILVR_W4(v16i8, __VA_ARGS__)
 
#define ILVR_W4_UB(...)   ILVR_W4(v16u8, __VA_ARGS__)
 
#define ILVR_D2(RTYPE, in0, in1, in2, in3, out0, out1)
 
#define ILVR_D2_UB(...)   ILVR_D2(v16u8, __VA_ARGS__)
 
#define ILVR_D2_SB(...)   ILVR_D2(v16i8, __VA_ARGS__)
 
#define ILVR_D2_SH(...)   ILVR_D2(v8i16, __VA_ARGS__)
 
#define ILVR_D3(RTYPE, in0, in1, in2, in3, in4, in5, out0, out1, out2)
 
#define ILVR_D3_SB(...)   ILVR_D3(v16i8, __VA_ARGS__)
 
#define ILVR_D4(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7,out0, out1, out2, out3)
 
#define ILVR_D4_SB(...)   ILVR_D4(v16i8, __VA_ARGS__)
 
#define ILVR_D4_UB(...)   ILVR_D4(v16u8, __VA_ARGS__)
 
#define ILVRL_B2(RTYPE, in0, in1, out0, out1)
 
#define ILVRL_B2_UB(...)   ILVRL_B2(v16u8, __VA_ARGS__)
 
#define ILVRL_B2_SB(...)   ILVRL_B2(v16i8, __VA_ARGS__)
 
#define ILVRL_B2_UH(...)   ILVRL_B2(v8u16, __VA_ARGS__)
 
#define ILVRL_B2_SH(...)   ILVRL_B2(v8i16, __VA_ARGS__)
 
#define ILVRL_B2_SW(...)   ILVRL_B2(v4i32, __VA_ARGS__)
 
#define ILVRL_H2(RTYPE, in0, in1, out0, out1)
 
#define ILVRL_H2_SB(...)   ILVRL_H2(v16i8, __VA_ARGS__)
 
#define ILVRL_H2_SH(...)   ILVRL_H2(v8i16, __VA_ARGS__)
 
#define ILVRL_H2_SW(...)   ILVRL_H2(v4i32, __VA_ARGS__)
 
#define ILVRL_W2(RTYPE, in0, in1, out0, out1)
 
#define ILVRL_W2_UB(...)   ILVRL_W2(v16u8, __VA_ARGS__)
 
#define ILVRL_W2_SH(...)   ILVRL_W2(v8i16, __VA_ARGS__)
 
#define ILVRL_W2_SW(...)   ILVRL_W2(v4i32, __VA_ARGS__)
 
#define MAXI_SH2(RTYPE, in0, in1, max_val)
 
#define MAXI_SH2_UH(...)   MAXI_SH2(v8u16, __VA_ARGS__)
 
#define MAXI_SH2_SH(...)   MAXI_SH2(v8i16, __VA_ARGS__)
 
#define MAXI_SH4(RTYPE, in0, in1, in2, in3, max_val)
 
#define MAXI_SH4_UH(...)   MAXI_SH4(v8u16, __VA_ARGS__)
 
#define SAT_UH2(RTYPE, in0, in1, sat_val)
 
#define SAT_UH2_UH(...)   SAT_UH2(v8u16, __VA_ARGS__)
 
#define SAT_UH2_SH(...)   SAT_UH2(v8i16, __VA_ARGS__)
 
#define SAT_UH4(RTYPE, in0, in1, in2, in3, sat_val)
 
#define SAT_UH4_UH(...)   SAT_UH4(v8u16, __VA_ARGS__)
 
#define SAT_SH2(RTYPE, in0, in1, sat_val)
 
#define SAT_SH2_SH(...)   SAT_SH2(v8i16, __VA_ARGS__)
 
#define SAT_SH3(RTYPE, in0, in1, in2, sat_val)
 
#define SAT_SH3_SH(...)   SAT_SH3(v8i16, __VA_ARGS__)
 
#define SAT_SH4(RTYPE, in0, in1, in2, in3, sat_val)
 
#define SAT_SH4_SH(...)   SAT_SH4(v8i16, __VA_ARGS__)
 
#define SAT_SW2(RTYPE, in0, in1, sat_val)
 
#define SAT_SW2_SW(...)   SAT_SW2(v4i32, __VA_ARGS__)
 
#define SAT_SW4(RTYPE, in0, in1, in2, in3, sat_val)
 
#define SAT_SW4_SW(...)   SAT_SW4(v4i32, __VA_ARGS__)
 
#define SPLATI_H2(RTYPE, in, idx0, idx1, out0, out1)
 
#define SPLATI_H2_SB(...)   SPLATI_H2(v16i8, __VA_ARGS__)
 
#define SPLATI_H2_SH(...)   SPLATI_H2(v8i16, __VA_ARGS__)
 
#define SPLATI_H3(RTYPE, in, idx0, idx1, idx2,out0, out1, out2)
 
#define SPLATI_H3_SB(...)   SPLATI_H3(v16i8, __VA_ARGS__)
 
#define SPLATI_H3_SH(...)   SPLATI_H3(v8i16, __VA_ARGS__)
 
#define SPLATI_H4(RTYPE, in, idx0, idx1, idx2, idx3,out0, out1, out2, out3)
 
#define SPLATI_H4_SB(...)   SPLATI_H4(v16i8, __VA_ARGS__)
 
#define SPLATI_H4_SH(...)   SPLATI_H4(v8i16, __VA_ARGS__)
 
#define SPLATI_W2(RTYPE, in, stidx, out0, out1)
 
#define SPLATI_W2_SH(...)   SPLATI_W2(v8i16, __VA_ARGS__)
 
#define SPLATI_W2_SW(...)   SPLATI_W2(v4i32, __VA_ARGS__)
 
#define SPLATI_W4(RTYPE, in, out0, out1, out2, out3)
 
#define SPLATI_W4_SH(...)   SPLATI_W4(v8i16, __VA_ARGS__)
 
#define SPLATI_W4_SW(...)   SPLATI_W4(v4i32, __VA_ARGS__)
 
#define PCKEV_B2(RTYPE, in0, in1, in2, in3, out0, out1)
 
#define PCKEV_B2_SB(...)   PCKEV_B2(v16i8, __VA_ARGS__)
 
#define PCKEV_B2_UB(...)   PCKEV_B2(v16u8, __VA_ARGS__)
 
#define PCKEV_B2_SH(...)   PCKEV_B2(v8i16, __VA_ARGS__)
 
#define PCKEV_B2_SW(...)   PCKEV_B2(v4i32, __VA_ARGS__)
 
#define PCKEV_B3(RTYPE, in0, in1, in2, in3, in4, in5, out0, out1, out2)
 
#define PCKEV_B3_UB(...)   PCKEV_B3(v16u8, __VA_ARGS__)
 
#define PCKEV_B3_SB(...)   PCKEV_B3(v16i8, __VA_ARGS__)
 
#define PCKEV_B4(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7,out0, out1, out2, out3)
 
#define PCKEV_B4_SB(...)   PCKEV_B4(v16i8, __VA_ARGS__)
 
#define PCKEV_B4_UB(...)   PCKEV_B4(v16u8, __VA_ARGS__)
 
#define PCKEV_B4_SH(...)   PCKEV_B4(v8i16, __VA_ARGS__)
 
#define PCKEV_B4_SW(...)   PCKEV_B4(v4i32, __VA_ARGS__)
 
#define PCKEV_H2(RTYPE, in0, in1, in2, in3, out0, out1)
 
#define PCKEV_H2_SH(...)   PCKEV_H2(v8i16, __VA_ARGS__)
 
#define PCKEV_H2_SW(...)   PCKEV_H2(v4i32, __VA_ARGS__)
 
#define PCKEV_H4(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7,out0, out1, out2, out3)
 
#define PCKEV_H4_SH(...)   PCKEV_H4(v8i16, __VA_ARGS__)
 
#define PCKEV_H4_SW(...)   PCKEV_H4(v4i32, __VA_ARGS__)
 
#define PCKEV_D2(RTYPE, in0, in1, in2, in3, out0, out1)
 
#define PCKEV_D2_UB(...)   PCKEV_D2(v16u8, __VA_ARGS__)
 
#define PCKEV_D2_SB(...)   PCKEV_D2(v16i8, __VA_ARGS__)
 
#define PCKEV_D2_SH(...)   PCKEV_D2(v8i16, __VA_ARGS__)
 
#define PCKEV_D4(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7,out0, out1, out2, out3)
 
#define PCKEV_D4_UB(...)   PCKEV_D4(v16u8, __VA_ARGS__)
 
#define PCKOD_D2(RTYPE, in0, in1, in2, in3, out0, out1)
 
#define PCKOD_D2_UB(...)   PCKOD_D2(v16u8, __VA_ARGS__)
 
#define PCKOD_D2_SH(...)   PCKOD_D2(v8i16, __VA_ARGS__)
 
#define PCKOD_D2_SD(...)   PCKOD_D2(v2i64, __VA_ARGS__)
 
#define XORI_B2_128(RTYPE, in0, in1)
 
#define XORI_B2_128_UB(...)   XORI_B2_128(v16u8, __VA_ARGS__)
 
#define XORI_B2_128_SB(...)   XORI_B2_128(v16i8, __VA_ARGS__)
 
#define XORI_B2_128_SH(...)   XORI_B2_128(v8i16, __VA_ARGS__)
 
#define XORI_B3_128(RTYPE, in0, in1, in2)
 
#define XORI_B3_128_SB(...)   XORI_B3_128(v16i8, __VA_ARGS__)
 
#define XORI_B4_128(RTYPE, in0, in1, in2, in3)
 
#define XORI_B4_128_UB(...)   XORI_B4_128(v16u8, __VA_ARGS__)
 
#define XORI_B4_128_SB(...)   XORI_B4_128(v16i8, __VA_ARGS__)
 
#define XORI_B4_128_SH(...)   XORI_B4_128(v8i16, __VA_ARGS__)
 
#define XORI_B5_128(RTYPE, in0, in1, in2, in3, in4)
 
#define XORI_B5_128_SB(...)   XORI_B5_128(v16i8, __VA_ARGS__)
 
#define XORI_B6_128(RTYPE, in0, in1, in2, in3, in4, in5)
 
#define XORI_B6_128_SB(...)   XORI_B6_128(v16i8, __VA_ARGS__)
 
#define XORI_B7_128(RTYPE, in0, in1, in2, in3, in4, in5, in6)
 
#define XORI_B7_128_SB(...)   XORI_B7_128(v16i8, __VA_ARGS__)
 
#define XORI_B8_128(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7)
 
#define XORI_B8_128_SB(...)   XORI_B8_128(v16i8, __VA_ARGS__)
 
#define ADDS_SH2(RTYPE, in0, in1, in2, in3, out0, out1)
 
#define ADDS_SH2_SH(...)   ADDS_SH2(v8i16, __VA_ARGS__)
 
#define ADDS_SH4(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7,out0, out1, out2, out3)
 
#define ADDS_SH4_UH(...)   ADDS_SH4(v8u16, __VA_ARGS__)
 
#define ADDS_SH4_SH(...)   ADDS_SH4(v8i16, __VA_ARGS__)
 
#define SLLI_4V(in0, in1, in2, in3, shift)
 
#define SRA_4V(in0, in1, in2, in3, shift)
 
#define SRL_H4(RTYPE, in0, in1, in2, in3, shift)
 
#define SRL_H4_UH(...)   SRL_H4(v8u16, __VA_ARGS__)
 
#define SRAR_H2(RTYPE, in0, in1, shift)
 
#define SRAR_H2_UH(...)   SRAR_H2(v8u16, __VA_ARGS__)
 
#define SRAR_H2_SH(...)   SRAR_H2(v8i16, __VA_ARGS__)
 
#define SRAR_H3(RTYPE, in0, in1, in2, shift)
 
#define SRAR_H3_SH(...)   SRAR_H3(v8i16, __VA_ARGS__)
 
#define SRAR_H4(RTYPE, in0, in1, in2, in3, shift)
 
#define SRAR_H4_UH(...)   SRAR_H4(v8u16, __VA_ARGS__)
 
#define SRAR_H4_SH(...)   SRAR_H4(v8i16, __VA_ARGS__)
 
#define SRAR_W2(RTYPE, in0, in1, shift)
 
#define SRAR_W2_SW(...)   SRAR_W2(v4i32, __VA_ARGS__)
 
#define SRAR_W4(RTYPE, in0, in1, in2, in3, shift)
 
#define SRAR_W4_SW(...)   SRAR_W4(v4i32, __VA_ARGS__)
 
#define SRARI_H2(RTYPE, in0, in1, shift)
 
#define SRARI_H2_UH(...)   SRARI_H2(v8u16, __VA_ARGS__)
 
#define SRARI_H2_SH(...)   SRARI_H2(v8i16, __VA_ARGS__)
 
#define SRARI_H4(RTYPE, in0, in1, in2, in3, shift)
 
#define SRARI_H4_UH(...)   SRARI_H4(v8u16, __VA_ARGS__)
 
#define SRARI_H4_SH(...)   SRARI_H4(v8i16, __VA_ARGS__)
 
#define SRARI_W2(RTYPE, in0, in1, shift)
 
#define SRARI_W2_SW(...)   SRARI_W2(v4i32, __VA_ARGS__)
 
#define SRARI_W4(RTYPE, in0, in1, in2, in3, shift)
 
#define SRARI_W4_SH(...)   SRARI_W4(v8i16, __VA_ARGS__)
 
#define SRARI_W4_SW(...)   SRARI_W4(v4i32, __VA_ARGS__)
 
#define MUL2(in0, in1, in2, in3, out0, out1)
 
#define MUL4(in0, in1, in2, in3, in4, in5, in6, in7, out0, out1, out2, out3)
 
#define ADD2(in0, in1, in2, in3, out0, out1)
 
#define ADD4(in0, in1, in2, in3, in4, in5, in6, in7, out0, out1, out2, out3)
 
#define SUB2(in0, in1, in2, in3, out0, out1)
 
#define SUB4(in0, in1, in2, in3, in4, in5, in6, in7, out0, out1, out2, out3)
 
#define UNPCK_R_SH_SW(in, out)
 
#define UNPCK_SB_SH(in, out0, out1)
 
#define UNPCK_UB_SH(in, out0, out1)
 
#define UNPCK_SH_SW(in, out0, out1)
 
#define SWAP(in0, in1)
 
#define BUTTERFLY_4(in0, in1, in2, in3, out0, out1, out2, out3)
 
#define BUTTERFLY_8(in0, in1, in2, in3, in4, in5, in6, in7,out0, out1, out2, out3, out4, out5, out6, out7)
 
#define BUTTERFLY_16(in0, in1, in2, in3, in4, in5, in6, in7,in8, in9,in10, in11, in12, in13, in14, in15,out0, out1, out2, out3, out4, out5, out6, out7,out8, out9, out10, out11, out12, out13, out14, out15)
 
#define TRANSPOSE4x4_UB_UB(in0, in1, in2, in3, out0, out1, out2, out3)
 
#define TRANSPOSE8x4_UB(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7,out0, out1, out2, out3)
 
#define TRANSPOSE8x4_UB_UB(...)   TRANSPOSE8x4_UB(v16u8, __VA_ARGS__)
 
#define TRANSPOSE8x4_UB_UH(...)   TRANSPOSE8x4_UB(v8u16, __VA_ARGS__)
 
#define TRANSPOSE8x8_UB(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7,out0, out1, out2, out3, out4, out5, out6, out7)
 
#define TRANSPOSE8x8_UB_UB(...)   TRANSPOSE8x8_UB(v16u8, __VA_ARGS__)
 
#define TRANSPOSE8x8_UB_UH(...)   TRANSPOSE8x8_UB(v8u16, __VA_ARGS__)
 
#define TRANSPOSE16x4_UB_UB(in0, in1, in2, in3, in4, in5, in6, in7,in8, in9, in10, in11, in12, in13, in14, in15,out0, out1, out2, out3)
 
#define TRANSPOSE16x8_UB_UB(in0, in1, in2, in3, in4, in5, in6, in7,in8, in9, in10, in11, in12, in13, in14, in15,out0, out1, out2, out3, out4, out5, out6, out7)
 
#define TRANSPOSE4x4_SH_SH(in0, in1, in2, in3, out0, out1, out2, out3)
 
#define TRANSPOSE8x8_H(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7,out0, out1, out2, out3, out4, out5, out6, out7)
 
#define TRANSPOSE8x8_UH_UH(...)   TRANSPOSE8x8_H(v8u16, __VA_ARGS__)
 
#define TRANSPOSE8x8_SH_SH(...)   TRANSPOSE8x8_H(v8i16, __VA_ARGS__)
 
#define TRANSPOSE4x4_SW_SW(in0, in1, in2, in3, out0, out1, out2, out3)
 
#define AVE_ST8x4_UB(in0, in1, in2, in3, in4, in5, in6, in7, pdst, stride)
 
#define AVE_ST16x4_UB(in0, in1, in2, in3, in4, in5, in6, in7, pdst, stride)
 
#define AVER_ST8x4_UB(in0, in1, in2, in3, in4, in5, in6, in7, pdst, stride)
 
#define AVER_ST16x4_UB(in0, in1, in2, in3, in4, in5, in6, in7, pdst, stride)
 
#define AVER_DST_ST8x4_UB(in0, in1, in2, in3, in4, in5, in6, in7,pdst, stride)
 
#define AVER_DST_ST16x4_UB(in0, in1, in2, in3, in4, in5, in6, in7,pdst, stride)
 
#define ADDBLK_ST4x4_UB(in0, in1, in2, in3, pdst, stride)
 
#define DPADD_SH3_SH(in0, in1, in2, coeff0, coeff1, coeff2)
 
#define PCKEV_XORI128_UB(in0, in1)
 
#define CONVERT_UB_AVG_ST8x4_UB(in0, in1, in2, in3,dst0, dst1, dst2, dst3, pdst, stride)
 
#define PCKEV_ST4x4_UB(in0, in1, in2, in3, pdst, stride)
 
#define PCKEV_ST_SB(in0, in1, pdst)
 
#define HORIZ_2TAP_FILT_UH(in0, in1, mask, coeff, shift)
 

Macro Definition Documentation

#define ALIGNMENT   16
#define ALLOC_ALIGNED (   align)    __attribute__ ((aligned((align) << 1)))
#define LD_B (   RTYPE,
  psrc 
)    *((RTYPE *)(psrc))

Definition at line 30 of file generic_macros_msa.h.

#define LD_UB (   ...)    LD_B(v16u8, __VA_ARGS__)

Definition at line 31 of file generic_macros_msa.h.

Referenced by avc_chroma_hv_4x4multiple_msa(), avc_chroma_hv_8w_msa(), avc_chroma_hv_and_aver_dst_4x4mul_msa(), avc_chroma_hv_and_aver_dst_8w_msa(), avc_chroma_hz_8w_msa(), avc_chroma_hz_and_aver_dst_2x8_msa(), avc_chroma_hz_and_aver_dst_4x4multiple_msa(), avc_chroma_vt_4x4multiple_msa(), avc_chroma_vt_8w_msa(), avc_chroma_vt_and_aver_dst_8w_msa(), avc_loopfilter_luma_inter_edge_hor_msa(), avc_loopfilter_luma_intra_edge_hor_msa(), common_hv_8ht_8vt_4w_msa(), common_hv_8ht_8vt_8w_msa(), common_hv_8ht_8vt_and_aver_dst_4w_msa(), common_hv_8ht_8vt_and_aver_dst_8w_msa(), common_hv_bil_16w_msa(), common_hv_bil_and_aver_dst_16w_msa(), common_hv_bil_no_rnd_16x16_msa(), common_hv_bil_no_rnd_8x16_msa(), common_hv_bil_no_rnd_8x8_msa(), common_hz_6t_4x4_msa(), common_hz_6t_4x8_msa(), common_hz_8t_12w_msa(), common_hz_8t_16w_msa(), common_hz_8t_24w_msa(), common_hz_8t_32w_msa(), common_hz_8t_48w_msa(), common_hz_8t_4x16_msa(), common_hz_8t_4x4_msa(), common_hz_8t_4x8_msa(), common_hz_8t_64w_msa(), common_hz_8t_8x4_msa(), common_hz_8t_8x8mult_msa(), common_hz_8t_and_aver_dst_16w_msa(), common_hz_8t_and_aver_dst_32w_msa(), common_hz_8t_and_aver_dst_4x4_msa(), common_hz_8t_and_aver_dst_4x8_msa(), common_hz_8t_and_aver_dst_64w_msa(), common_hz_8t_and_aver_dst_8w_msa(), common_vt_2t_8x8mult_msa(), common_vt_2t_and_aver_dst_8x8mult_msa(), common_vt_bil_16w_msa(), common_vt_bil_4w_msa(), common_vt_bil_8w_msa(), common_vt_bil_and_aver_dst_16w_msa(), common_vt_bil_and_aver_dst_4w_msa(), common_vt_bil_and_aver_dst_8w_msa(), common_vt_bil_no_rnd_16x16_msa(), common_vt_bil_no_rnd_8x16_msa(), common_vt_bil_no_rnd_8x8_msa(), ff_avg_bilin_16v_msa(), ff_dc_16x16_msa(), ff_intra_pred_8_16x16_msa(), ff_put_bilin_16v_msa(), ff_put_bilin_32v_msa(), ff_put_vp8_bilinear16_v_msa(), ff_put_vp8_epel16_h6_msa(), ff_put_vp8_epel4_h4v4_msa(), ff_put_vp8_epel4_h6v4_msa(), ff_put_vp8_epel4_h6v6_msa(), ff_put_vp8_epel8_h4v4_msa(), ff_put_vp8_epel8_h6_msa(), ff_put_vp8_epel8_h6v6_msa(), ff_vert_16x16_msa(), ff_vert_32x32_msa(), hevc_intra_pred_angular_lower_4width_msa(), hevc_intra_pred_angular_upper_16width_msa(), hevc_intra_pred_angular_upper_32width_msa(), hevc_intra_pred_dc_16x16_msa(), hevc_intra_pred_plane_16x16_msa(), hevc_intra_pred_vert_16x16_msa(), hevc_sao_edge_filter_135degree_16multiple_msa(), hevc_sao_edge_filter_45degree_16multiple_msa(), hv_mc_qpel_8x8_msa(), hv_mc_qpel_aver_h_src0_8x8_msa(), hv_mc_qpel_aver_h_src1_8x8_msa(), hv_mc_qpel_aver_hv_src00_8x8_msa(), hv_mc_qpel_aver_hv_src01_8x8_msa(), hv_mc_qpel_aver_hv_src10_8x8_msa(), hv_mc_qpel_aver_hv_src11_8x8_msa(), hv_mc_qpel_aver_v_src0_8x8_msa(), hv_mc_qpel_aver_v_src1_8x8_msa(), hv_mc_qpel_avg_dst_8x8_msa(), hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa(), hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa(), hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa(), hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa(), hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa(), hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa(), hv_mc_qpel_avg_dst_aver_v_src0_8x8_msa(), hv_mc_qpel_avg_dst_aver_v_src1_8x8_msa(), hv_mc_qpel_no_rnd_8x8_msa(), hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa(), hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa(), hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa(), hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa(), hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa(), hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa(), hv_mc_qpel_no_rnd_aver_v_src0_8x8_msa(), hv_mc_qpel_no_rnd_aver_v_src1_8x8_msa(), intra_predict_dc_16x16_msa(), intra_predict_dc_4blk_8x8_msa(), intra_predict_dc_8x8_msa(), intra_predict_mad_cow_dc_0lt_8x8_msa(), intra_predict_mad_cow_dc_l0t_8x8_msa(), intra_predict_plane_8x8_msa(), intra_predict_vert_16x16_msa(), intra_predict_vert_32x32_msa(), intra_predict_vert_dc_8x8_msa(), sse_16width_msa(), vert_mc_qpel_16x16_msa(), vert_mc_qpel_8x8_msa(), vert_mc_qpel_aver_src0_16x16_msa(), vert_mc_qpel_aver_src0_8x8_msa(), vert_mc_qpel_aver_src1_16x16_msa(), vert_mc_qpel_aver_src1_8x8_msa(), vert_mc_qpel_avg_dst_16x16_msa(), vert_mc_qpel_avg_dst_8x8_msa(), vert_mc_qpel_avg_dst_aver_src0_16x16_msa(), vert_mc_qpel_avg_dst_aver_src0_8x8_msa(), vert_mc_qpel_avg_dst_aver_src1_16x16_msa(), vert_mc_qpel_avg_dst_aver_src1_8x8_msa(), vert_mc_qpel_no_rnd_16x16_msa(), vert_mc_qpel_no_rnd_8x8_msa(), vert_mc_qpel_no_rnd_aver_src0_16x16_msa(), vert_mc_qpel_no_rnd_aver_src0_8x8_msa(), vert_mc_qpel_no_rnd_aver_src1_16x16_msa(), vert_mc_qpel_no_rnd_aver_src1_8x8_msa(), vp9_hz_lpf_t16_16w(), vp9_iadst16_1d_columns_addblk_msa(), vp9_iadst8x8_colcol_addblk_msa(), vp9_vt_lpf_t16_16w(), and vp9_vt_lpf_t16_8w().

#define LD_SB (   ...)    LD_B(v16i8, __VA_ARGS__)

Definition at line 32 of file generic_macros_msa.h.

Referenced by avc_chroma_hv_2x2_msa(), avc_chroma_hv_2x4_msa(), avc_chroma_hv_2x8_msa(), avc_chroma_hv_4x2_msa(), avc_chroma_hv_4x4multiple_msa(), avc_chroma_hv_8w_msa(), avc_chroma_hv_and_aver_dst_2x2_msa(), avc_chroma_hv_and_aver_dst_2x4_msa(), avc_chroma_hv_and_aver_dst_2x8_msa(), avc_chroma_hv_and_aver_dst_4x2_msa(), avc_chroma_hv_and_aver_dst_4x4mul_msa(), avc_chroma_hv_and_aver_dst_8w_msa(), avc_chroma_hz_2x2_msa(), avc_chroma_hz_2x4_msa(), avc_chroma_hz_2x8_msa(), avc_chroma_hz_4x2_msa(), avc_chroma_hz_4x4multiple_msa(), avc_chroma_hz_8w_msa(), avc_chroma_hz_and_aver_dst_2x2_msa(), avc_chroma_hz_and_aver_dst_2x4_msa(), avc_chroma_hz_and_aver_dst_4x2_msa(), avc_chroma_hz_and_aver_dst_8w_msa(), avc_chroma_vt_and_aver_dst_4x4mul_msa(), avc_luma_hz_qrt_16w_msa(), avc_luma_hz_qrt_and_aver_dst_16x16_msa(), common_hv_2ht_2vt_4x4_msa(), common_hv_2ht_2vt_4x8_msa(), common_hv_2ht_2vt_8x4_msa(), common_hv_2ht_2vt_8x8mult_msa(), common_hv_2ht_2vt_and_aver_dst_4x4_msa(), common_hv_2ht_2vt_and_aver_dst_4x8_msa(), common_hv_2ht_2vt_and_aver_dst_8x4_msa(), common_hv_2ht_2vt_and_aver_dst_8x8mult_msa(), common_hv_bil_4w_msa(), common_hv_bil_8w_msa(), common_hv_bil_and_aver_dst_4w_msa(), common_hv_bil_and_aver_dst_8w_msa(), common_hv_bil_no_rnd_4x8_msa(), common_hz_2t_4x4_msa(), common_hz_2t_4x8_msa(), common_hz_2t_8x4_msa(), common_hz_2t_8x8mult_msa(), common_hz_2t_and_aver_dst_4x4_msa(), common_hz_2t_and_aver_dst_4x8_msa(), common_hz_2t_and_aver_dst_8x4_msa(), common_hz_2t_and_aver_dst_8x8mult_msa(), common_hz_4t_12w_msa(), common_hz_4t_16w_msa(), common_hz_4t_24w_msa(), common_hz_4t_32w_msa(), common_hz_4t_4x16_msa(), common_hz_4t_4x2_msa(), common_hz_4t_4x4_msa(), common_hz_4t_4x8_msa(), common_hz_4t_6w_msa(), common_hz_4t_8x2mult_msa(), common_hz_4t_8x4mult_msa(), common_hz_8t_32w_msa(), common_hz_8t_48w_msa(), common_hz_8t_64w_msa(), common_hz_8t_and_aver_dst_32w_msa(), common_hz_8t_and_aver_dst_64w_msa(), common_vt_2t_4x8_msa(), common_vt_2t_and_aver_dst_4x4_msa(), common_vt_2t_and_aver_dst_4x8_msa(), common_vt_4t_4x4multiple_msa(), ff_avg_bilin_16h_msa(), ff_avg_bilin_16hv_msa(), ff_avg_bilin_32h_msa(), ff_avg_bilin_64h_msa(), ff_put_bilin_16h_msa(), ff_put_bilin_16hv_msa(), ff_put_bilin_32h_msa(), ff_put_bilin_64h_msa(), ff_put_vp8_bilinear16_h_msa(), ff_put_vp8_bilinear16_hv_msa(), ff_put_vp8_epel16_h4_msa(), ff_put_vp8_epel4_h4v6_msa(), ff_put_vp8_epel4_v4_msa(), ff_put_vp8_epel8_h4_msa(), ff_put_vp8_epel8_h4v6_msa(), ff_put_vp8_epel8_h6v4_msa(), ff_tm_16x16_msa(), ff_tm_32x32_msa(), ff_tm_4x4_msa(), ff_tm_8x8_msa(), hevc_hz_4t_32w_msa(), hevc_hz_8t_32w_msa(), hevc_hz_8t_48w_msa(), hevc_hz_8t_64w_msa(), hevc_hz_bi_4t_32w_msa(), hevc_hz_bi_8t_32w_msa(), hevc_hz_bi_8t_64w_msa(), hevc_hz_biwgt_4t_32w_msa(), hevc_hz_biwgt_8t_32w_msa(), hevc_hz_biwgt_8t_48w_msa(), hevc_hz_biwgt_8t_64w_msa(), hevc_hz_uniwgt_4t_32w_msa(), hevc_hz_uniwgt_8t_32w_msa(), hevc_hz_uniwgt_8t_48w_msa(), hevc_hz_uniwgt_8t_64w_msa(), hevc_intra_pred_angular_lower_16width_msa(), hevc_intra_pred_angular_lower_32width_msa(), hevc_intra_pred_angular_lower_8width_msa(), hevc_intra_pred_angular_upper_4width_msa(), hevc_intra_pred_angular_upper_8width_msa(), hevc_intra_pred_horiz_16x16_msa(), hevc_sao_band_filter_16multiple_msa(), hevc_sao_band_filter_4width_msa(), hevc_sao_band_filter_8width_msa(), hevc_sao_edge_filter_0degree_16multiple_msa(), hevc_sao_edge_filter_135degree_16multiple_msa(), hevc_sao_edge_filter_45degree_16multiple_msa(), hevc_sao_edge_filter_90degree_16multiple_msa(), process_intra_lower_16x16_msa(), and process_intra_upper_16x16_msa().

#define LD_H (   RTYPE,
  psrc 
)    *((RTYPE *)(psrc))

Definition at line 34 of file generic_macros_msa.h.

#define LD_UH (   ...)    LD_H(v8u16, __VA_ARGS__)
#define LD_SH (   ...)    LD_H(v8i16, __VA_ARGS__)

Definition at line 36 of file generic_macros_msa.h.

Referenced by common_hv_2ht_2vt_8x4_msa(), common_hv_2ht_2vt_8x8mult_msa(), common_hv_2ht_2vt_and_aver_dst_4x8_msa(), common_hv_2ht_2vt_and_aver_dst_8x4_msa(), common_hv_2ht_2vt_and_aver_dst_8x8mult_msa(), common_hv_8ht_8vt_4w_msa(), common_hv_8ht_8vt_8w_msa(), common_hv_8ht_8vt_and_aver_dst_4w_msa(), common_hv_8ht_8vt_and_aver_dst_8w_msa(), common_hz_4t_12w_msa(), common_hz_4t_16w_msa(), common_hz_4t_24w_msa(), common_hz_4t_32w_msa(), common_hz_4t_4x16_msa(), common_hz_4t_4x2_msa(), common_hz_4t_4x4_msa(), common_hz_4t_4x8_msa(), common_hz_4t_6w_msa(), common_hz_4t_8x2mult_msa(), common_hz_4t_8x4mult_msa(), common_hz_6t_4x4_msa(), common_hz_6t_4x8_msa(), common_hz_8t_12w_msa(), common_hz_8t_16w_msa(), common_hz_8t_24w_msa(), common_hz_8t_32w_msa(), common_hz_8t_48w_msa(), common_hz_8t_4x16_msa(), common_hz_8t_4x4_msa(), common_hz_8t_4x8_msa(), common_hz_8t_64w_msa(), common_hz_8t_8x4_msa(), common_hz_8t_8x8mult_msa(), common_hz_8t_and_aver_dst_16w_msa(), common_hz_8t_and_aver_dst_32w_msa(), common_hz_8t_and_aver_dst_4x4_msa(), common_hz_8t_and_aver_dst_4x8_msa(), common_hz_8t_and_aver_dst_64w_msa(), common_hz_8t_and_aver_dst_8w_msa(), common_vt_2t_4x4_msa(), common_vt_2t_4x8_msa(), common_vt_2t_8x4_msa(), common_vt_2t_8x8mult_msa(), common_vt_2t_and_aver_dst_4x4_msa(), common_vt_2t_and_aver_dst_4x8_msa(), common_vt_2t_and_aver_dst_8x4_msa(), common_vt_2t_and_aver_dst_8x8mult_msa(), common_vt_4t_12w_msa(), common_vt_4t_16w_msa(), common_vt_4t_24w_msa(), common_vt_4t_32w_mult_msa(), common_vt_4t_4x2_msa(), common_vt_4t_4x4multiple_msa(), common_vt_4t_6w_msa(), common_vt_4t_8x2_msa(), common_vt_4t_8x4mult_msa(), common_vt_4t_8x6_msa(), common_vt_8t_12w_msa(), common_vt_8t_16w_msa(), common_vt_8t_16w_mult_msa(), common_vt_8t_4w_msa(), common_vt_8t_8w_msa(), common_vt_8t_and_aver_dst_16w_mult_msa(), common_vt_8t_and_aver_dst_4w_msa(), common_vt_8t_and_aver_dst_8w_msa(), ff_avg_bilin_16hv_msa(), ff_put_bilin_16hv_msa(), ff_put_bilin_16v_msa(), ff_put_bilin_32v_msa(), ff_put_bilin_64v_msa(), ff_put_vp8_bilinear16_hv_msa(), ff_put_vp8_bilinear16_v_msa(), ff_put_vp8_epel16_h4_msa(), ff_put_vp8_epel16_h6_msa(), ff_put_vp8_epel16_v4_msa(), ff_put_vp8_epel16_v6_msa(), ff_put_vp8_epel4_h4v4_msa(), ff_put_vp8_epel4_h4v6_msa(), ff_put_vp8_epel4_h6v4_msa(), ff_put_vp8_epel4_h6v6_msa(), ff_put_vp8_epel4_v4_msa(), ff_put_vp8_epel4_v6_msa(), ff_put_vp8_epel8_h4_msa(), ff_put_vp8_epel8_h4v4_msa(), ff_put_vp8_epel8_h4v6_msa(), ff_put_vp8_epel8_h6_msa(), ff_put_vp8_epel8_h6v4_msa(), ff_put_vp8_epel8_h6v6_msa(), ff_put_vp8_epel8_v4_msa(), ff_put_vp8_epel8_v6_msa(), h263_dct_unquantize_msa(), hevc_hv_4t_4multx8mult_msa(), hevc_hv_4t_4x2_msa(), hevc_hv_4t_4x4_msa(), hevc_hv_4t_6w_msa(), hevc_hv_4t_8multx4mult_msa(), hevc_hv_4t_8x2_msa(), hevc_hv_4t_8x6_msa(), hevc_hv_8t_4w_msa(), hevc_hv_8t_8multx2mult_msa(), hevc_hv_bi_4t_4multx8mult_msa(), hevc_hv_bi_4t_4x2_msa(), hevc_hv_bi_4t_4x4_msa(), hevc_hv_bi_4t_6w_msa(), hevc_hv_bi_4t_8multx4mult_msa(), hevc_hv_bi_4t_8x2_msa(), hevc_hv_bi_4t_8x6_msa(), hevc_hv_bi_8t_4w_msa(), hevc_hv_bi_8t_8multx2mult_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_8multx4mult_msa(), hevc_hv_biwgt_4t_8x2_msa(), hevc_hv_biwgt_4t_8x6_msa(), hevc_hv_biwgt_8t_4w_msa(), hevc_hv_biwgt_8t_8multx2mult_msa(), hevc_hv_uni_4t_4multx8mult_msa(), hevc_hv_uni_4t_4x2_msa(), hevc_hv_uni_4t_4x4_msa(), hevc_hv_uni_4t_6w_msa(), hevc_hv_uni_4t_8w_mult_msa(), hevc_hv_uni_4t_8x2_msa(), hevc_hv_uni_4t_8x6_msa(), hevc_hv_uni_8t_4w_msa(), hevc_hv_uni_8t_8multx2mult_msa(), hevc_hv_uniwgt_4t_4multx8mult_msa(), hevc_hv_uniwgt_4t_4x2_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(), hevc_hv_uniwgt_8t_4w_msa(), hevc_hv_uniwgt_8t_8multx2mult_msa(), hevc_hz_4t_12w_msa(), hevc_hz_4t_16w_msa(), hevc_hz_4t_24w_msa(), hevc_hz_4t_32w_msa(), hevc_hz_4t_4x2_msa(), hevc_hz_4t_4x4_msa(), hevc_hz_4t_4x8multiple_msa(), hevc_hz_4t_6w_msa(), hevc_hz_4t_8x2multiple_msa(), hevc_hz_4t_8x4multiple_msa(), hevc_hz_8t_16w_msa(), hevc_hz_8t_24w_msa(), hevc_hz_8t_32w_msa(), hevc_hz_8t_48w_msa(), hevc_hz_8t_4w_msa(), hevc_hz_8t_64w_msa(), hevc_hz_8t_8w_msa(), hevc_hz_bi_4t_12w_msa(), hevc_hz_bi_4t_16w_msa(), hevc_hz_bi_4t_24w_msa(), hevc_hz_bi_4t_32w_msa(), hevc_hz_bi_4t_4x2_msa(), hevc_hz_bi_4t_4x4_msa(), hevc_hz_bi_4t_4x8multiple_msa(), hevc_hz_bi_4t_6w_msa(), hevc_hz_bi_4t_8x2_msa(), hevc_hz_bi_4t_8x4multiple_msa(), hevc_hz_bi_4t_8x6_msa(), hevc_hz_bi_8t_16w_msa(), hevc_hz_bi_8t_24w_msa(), hevc_hz_bi_8t_32w_msa(), hevc_hz_bi_8t_48w_msa(), hevc_hz_bi_8t_4w_msa(), hevc_hz_bi_8t_64w_msa(), hevc_hz_bi_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_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_4x2_msa(), hevc_hz_uniwgt_4t_4x4_msa(), hevc_hz_uniwgt_4t_4x8multiple_msa(), hevc_hz_uniwgt_4t_6w_msa(), hevc_hz_uniwgt_4t_8x2_msa(), hevc_hz_uniwgt_4t_8x4multiple_msa(), hevc_hz_uniwgt_4t_8x6_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_idct_8x32_column_msa(), hevc_sao_edge_filter_0degree_4width_msa(), hevc_sao_edge_filter_0degree_8width_msa(), hevc_sao_edge_filter_135degree_4width_msa(), hevc_sao_edge_filter_135degree_8width_msa(), hevc_sao_edge_filter_45degree_4width_msa(), hevc_sao_edge_filter_45degree_8width_msa(), hevc_sao_edge_filter_90degree_4width_msa(), hevc_sao_edge_filter_90degree_8width_msa(), hevc_vt_4t_12w_msa(), hevc_vt_4t_16w_msa(), hevc_vt_4t_24w_msa(), hevc_vt_4t_32w_msa(), hevc_vt_4t_4x2_msa(), hevc_vt_4t_4x4_msa(), hevc_vt_4t_4x8multiple_msa(), hevc_vt_4t_6w_msa(), hevc_vt_4t_8x2_msa(), hevc_vt_4t_8x4multiple_msa(), hevc_vt_4t_8x6_msa(), hevc_vt_8t_12w_msa(), hevc_vt_8t_16multx4mult_msa(), hevc_vt_8t_4w_msa(), hevc_vt_8t_8w_msa(), hevc_vt_bi_4t_12w_msa(), hevc_vt_bi_4t_16w_msa(), hevc_vt_bi_4t_24w_msa(), hevc_vt_bi_4t_32w_msa(), hevc_vt_bi_4t_4x2_msa(), hevc_vt_bi_4t_4x4_msa(), hevc_vt_bi_4t_4x8multiple_msa(), hevc_vt_bi_4t_6w_msa(), hevc_vt_bi_4t_8x2_msa(), hevc_vt_bi_4t_8x4multiple_msa(), hevc_vt_bi_4t_8x6_msa(), hevc_vt_bi_8t_12w_msa(), hevc_vt_bi_8t_16multx2mult_msa(), hevc_vt_bi_8t_4w_msa(), hevc_vt_bi_8t_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_4x2_msa(), hevc_vt_uniwgt_4t_4x4_msa(), hevc_vt_uniwgt_4t_4x8multiple_msa(), hevc_vt_uniwgt_4t_6w_msa(), hevc_vt_uniwgt_4t_8x2_msa(), hevc_vt_uniwgt_4t_8x4multiple_msa(), hevc_vt_uniwgt_4t_8x6_msa(), hevc_vt_uniwgt_8t_12w_msa(), hevc_vt_uniwgt_8t_16multx2mult_msa(), hevc_vt_uniwgt_8t_4w_msa(), hevc_vt_uniwgt_8t_8w_msa(), vp9_iadst16_1d_columns_addblk_msa(), vp9_idct8x32_column_butterfly_addblk(), vp9_idct8x32_column_odd_process_store(), and vp9_idct_butterfly_transpose_store().

#define LD_W (   RTYPE,
  psrc 
)    *((RTYPE *)(psrc))

Definition at line 38 of file generic_macros_msa.h.

#define LD_UW (   ...)    LD_W(v4u32, __VA_ARGS__)

Definition at line 39 of file generic_macros_msa.h.

#define LD_SW (   ...)    LD_W(v4i32, __VA_ARGS__)

Definition at line 40 of file generic_macros_msa.h.

#define ST_B (   RTYPE,
  in,
  pdst 
)    *((RTYPE *)(pdst)) = (in)

Definition at line 42 of file generic_macros_msa.h.

#define ST_UB (   ...)    ST_B(v16u8, __VA_ARGS__)

Definition at line 43 of file generic_macros_msa.h.

Referenced by avc_loopfilter_cb_or_cr_inter_edge_hor_msa(), avc_loopfilter_cb_or_cr_intra_edge_hor_msa(), avc_loopfilter_luma_inter_edge_hor_msa(), avc_loopfilter_luma_intra_edge_hor_msa(), common_hz_4t_16w_msa(), common_hz_4t_24w_msa(), common_hz_4t_32w_msa(), common_hz_8t_16w_msa(), common_hz_8t_24w_msa(), common_hz_8t_32w_msa(), common_hz_8t_48w_msa(), common_hz_8t_64w_msa(), common_vt_4t_24w_msa(), common_vt_4t_32w_mult_msa(), ff_intra_pred_8_16x16_msa(), ff_put_vp8_epel16_h4_msa(), ff_put_vp8_epel16_h6_msa(), ff_vert_16x16_msa(), hevc_intra_pred_angular_upper_16width_msa(), hevc_intra_pred_dc_16x16_msa(), hevc_intra_pred_vert_16x16_msa(), hevc_sao_edge_filter_0degree_16multiple_msa(), horiz_mc_qpel_16width_msa(), horiz_mc_qpel_aver_src0_16width_msa(), horiz_mc_qpel_aver_src1_16width_msa(), horiz_mc_qpel_no_rnd_16width_msa(), horiz_mc_qpel_no_rnd_aver_src0_16width_msa(), horiz_mc_qpel_no_rnd_aver_src1_16width_msa(), hv_mc_qpel_aver_horiz_16x16_msa(), hv_mc_qpel_aver_horiz_src0_16x16_msa(), hv_mc_qpel_aver_horiz_src1_16x16_msa(), hv_mc_qpel_no_rnd_horiz_16x16_msa(), hv_mc_qpel_no_rnd_horiz_src0_16x16_msa(), hv_mc_qpel_no_rnd_horiz_src1_16x16_msa(), intra_predict_dc_16x16_msa(), intra_predict_vert_16x16_msa(), memset_zero_16width_msa(), vert_mc_qpel_16x16_msa(), vert_mc_qpel_aver_src0_16x16_msa(), vert_mc_qpel_aver_src1_16x16_msa(), vert_mc_qpel_no_rnd_16x16_msa(), vert_mc_qpel_no_rnd_aver_src0_16x16_msa(), vert_mc_qpel_no_rnd_aver_src1_16x16_msa(), vp9_hz_lpf_t16_16w(), vp9_hz_lpf_t4_and_t8_16w(), vp9_vt_lpf_t16_16w(), vp9_vt_lpf_t4_and_t8_16w(), and vp9_vt_lpf_t4_and_t8_8w().

#define ST_SB (   ...)    ST_B(v16i8, __VA_ARGS__)
#define ST_H (   RTYPE,
  in,
  pdst 
)    *((RTYPE *)(pdst)) = (in)

Definition at line 46 of file generic_macros_msa.h.

#define ST_UH (   ...)    ST_H(v8u16, __VA_ARGS__)

Definition at line 47 of file generic_macros_msa.h.

#define ST_SH (   ...)    ST_H(v8i16, __VA_ARGS__)
#define ST_W (   RTYPE,
  in,
  pdst 
)    *((RTYPE *)(pdst)) = (in)

Definition at line 50 of file generic_macros_msa.h.

#define ST_UW (   ...)    ST_W(v4u32, __VA_ARGS__)

Definition at line 51 of file generic_macros_msa.h.

#define ST_SW (   ...)    ST_W(v4i32, __VA_ARGS__)
#define LW (   psrc)
#define LD (   psrc)
Value:
( { \
uint8_t *psrc_m1 = (uint8_t *) (psrc); \
uint32_t val0_m, val1_m; \
uint64_t val_m = 0; \
\
val0_m = LW(psrc_m1); \
val1_m = LW(psrc_m1 + 4); \
\
val_m = (uint64_t) (val1_m); \
val_m = (uint64_t) ((val_m << 32) & 0xFFFFFFFF00000000); \
val_m = (uint64_t) (val_m | (uint64_t) val0_m); \
\
val_m; \
} )
#define LW(psrc)
uint8_t

Definition at line 173 of file generic_macros_msa.h.

Referenced by avc_h_loop_filter_luma_mbaff_intra_msa(), avc_h_loop_filter_luma_mbaff_msa(), copy_8x8_msa(), ff_dc_8x8_msa(), hevc_intra_pred_angular_lower_4width_msa(), hevc_intra_pred_angular_upper_4width_msa(), hevc_intra_pred_dc_8x8_msa(), hevc_intra_pred_horiz_8x8_msa(), hevc_intra_pred_plane_8x8_msa(), hevc_intra_pred_vert_8x8_msa(), and intra_predict_plane_16x16_msa().

#define SH (   val,
  pdst 
)
Value:
{ \
uint8_t *pdst_m = (uint8_t *) (pdst); \
uint16_t val_m = (val); \
\
__asm__ volatile ( \
"ush %[val_m], %[pdst_m] \n\t" \
\
: [pdst_m] "=m" (*pdst_m) \
: [val_m] "r" (val_m) \
); \
}
const char const char void * val
Definition: avisynth_c.h:634
uint8_t

Definition at line 190 of file generic_macros_msa.h.

Referenced by avc_chroma_hv_2x2_msa(), avc_chroma_hv_and_aver_dst_2x2_msa(), avc_chroma_hz_2x2_msa(), avc_chroma_hz_and_aver_dst_2x2_msa(), avc_chroma_vt_2x2_msa(), avc_chroma_vt_and_aver_dst_2x2_msa(), avc_deq_idct_luma_dc_msa(), avc_h_loop_filter_chroma422_mbaff_msa(), avc_h_loop_filter_luma_mbaff_intra_msa(), avc_loopfilter_luma_inter_edge_ver_msa(), hevc_loopfilter_luma_ver_msa(), and yuv2gbrp_full_X_c().

#define SW (   val,
  pdst 
)
Value:
{ \
uint8_t *pdst_m = (uint8_t *) (pdst); \
uint32_t val_m = (val); \
\
__asm__ volatile ( \
"usw %[val_m], %[pdst_m] \n\t" \
\
: [pdst_m] "=m" (*pdst_m) \
: [val_m] "r" (val_m) \
); \
}
const char const char void * val
Definition: avisynth_c.h:634
uint8_t

Definition at line 203 of file generic_macros_msa.h.

Referenced by avc_biwgt_4x2_msa(), avc_h_loop_filter_luma_mbaff_intra_msa(), avc_h_loop_filter_luma_mbaff_msa(), avc_loopfilter_luma_inter_edge_ver_msa(), avc_luma_midv_qrt_and_aver_dst_4w_msa(), avc_wgt_4x2_msa(), avg_width4_msa(), common_hv_bil_4w_msa(), common_hv_bil_and_aver_dst_4w_msa(), common_hz_bil_4w_msa(), common_hz_bil_and_aver_dst_4w_msa(), common_vt_8t_12w_msa(), common_vt_bil_4w_msa(), common_vt_bil_and_aver_dst_4w_msa(), evolve(), hevc_hv_4t_6w_msa(), hevc_hz_4t_6w_msa(), hevc_intra_pred_angular_lower_16width_msa(), hevc_intra_pred_angular_lower_32width_msa(), hevc_intra_pred_angular_lower_8width_msa(), hevc_intra_pred_angular_upper_16width_msa(), hevc_intra_pred_angular_upper_8width_msa(), hevc_intra_pred_dc_4x4_msa(), hevc_intra_pred_horiz_4x4_msa(), hevc_loopfilter_luma_ver_msa(), hevc_sao_edge_filter_0degree_4width_msa(), hevc_sao_edge_filter_135degree_4width_msa(), hevc_sao_edge_filter_45degree_4width_msa(), hevc_sao_edge_filter_90degree_4width_msa(), hevc_vt_4t_6w_msa(), intra_predict_dc_4blk_8x8_msa(), intra_predict_dc_8x8_msa(), intra_predict_mad_cow_dc_0lt_8x8_msa(), intra_predict_mad_cow_dc_l0t_8x8_msa(), intra_predict_vert_8x8_msa(), and intra_predict_vert_dc_8x8_msa().

#define SD (   val,
  pdst 
)
Value:
{ \
uint8_t *pdst_m1 = (uint8_t *) (pdst); \
uint32_t val0_m, val1_m; \
\
val0_m = (uint32_t) ((val) & 0x00000000FFFFFFFF); \
val1_m = (uint32_t) (((val) >> 32) & 0x00000000FFFFFFFF); \
SW(val0_m, pdst_m1); \
SW(val1_m, pdst_m1 + 4); \
}
const char const char void * val
Definition: avisynth_c.h:634
uint8_t
#define SW(val, pdst)

Definition at line 216 of file generic_macros_msa.h.

#define LW4 (   psrc,
  stride,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
out0 = LW((psrc)); \
out1 = LW((psrc) + stride); \
out2 = LW((psrc) + 2 * stride); \
out3 = LW((psrc) + 3 * stride); \
}
#define LW(psrc)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 238 of file generic_macros_msa.h.

Referenced by avc_biwgt_4x4multiple_msa(), avc_chroma_vt_and_aver_dst_2x8_msa(), avc_idct4x4_addblk_dc_msa(), avc_wgt_4x4multiple_msa(), hevc_addblk_4x4_msa(), and sse_4width_msa().

#define LD2 (   psrc,
  stride,
  out0,
  out1 
)
Value:
{ \
out0 = LD((psrc)); \
out1 = LD((psrc) + stride); \
}
#define LD(psrc)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 253 of file generic_macros_msa.h.

#define LD4 (   psrc,
  stride,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
LD2((psrc), stride, out0, out1); \
LD2((psrc) + 2 * stride, stride, out2, out3); \
}
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105
#define LD2(psrc, stride, out0, out1)

Definition at line 258 of file generic_macros_msa.h.

Referenced by hevc_addblk_8x8_msa().

#define SW4 (   in0,
  in1,
  in2,
  in3,
  pdst,
  stride 
)
Value:
{ \
SW(in0, (pdst)) \
SW(in1, (pdst) + stride); \
SW(in2, (pdst) + 2 * stride); \
SW(in3, (pdst) + 3 * stride); \
}
#define SW(val, pdst)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 271 of file generic_macros_msa.h.

Referenced by avg_width4_msa(), ff_dc_4x4_msa(), hevc_intra_pred_dc_4x4_msa(), hevc_intra_pred_horiz_4x4_msa(), and hevc_intra_pred_vert_4x4_msa().

#define SD4 (   in0,
  in1,
  in2,
  in3,
  pdst,
  stride 
)
#define LD_B2 (   RTYPE,
  psrc,
  stride,
  out0,
  out1 
)
Value:
{ \
out0 = LD_B(RTYPE, (psrc)); \
out1 = LD_B(RTYPE, (psrc) + stride); \
}
#define LD_B(RTYPE, psrc)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 302 of file generic_macros_msa.h.

#define LD_UB2 (   ...)    LD_B2(v16u8, __VA_ARGS__)

Definition at line 307 of file generic_macros_msa.h.

Referenced by avc_chroma_hv_and_aver_dst_2x2_msa(), avc_chroma_hv_and_aver_dst_4x2_msa(), avc_luma_hz_qrt_and_aver_dst_16x16_msa(), avc_luma_midh_qrt_and_aver_dst_4w_msa(), avc_luma_midv_qrt_and_aver_dst_4w_msa(), avg_width4_msa(), common_hv_bil_and_aver_dst_4w_msa(), common_hz_8t_and_aver_dst_16w_msa(), common_hz_8t_and_aver_dst_32w_msa(), common_hz_8t_and_aver_dst_64w_msa(), common_hz_bil_4w_msa(), common_hz_bil_and_aver_dst_4w_msa(), common_vt_bil_4w_msa(), common_vt_bil_and_aver_dst_4w_msa(), copy_width8_msa(), ff_avg_bilin_32h_msa(), ff_avg_bilin_32v_msa(), ff_avg_bilin_64v_msa(), ff_dc_32x32_msa(), ff_intra_pred_8_32x32_msa(), ff_put_bilin_64v_msa(), hevc_intra_pred_angular_upper_16width_msa(), hevc_intra_pred_angular_upper_32width_msa(), hevc_intra_pred_dc_32x32_msa(), hevc_sao_edge_filter_0degree_4width_msa(), hevc_sao_edge_filter_0degree_8width_msa(), hevc_sao_edge_filter_135degree_4width_msa(), hevc_sao_edge_filter_135degree_8width_msa(), hevc_sao_edge_filter_45degree_4width_msa(), hevc_sao_edge_filter_45degree_8width_msa(), hevc_sao_edge_filter_90degree_16multiple_msa(), hevc_sao_edge_filter_90degree_4width_msa(), hevc_sao_edge_filter_90degree_8width_msa(), horiz_mc_qpel_avg_dst_16width_msa(), horiz_mc_qpel_avg_dst_aver_src0_16width_msa(), horiz_mc_qpel_avg_dst_aver_src1_16width_msa(), hv_mc_qpel_8x8_msa(), hv_mc_qpel_aver_h_src0_8x8_msa(), hv_mc_qpel_aver_horiz_16x16_msa(), hv_mc_qpel_aver_horiz_src0_16x16_msa(), hv_mc_qpel_aver_horiz_src1_16x16_msa(), hv_mc_qpel_aver_hv_src00_8x8_msa(), hv_mc_qpel_aver_hv_src01_8x8_msa(), hv_mc_qpel_aver_hv_src11_8x8_msa(), hv_mc_qpel_aver_v_src0_8x8_msa(), hv_mc_qpel_aver_v_src1_8x8_msa(), hv_mc_qpel_avg_dst_8x8_msa(), hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa(), hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa(), hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa(), hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa(), hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa(), hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa(), hv_mc_qpel_avg_dst_aver_v_src0_8x8_msa(), hv_mc_qpel_avg_dst_aver_v_src1_8x8_msa(), hv_mc_qpel_no_rnd_8x8_msa(), hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa(), hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa(), hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa(), hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa(), hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa(), hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa(), hv_mc_qpel_no_rnd_aver_v_src0_8x8_msa(), hv_mc_qpel_no_rnd_aver_v_src1_8x8_msa(), hv_mc_qpel_no_rnd_horiz_16x16_msa(), hv_mc_qpel_no_rnd_horiz_src0_16x16_msa(), hv_mc_qpel_no_rnd_horiz_src1_16x16_msa(), sad_16width_msa(), vert_mc_qpel_8x8_msa(), vert_mc_qpel_aver_src0_16x16_msa(), vert_mc_qpel_aver_src0_8x8_msa(), vert_mc_qpel_aver_src1_8x8_msa(), vert_mc_qpel_avg_dst_16x16_msa(), vert_mc_qpel_avg_dst_8x8_msa(), vert_mc_qpel_avg_dst_aver_src0_16x16_msa(), vert_mc_qpel_avg_dst_aver_src0_8x8_msa(), vert_mc_qpel_avg_dst_aver_src1_16x16_msa(), vert_mc_qpel_avg_dst_aver_src1_8x8_msa(), vert_mc_qpel_no_rnd_8x8_msa(), vert_mc_qpel_no_rnd_aver_src0_8x8_msa(), vert_mc_qpel_no_rnd_aver_src1_8x8_msa(), vp9_hz_lpf_t16_16w(), vp9_idct32x32_1_add_msa(), vp9_vt_lpf_t16_16w(), and vp9_vt_lpf_t16_8w().

#define LD_SB2 (   ...)    LD_B2(v16i8, __VA_ARGS__)

Definition at line 308 of file generic_macros_msa.h.

Referenced by avc_chroma_hz_2x2_msa(), avc_chroma_hz_4x2_msa(), avc_chroma_hz_and_aver_dst_2x2_msa(), avc_chroma_hz_and_aver_dst_4x2_msa(), avc_luma_hz_16w_msa(), avc_luma_hz_and_aver_dst_16x16_msa(), avc_luma_hz_qrt_16w_msa(), avc_luma_hz_qrt_and_aver_dst_16x16_msa(), avc_luma_midh_qrt_4w_msa(), avc_luma_midh_qrt_and_aver_dst_4w_msa(), avc_luma_midv_qrt_and_aver_dst_4w_msa(), common_hv_bil_4w_msa(), common_hv_bil_and_aver_dst_4w_msa(), common_hz_4t_4x2_msa(), common_hz_4t_8x2mult_msa(), common_hz_8t_16w_msa(), common_hz_8t_24w_msa(), common_hz_8t_and_aver_dst_16w_msa(), common_vt_4t_24w_msa(), common_vt_4t_32w_mult_msa(), common_vt_4t_4x2_msa(), common_vt_8t_12w_msa(), ff_avg_bilin_16hv_msa(), ff_put_bilin_16hv_msa(), ff_put_vp8_bilinear16_hv_msa(), ff_put_vp8_epel4_h6v6_msa(), hevc_bi_copy_4w_msa(), hevc_bi_copy_8w_msa(), hevc_biwgt_copy_4w_msa(), hevc_biwgt_copy_8w_msa(), hevc_copy_4w_msa(), hevc_copy_8w_msa(), hevc_hv_4t_4x2_msa(), hevc_hv_4t_8x2_msa(), hevc_hv_4t_8x6_msa(), hevc_hv_8t_4w_msa(), hevc_hv_8t_8multx2mult_msa(), hevc_hv_bi_4t_4x2_msa(), hevc_hv_bi_4t_8x2_msa(), hevc_hv_bi_4t_8x6_msa(), hevc_hv_bi_8t_4w_msa(), hevc_hv_bi_8t_8multx2mult_msa(), hevc_hv_biwgt_4t_4x2_msa(), hevc_hv_biwgt_4t_8x2_msa(), hevc_hv_biwgt_4t_8x6_msa(), hevc_hv_biwgt_8t_4w_msa(), hevc_hv_biwgt_8t_8multx2mult_msa(), hevc_hv_uni_4t_4x2_msa(), hevc_hv_uni_4t_8x2_msa(), hevc_hv_uni_4t_8x6_msa(), hevc_hv_uni_8t_4w_msa(), hevc_hv_uni_8t_8multx2mult_msa(), hevc_hv_uniwgt_4t_4x2_msa(), hevc_hv_uniwgt_4t_8x2_msa(), hevc_hv_uniwgt_4t_8x6_msa(), hevc_hv_uniwgt_8t_4w_msa(), hevc_hv_uniwgt_8t_8multx2mult_msa(), hevc_hz_4t_32w_msa(), hevc_hz_4t_4x2_msa(), hevc_hz_4t_8x2multiple_msa(), hevc_hz_8t_24w_msa(), hevc_hz_8t_32w_msa(), hevc_hz_bi_4t_32w_msa(), hevc_hz_bi_4t_4x2_msa(), hevc_hz_bi_4t_8x2_msa(), hevc_hz_bi_8t_16w_msa(), hevc_hz_bi_8t_24w_msa(), hevc_hz_bi_8t_32w_msa(), hevc_hz_bi_8t_48w_msa(), hevc_hz_bi_8t_64w_msa(), hevc_hz_biwgt_4t_24w_msa(), hevc_hz_biwgt_4t_32w_msa(), hevc_hz_biwgt_4t_4x2_msa(), hevc_hz_biwgt_4t_8x2_msa(), hevc_hz_biwgt_8t_16w_msa(), hevc_hz_biwgt_8t_24w_msa(), hevc_hz_biwgt_8t_32w_msa(), hevc_hz_biwgt_8t_64w_msa(), hevc_hz_uniwgt_4t_24w_msa(), hevc_hz_uniwgt_4t_32w_msa(), hevc_hz_uniwgt_4t_4x2_msa(), hevc_hz_uniwgt_4t_8x2_msa(), hevc_hz_uniwgt_8t_16w_msa(), hevc_hz_uniwgt_8t_24w_msa(), hevc_hz_uniwgt_8t_32w_msa(), hevc_hz_uniwgt_8t_64w_msa(), hevc_intra_pred_angular_lower_16width_msa(), hevc_intra_pred_angular_lower_32width_msa(), hevc_uniwgt_copy_4w_msa(), hevc_uniwgt_copy_8w_msa(), hevc_vt_4t_12w_msa(), hevc_vt_4t_16w_msa(), hevc_vt_4t_24w_msa(), hevc_vt_4t_32w_msa(), hevc_vt_4t_4x8multiple_msa(), hevc_vt_4t_6w_msa(), hevc_vt_4t_8x2_msa(), hevc_vt_4t_8x4multiple_msa(), hevc_vt_4t_8x6_msa(), hevc_vt_bi_4t_12w_msa(), hevc_vt_bi_4t_16w_msa(), hevc_vt_bi_4t_24w_msa(), hevc_vt_bi_4t_32w_msa(), hevc_vt_bi_4t_4x2_msa(), hevc_vt_bi_4t_4x8multiple_msa(), hevc_vt_bi_4t_6w_msa(), hevc_vt_bi_4t_8x2_msa(), hevc_vt_bi_4t_8x4multiple_msa(), hevc_vt_bi_8t_16multx2mult_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_4x8multiple_msa(), hevc_vt_biwgt_4t_6w_msa(), hevc_vt_biwgt_4t_8x2_msa(), hevc_vt_biwgt_4t_8x4multiple_msa(), hevc_vt_biwgt_8t_12w_msa(), hevc_vt_biwgt_8t_16multx2mult_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_4x2_msa(), hevc_vt_uniwgt_4t_4x8multiple_msa(), hevc_vt_uniwgt_4t_6w_msa(), hevc_vt_uniwgt_4t_8x2_msa(), hevc_vt_uniwgt_4t_8x4multiple_msa(), and hevc_vt_uniwgt_8t_16multx2mult_msa().

#define LD_B3 (   RTYPE,
  psrc,
  stride,
  out0,
  out1,
  out2 
)
Value:
{ \
LD_B2(RTYPE, (psrc), stride, out0, out1); \
out2 = LD_B(RTYPE, (psrc) + 2 * stride); \
}
#define LD_B(RTYPE, psrc)
#define LD_B2(RTYPE, psrc, stride, out0, out1)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 310 of file generic_macros_msa.h.

#define LD_UB3 (   ...)    LD_B3(v16u8, __VA_ARGS__)
#define LD_SB3 (   ...)    LD_B3(v16i8, __VA_ARGS__)

Definition at line 316 of file generic_macros_msa.h.

Referenced by avc_chroma_vt_2x2_msa(), avc_chroma_vt_and_aver_dst_2x2_msa(), avc_chroma_vt_and_aver_dst_4x2_msa(), avc_luma_hv_qrt_4w_msa(), avc_luma_hv_qrt_8w_msa(), avc_luma_hv_qrt_and_aver_dst_4x4_msa(), avc_luma_hv_qrt_and_aver_dst_8x8_msa(), avc_luma_hz_16w_msa(), avc_luma_hz_4w_msa(), avc_luma_hz_8w_msa(), avc_luma_hz_and_aver_dst_16x16_msa(), avc_luma_hz_and_aver_dst_4x4_msa(), avc_luma_hz_and_aver_dst_8x8_msa(), avc_luma_hz_qrt_16w_msa(), avc_luma_hz_qrt_4w_msa(), avc_luma_hz_qrt_8w_msa(), avc_luma_hz_qrt_and_aver_dst_16x16_msa(), avc_luma_hz_qrt_and_aver_dst_4x4_msa(), avc_luma_hz_qrt_and_aver_dst_8x8_msa(), avc_luma_mid_4w_msa(), avc_luma_mid_8w_msa(), avc_luma_mid_and_aver_dst_4x4_msa(), avc_luma_mid_and_aver_dst_8w_msa(), avc_luma_midv_qrt_4w_msa(), avc_luma_midv_qrt_8w_msa(), avc_luma_midv_qrt_and_aver_dst_4w_msa(), avc_luma_midv_qrt_and_aver_dst_8w_msa(), common_hz_8t_48w_msa(), common_vt_4t_12w_msa(), common_vt_4t_16w_msa(), common_vt_4t_24w_msa(), common_vt_4t_32w_mult_msa(), common_vt_4t_4x2_msa(), common_vt_4t_4x4multiple_msa(), common_vt_4t_8x4mult_msa(), common_vt_4t_8x6_msa(), ff_put_vp8_epel16_v4_msa(), ff_put_vp8_epel4_h4v4_msa(), ff_put_vp8_epel4_h6v4_msa(), ff_put_vp8_epel4_v4_msa(), ff_put_vp8_epel8_h4v4_msa(), ff_put_vp8_epel8_h6v4_msa(), ff_put_vp8_epel8_v4_msa(), hevc_hv_4t_4multx8mult_msa(), hevc_hv_4t_4x2_msa(), hevc_hv_4t_4x4_msa(), hevc_hv_4t_6w_msa(), hevc_hv_4t_8multx4mult_msa(), hevc_hv_4t_8x2_msa(), hevc_hv_4t_8x6_msa(), hevc_hv_bi_4t_4multx8mult_msa(), hevc_hv_bi_4t_4x2_msa(), hevc_hv_bi_4t_4x4_msa(), hevc_hv_bi_4t_6w_msa(), hevc_hv_bi_4t_8multx4mult_msa(), hevc_hv_bi_4t_8x2_msa(), hevc_hv_bi_4t_8x6_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_8multx4mult_msa(), hevc_hv_biwgt_4t_8x2_msa(), hevc_hv_biwgt_4t_8x6_msa(), hevc_hv_uni_4t_4multx8mult_msa(), hevc_hv_uni_4t_4x2_msa(), hevc_hv_uni_4t_4x4_msa(), hevc_hv_uni_4t_6w_msa(), hevc_hv_uni_4t_8w_mult_msa(), hevc_hv_uni_4t_8x2_msa(), hevc_hv_uni_4t_8x6_msa(), hevc_hv_uniwgt_4t_4multx8mult_msa(), hevc_hv_uniwgt_4t_4x2_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(), hevc_hz_8t_48w_msa(), hevc_hz_biwgt_8t_48w_msa(), hevc_hz_uniwgt_8t_48w_msa(), hevc_vt_4t_12w_msa(), hevc_vt_4t_16w_msa(), hevc_vt_4t_24w_msa(), hevc_vt_4t_32w_msa(), hevc_vt_4t_4x8multiple_msa(), hevc_vt_4t_6w_msa(), hevc_vt_4t_8x2_msa(), hevc_vt_4t_8x4multiple_msa(), hevc_vt_4t_8x6_msa(), hevc_vt_bi_4t_12w_msa(), hevc_vt_bi_4t_16w_msa(), hevc_vt_bi_4t_24w_msa(), hevc_vt_bi_4t_32w_msa(), hevc_vt_bi_4t_4x2_msa(), hevc_vt_bi_4t_4x4_msa(), hevc_vt_bi_4t_4x8multiple_msa(), hevc_vt_bi_4t_6w_msa(), hevc_vt_bi_4t_8x2_msa(), hevc_vt_bi_4t_8x4multiple_msa(), hevc_vt_bi_4t_8x6_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_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_4x2_msa(), hevc_vt_uniwgt_4t_4x4_msa(), hevc_vt_uniwgt_4t_4x8multiple_msa(), hevc_vt_uniwgt_4t_6w_msa(), hevc_vt_uniwgt_4t_8x2_msa(), hevc_vt_uniwgt_4t_8x4multiple_msa(), and hevc_vt_uniwgt_4t_8x6_msa().

#define LD_B4 (   RTYPE,
  psrc,
  stride,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
LD_B2(RTYPE, (psrc), stride, out0, out1); \
LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \
}
#define LD_B2(RTYPE, psrc, stride, out0, out1)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 318 of file generic_macros_msa.h.

#define LD_UB4 (   ...)    LD_B4(v16u8, __VA_ARGS__)

Definition at line 323 of file generic_macros_msa.h.

Referenced by avc_chroma_hv_2x8_msa(), avc_chroma_hv_4x4multiple_msa(), avc_chroma_hv_8w_msa(), avc_chroma_hv_and_aver_dst_2x4_msa(), avc_chroma_hv_and_aver_dst_2x8_msa(), avc_chroma_hv_and_aver_dst_4x4mul_msa(), avc_chroma_hv_and_aver_dst_8w_msa(), avc_chroma_hz_2x4_msa(), avc_chroma_hz_4x4multiple_msa(), avc_chroma_hz_8w_msa(), avc_chroma_hz_and_aver_dst_2x4_msa(), avc_chroma_hz_and_aver_dst_4x4multiple_msa(), avc_chroma_hz_and_aver_dst_8w_msa(), avc_chroma_vt_2x8_msa(), avc_chroma_vt_4x4multiple_msa(), avc_chroma_vt_8w_msa(), avc_chroma_vt_and_aver_dst_8w_msa(), avc_loopfilter_cb_or_cr_inter_edge_hor_msa(), avc_loopfilter_cb_or_cr_intra_edge_hor_msa(), avc_loopfilter_luma_intra_edge_hor_msa(), avc_luma_hv_qrt_and_aver_dst_4x4_msa(), avc_luma_hv_qrt_and_aver_dst_8x8_msa(), avc_luma_hz_and_aver_dst_16x16_msa(), avc_luma_hz_and_aver_dst_4x4_msa(), avc_luma_hz_and_aver_dst_8x8_msa(), avc_luma_hz_qrt_and_aver_dst_4x4_msa(), avc_luma_hz_qrt_and_aver_dst_8x8_msa(), avc_luma_mid_and_aver_dst_4x4_msa(), avc_luma_mid_and_aver_dst_8w_msa(), avc_luma_midv_qrt_and_aver_dst_8w_msa(), avc_luma_vt_and_aver_dst_16x16_msa(), avc_luma_vt_and_aver_dst_4x4_msa(), avc_luma_vt_and_aver_dst_8x8_msa(), avc_luma_vt_qrt_and_aver_dst_16x16_msa(), avc_luma_vt_qrt_and_aver_dst_4x4_msa(), avc_luma_vt_qrt_and_aver_dst_8x8_msa(), avc_wgt_16width_msa(), avc_wgt_8width_msa(), avg_width32_msa(), avg_width4_msa(), avg_width64_msa(), avg_width8_msa(), common_hv_2ht_2vt_and_aver_dst_4x4_msa(), common_hv_2ht_2vt_and_aver_dst_8x4_msa(), common_hv_2ht_2vt_and_aver_dst_8x8mult_msa(), common_hv_8ht_8vt_and_aver_dst_4w_msa(), common_hv_8ht_8vt_and_aver_dst_8w_msa(), common_hv_bil_and_aver_dst_8w_msa(), common_hz_2t_and_aver_dst_4x4_msa(), common_hz_2t_and_aver_dst_8x4_msa(), common_hz_2t_and_aver_dst_8x8mult_msa(), common_hz_8t_and_aver_dst_4x4_msa(), common_hz_8t_and_aver_dst_8w_msa(), common_hz_bil_no_rnd_16x16_msa(), common_vt_2t_and_aver_dst_4x4_msa(), common_vt_2t_and_aver_dst_8x4_msa(), common_vt_4t_6w_msa(), common_vt_8t_and_aver_dst_16w_mult_msa(), common_vt_8t_and_aver_dst_4w_msa(), common_vt_8t_and_aver_dst_8w_msa(), common_vt_bil_8w_msa(), common_vt_bil_and_aver_dst_8w_msa(), copy_8bit_to_16bit_width8_msa(), copy_width16_msa(), copy_width32_msa(), copy_width8_msa(), ff_avg_bilin_16h_msa(), ff_avg_bilin_16hv_msa(), ff_avg_bilin_16v_msa(), ff_avg_bilin_32v_msa(), ff_avg_bilin_64h_msa(), ff_avg_bilin_64v_msa(), ff_loop_filter_v_16_8_msa(), ff_put_bilin_16v_msa(), ff_put_bilin_32v_msa(), ff_put_bilin_64v_msa(), ff_put_vp8_bilinear16_v_msa(), ff_put_vp8_pixels16_msa(), ff_put_vp8_pixels8_msa(), ff_vp8_v_loop_filter_simple_msa(), h263_v_loop_filter_msa(), hevc_addblk_16x16_msa(), hevc_addblk_32x32_msa(), hevc_sao_band_filter_16multiple_msa(), hevc_sao_band_filter_4width_msa(), hevc_sao_band_filter_8width_msa(), hevc_sao_edge_filter_0degree_16multiple_msa(), hevc_sao_edge_filter_135degree_16multiple_msa(), hevc_sao_edge_filter_45degree_16multiple_msa(), hevc_sao_edge_filter_90degree_16multiple_msa(), horiz_mc_qpel_16width_msa(), horiz_mc_qpel_8width_msa(), horiz_mc_qpel_aver_src0_16width_msa(), horiz_mc_qpel_aver_src0_8width_msa(), horiz_mc_qpel_aver_src1_16width_msa(), horiz_mc_qpel_aver_src1_8width_msa(), horiz_mc_qpel_avg_dst_16width_msa(), horiz_mc_qpel_avg_dst_8width_msa(), horiz_mc_qpel_avg_dst_aver_src0_16width_msa(), horiz_mc_qpel_avg_dst_aver_src0_8width_msa(), horiz_mc_qpel_avg_dst_aver_src1_16width_msa(), horiz_mc_qpel_avg_dst_aver_src1_8width_msa(), horiz_mc_qpel_no_rnd_16width_msa(), horiz_mc_qpel_no_rnd_8width_msa(), horiz_mc_qpel_no_rnd_aver_src0_16width_msa(), horiz_mc_qpel_no_rnd_aver_src0_8width_msa(), horiz_mc_qpel_no_rnd_aver_src1_16width_msa(), horiz_mc_qpel_no_rnd_aver_src1_8width_msa(), hv_mc_qpel_aver_h_src1_8x8_msa(), hv_mc_qpel_aver_horiz_16x16_msa(), hv_mc_qpel_aver_horiz_src0_16x16_msa(), hv_mc_qpel_aver_horiz_src1_16x16_msa(), hv_mc_qpel_aver_hv_src00_8x8_msa(), hv_mc_qpel_aver_hv_src01_8x8_msa(), hv_mc_qpel_aver_hv_src10_8x8_msa(), hv_mc_qpel_aver_hv_src11_8x8_msa(), hv_mc_qpel_no_rnd_horiz_16x16_msa(), hv_mc_qpel_no_rnd_horiz_src0_16x16_msa(), hv_mc_qpel_no_rnd_horiz_src1_16x16_msa(), sad_8width_msa(), sad_horiz_bilinear_filter_16width_msa(), sad_horiz_bilinear_filter_8width_msa(), sad_hv_bilinear_filter_16width_msa(), sad_hv_bilinear_filter_8width_msa(), sad_vert_bilinear_filter_16width_msa(), sad_vert_bilinear_filter_8width_msa(), sse_8width_msa(), vert_mc_qpel_16x16_msa(), vert_mc_qpel_8x8_msa(), vert_mc_qpel_aver_src0_8x8_msa(), vert_mc_qpel_aver_src1_16x16_msa(), vert_mc_qpel_aver_src1_8x8_msa(), vert_mc_qpel_avg_dst_8x8_msa(), vert_mc_qpel_avg_dst_aver_src0_8x8_msa(), vert_mc_qpel_avg_dst_aver_src1_8x8_msa(), vert_mc_qpel_no_rnd_8x8_msa(), vert_mc_qpel_no_rnd_aver_src0_8x8_msa(), vert_mc_qpel_no_rnd_aver_src1_8x8_msa(), vp9_hz_lpf_t16_16w(), vp9_idct16x16_1_add_msa(), vp9_vt_lpf_t16_16w(), and vp9_vt_lpf_t16_8w().

#define LD_SB4 (   ...)    LD_B4(v16i8, __VA_ARGS__)

Definition at line 324 of file generic_macros_msa.h.

Referenced by avc_biwgt_16width_msa(), avc_biwgt_8width_msa(), avc_chroma_vt_and_aver_dst_2x8_msa(), avc_chroma_vt_and_aver_dst_4x4mul_msa(), avc_luma_hv_qrt_4w_msa(), avc_luma_hv_qrt_8w_msa(), avc_luma_hv_qrt_and_aver_dst_4x4_msa(), avc_luma_hv_qrt_and_aver_dst_8x8_msa(), avc_luma_hz_4w_msa(), avc_luma_hz_8w_msa(), avc_luma_hz_and_aver_dst_4x4_msa(), avc_luma_hz_and_aver_dst_8x8_msa(), avc_luma_hz_qrt_4w_msa(), avc_luma_hz_qrt_8w_msa(), avc_luma_hz_qrt_and_aver_dst_4x4_msa(), avc_luma_hz_qrt_and_aver_dst_8x8_msa(), avc_luma_mid_4w_msa(), avc_luma_mid_8w_msa(), avc_luma_mid_and_aver_dst_4x4_msa(), avc_luma_mid_and_aver_dst_8w_msa(), avc_luma_midv_qrt_4w_msa(), avc_luma_midv_qrt_8w_msa(), avc_luma_midv_qrt_and_aver_dst_8w_msa(), avc_luma_vt_16w_msa(), avc_luma_vt_4w_msa(), avc_luma_vt_8w_msa(), avc_luma_vt_and_aver_dst_16x16_msa(), avc_luma_vt_and_aver_dst_4x4_msa(), avc_luma_vt_and_aver_dst_8x8_msa(), avc_luma_vt_qrt_16w_msa(), avc_luma_vt_qrt_4w_msa(), avc_luma_vt_qrt_8w_msa(), avc_luma_vt_qrt_and_aver_dst_16x16_msa(), avc_luma_vt_qrt_and_aver_dst_4x4_msa(), avc_luma_vt_qrt_and_aver_dst_8x8_msa(), common_hv_2ht_2vt_8x8mult_msa(), common_hv_2ht_2vt_and_aver_dst_8x8mult_msa(), common_hv_8ht_8vt_4w_msa(), common_hv_8ht_8vt_8w_msa(), common_hv_8ht_8vt_and_aver_dst_4w_msa(), common_hv_8ht_8vt_and_aver_dst_8w_msa(), common_hv_bil_8w_msa(), common_hv_bil_and_aver_dst_8w_msa(), common_hv_bil_no_rnd_4x8_msa(), common_hz_2t_4x4_msa(), common_hz_2t_8x4_msa(), common_hz_2t_8x8mult_msa(), common_hz_2t_and_aver_dst_4x4_msa(), common_hz_2t_and_aver_dst_8x4_msa(), common_hz_2t_and_aver_dst_8x8mult_msa(), common_hz_4t_12w_msa(), common_hz_4t_16w_msa(), common_hz_4t_24w_msa(), common_hz_4t_4x4_msa(), common_hz_4t_4x8_msa(), common_hz_4t_6w_msa(), common_hz_4t_8x4mult_msa(), common_hz_6t_4x4_msa(), common_hz_6t_4x8_msa(), common_hz_8t_12w_msa(), common_hz_8t_4x16_msa(), common_hz_8t_4x4_msa(), common_hz_8t_4x8_msa(), common_hz_8t_8x4_msa(), common_hz_8t_8x8mult_msa(), common_hz_8t_and_aver_dst_4x4_msa(), common_hz_8t_and_aver_dst_4x8_msa(), common_hz_8t_and_aver_dst_8w_msa(), common_hz_bil_8w_msa(), common_hz_bil_and_aver_dst_8w_msa(), common_hz_bil_no_rnd_4x8_msa(), common_vt_2t_and_aver_dst_4x4_msa(), common_vt_4t_12w_msa(), common_vt_4t_16w_msa(), common_vt_4t_8x4mult_msa(), common_vt_8t_16w_msa(), common_vt_8t_16w_mult_msa(), common_vt_8t_4w_msa(), common_vt_8t_8w_msa(), common_vt_8t_and_aver_dst_16w_mult_msa(), common_vt_8t_and_aver_dst_4w_msa(), common_vt_8t_and_aver_dst_8w_msa(), ff_avg_bilin_16h_msa(), ff_avg_bilin_16hv_msa(), ff_avg_bilin_64h_msa(), ff_put_bilin_16h_msa(), ff_put_bilin_16hv_msa(), ff_put_vp8_bilinear16_h_msa(), ff_put_vp8_bilinear16_hv_msa(), ff_put_vp8_epel16_h4_msa(), ff_put_vp8_epel16_h6_msa(), ff_put_vp8_epel16_v4_msa(), ff_put_vp8_epel16_v6_msa(), ff_put_vp8_epel4_h4v4_msa(), ff_put_vp8_epel4_h4v6_msa(), ff_put_vp8_epel4_h6v4_msa(), ff_put_vp8_epel4_v6_msa(), ff_put_vp8_epel8_h4_msa(), ff_put_vp8_epel8_h4v4_msa(), ff_put_vp8_epel8_h4v6_msa(), ff_put_vp8_epel8_h6_msa(), ff_put_vp8_epel8_h6v4_msa(), ff_put_vp8_epel8_h6v6_msa(), ff_put_vp8_epel8_v4_msa(), ff_put_vp8_epel8_v6_msa(), ff_vp8_idct_add_msa(), ff_vp8_idct_dc_add_msa(), hevc_bi_copy_12w_msa(), hevc_bi_copy_16multx4mult_msa(), hevc_bi_copy_4w_msa(), hevc_bi_copy_8w_msa(), hevc_biwgt_copy_12w_msa(), hevc_biwgt_copy_16multx4mult_msa(), hevc_biwgt_copy_4w_msa(), hevc_biwgt_copy_6w_msa(), hevc_biwgt_copy_8w_msa(), hevc_copy_16w_msa(), hevc_copy_4w_msa(), hevc_copy_8w_msa(), hevc_hv_4t_4x4_msa(), hevc_hv_4t_6w_msa(), hevc_hv_4t_8multx4mult_msa(), hevc_hv_bi_4t_4x4_msa(), hevc_hv_bi_4t_6w_msa(), hevc_hv_bi_4t_8multx4mult_msa(), hevc_hv_biwgt_4t_4x4_msa(), hevc_hv_biwgt_4t_6w_msa(), hevc_hv_biwgt_4t_8multx4mult_msa(), hevc_hv_uni_4t_4x4_msa(), hevc_hv_uni_4t_6w_msa(), hevc_hv_uni_4t_8w_mult_msa(), hevc_hv_uniwgt_4t_4x4_msa(), hevc_hv_uniwgt_4t_6w_msa(), hevc_hv_uniwgt_4t_8multx4mult_msa(), hevc_hz_4t_12w_msa(), hevc_hz_4t_16w_msa(), hevc_hz_4t_24w_msa(), hevc_hz_4t_4x4_msa(), hevc_hz_4t_6w_msa(), hevc_hz_4t_8x4multiple_msa(), hevc_hz_8t_16w_msa(), hevc_hz_8t_64w_msa(), hevc_hz_8t_8w_msa(), hevc_hz_bi_4t_12w_msa(), hevc_hz_bi_4t_16w_msa(), hevc_hz_bi_4t_24w_msa(), hevc_hz_bi_4t_4x4_msa(), hevc_hz_bi_4t_6w_msa(), hevc_hz_bi_4t_8x4multiple_msa(), hevc_hz_bi_8t_8w_msa(), hevc_hz_biwgt_4t_12w_msa(), hevc_hz_biwgt_4t_16w_msa(), hevc_hz_biwgt_4t_4x4_msa(), hevc_hz_biwgt_4t_6w_msa(), hevc_hz_biwgt_4t_8x4multiple_msa(), hevc_hz_biwgt_8t_4w_msa(), hevc_hz_biwgt_8t_8w_msa(), hevc_hz_uniwgt_4t_12w_msa(), hevc_hz_uniwgt_4t_16w_msa(), hevc_hz_uniwgt_4t_4x4_msa(), hevc_hz_uniwgt_4t_6w_msa(), hevc_hz_uniwgt_4t_8x4multiple_msa(), hevc_hz_uniwgt_8t_8w_msa(), hevc_uniwgt_copy_12w_msa(), hevc_uniwgt_copy_16multx4mult_msa(), hevc_uniwgt_copy_4w_msa(), hevc_uniwgt_copy_8w_msa(), hevc_vt_8t_12w_msa(), hevc_vt_8t_16multx4mult_msa(), hevc_vt_8t_8w_msa(), hevc_vt_bi_4t_4x4_msa(), hevc_vt_bi_8t_12w_msa(), hevc_vt_bi_8t_8w_msa(), hevc_vt_biwgt_4t_4x4_msa(), hevc_vt_biwgt_8t_8w_msa(), hevc_vt_uniwgt_4t_4x4_msa(), hevc_vt_uniwgt_8t_12w_msa(), and hevc_vt_uniwgt_8t_8w_msa().

#define LD_B5 (   RTYPE,
  psrc,
  stride,
  out0,
  out1,
  out2,
  out3,
  out4 
)
Value:
{ \
LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \
out4 = LD_B(RTYPE, (psrc) + 4 * stride); \
}
#define LD_B(RTYPE, psrc)
#define LD_B4(RTYPE, psrc, stride, out0, out1, out2, out3)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 326 of file generic_macros_msa.h.

#define LD_UB5 (   ...)    LD_B5(v16u8, __VA_ARGS__)
#define LD_SB5 (   ...)    LD_B5(v16i8, __VA_ARGS__)
#define LD_B6 (   RTYPE,
  psrc,
  stride,
  out0,
  out1,
  out2,
  out3,
  out4,
  out5 
)
Value:
{ \
LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \
LD_B2(RTYPE, (psrc) + 4 * stride, stride, out4, out5); \
}
#define LD_B2(RTYPE, psrc, stride, out0, out1)
#define LD_B4(RTYPE, psrc, stride, out0, out1, out2, out3)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 334 of file generic_macros_msa.h.

#define LD_UB6 (   ...)    LD_B6(v16u8, __VA_ARGS__)

Definition at line 339 of file generic_macros_msa.h.

#define LD_SB6 (   ...)    LD_B6(v16i8, __VA_ARGS__)
#define LD_B7 (   RTYPE,
  psrc,
  stride,
  out0,
  out1,
  out2,
  out3,
  out4,
  out5,
  out6 
)
Value:
{ \
LD_B5(RTYPE, (psrc), stride, out0, out1, out2, out3, out4); \
LD_B2(RTYPE, (psrc) + 5 * stride, stride, out5, out6); \
}
#define LD_B2(RTYPE, psrc, stride, out0, out1)
#define LD_B5(RTYPE, psrc, stride, out0, out1, out2, out3, out4)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 342 of file generic_macros_msa.h.

#define LD_UB7 (   ...)    LD_B7(v16u8, __VA_ARGS__)

Definition at line 348 of file generic_macros_msa.h.

#define LD_SB7 (   ...)    LD_B7(v16i8, __VA_ARGS__)
#define LD_B8 (   RTYPE,
  psrc,
  stride,
  out0,
  out1,
  out2,
  out3,
  out4,
  out5,
  out6,
  out7 
)
Value:
{ \
LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \
LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \
}
#define LD_B4(RTYPE, psrc, stride, out0, out1, out2, out3)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 351 of file generic_macros_msa.h.

#define LD_UB8 (   ...)    LD_B8(v16u8, __VA_ARGS__)

Definition at line 357 of file generic_macros_msa.h.

Referenced by add_pixels_clamped_msa(), avc_chroma_hv_and_aver_dst_2x8_msa(), avc_chroma_hz_2x8_msa(), avc_chroma_hz_and_aver_dst_2x8_msa(), avc_loopfilter_cb_or_cr_inter_edge_ver_msa(), avc_loopfilter_cb_or_cr_intra_edge_ver_msa(), avc_loopfilter_luma_inter_edge_ver_msa(), avc_loopfilter_luma_intra_edge_ver_msa(), avg_width16_msa(), common_hv_2ht_2vt_and_aver_dst_4x8_msa(), common_hv_bil_16w_msa(), common_hv_bil_and_aver_dst_16w_msa(), common_hv_bil_no_rnd_16x16_msa(), common_hv_bil_no_rnd_8x16_msa(), common_hv_bil_no_rnd_8x8_msa(), common_hz_2t_and_aver_dst_4x8_msa(), common_hz_8t_and_aver_dst_4x8_msa(), common_hz_bil_16w_msa(), common_hz_bil_and_aver_dst_16w_msa(), common_hz_bil_no_rnd_16x16_msa(), common_hz_bil_no_rnd_8x16_msa(), common_vt_2t_8x8mult_msa(), common_vt_2t_and_aver_dst_4x8_msa(), common_vt_2t_and_aver_dst_8x8mult_msa(), common_vt_bil_16w_msa(), common_vt_bil_and_aver_dst_16w_msa(), common_vt_bil_no_rnd_16x16_msa(), common_vt_bil_no_rnd_8x16_msa(), common_vt_bil_no_rnd_8x8_msa(), copy_16multx8mult_msa(), copy_16x16_msa(), copy_width12_msa(), copy_width16_msa(), copy_width8_msa(), diff_pixels_msa(), ff_loop_filter_h_44_16_msa(), ff_loop_filter_h_48_16_msa(), ff_loop_filter_h_4_8_msa(), ff_loop_filter_h_84_16_msa(), ff_loop_filter_h_88_16_msa(), ff_loop_filter_h_8_8_msa(), ff_loop_filter_v_16_8_msa(), ff_loop_filter_v_44_16_msa(), ff_loop_filter_v_48_16_msa(), ff_loop_filter_v_4_8_msa(), ff_loop_filter_v_84_16_msa(), ff_loop_filter_v_88_16_msa(), ff_loop_filter_v_8_8_msa(), ff_put_vp8_pixels8_msa(), ff_vp8_h_loop_filter16_inner_msa(), ff_vp8_h_loop_filter16_msa(), ff_vp8_h_loop_filter8uv_inner_msa(), ff_vp8_h_loop_filter8uv_msa(), ff_vp8_h_loop_filter_simple_msa(), ff_vp8_v_loop_filter16_inner_msa(), ff_vp8_v_loop_filter16_msa(), ff_vp8_v_loop_filter8uv_inner_msa(), ff_vp8_v_loop_filter8uv_msa(), h263_h_loop_filter_msa(), hadamard_diff_8x8_msa(), hadamard_intra_8x8_msa(), hevc_loopfilter_chroma_ver_msa(), sum_u8src_16width_msa(), vp9_hz_lpf_t16_16w(), vp9_hz_lpf_t4_and_t8_16w(), vp9_transpose_16x16(), vp9_transpose_16x8_to_8x16(), vp9_transpose_8x16_to_16x8(), vp9_vt_lpf_t16_16w(), vp9_vt_lpf_t16_8w(), vp9_vt_lpf_t4_and_t8_16w(), and vp9_vt_lpf_t4_and_t8_8w().

#define LD_SB8 (   ...)    LD_B8(v16i8, __VA_ARGS__)
#define LD_H2 (   RTYPE,
  psrc,
  stride,
  out0,
  out1 
)
Value:
{ \
out0 = LD_H(RTYPE, (psrc)); \
out1 = LD_H(RTYPE, (psrc) + (stride)); \
}
#define LD_H(RTYPE, psrc)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 367 of file generic_macros_msa.h.

#define LD_UH2 (   ...)    LD_H2(v8u16, __VA_ARGS__)

Definition at line 372 of file generic_macros_msa.h.

#define LD_SH2 (   ...)    LD_H2(v8i16, __VA_ARGS__)
#define LD_H4 (   RTYPE,
  psrc,
  stride,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
LD_H2(RTYPE, (psrc), stride, out0, out1); \
LD_H2(RTYPE, (psrc) + 2 * stride, stride, out2, out3); \
}
#define LD_H2(RTYPE, psrc, stride, out0, out1)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 375 of file generic_macros_msa.h.

#define LD_UH4 (   ...)    LD_H4(v8u16, __VA_ARGS__)

Definition at line 380 of file generic_macros_msa.h.

#define LD_SH4 (   ...)    LD_H4(v8i16, __VA_ARGS__)

Definition at line 381 of file generic_macros_msa.h.

Referenced by hevc_addblk_16x16_msa(), hevc_addblk_32x32_msa(), hevc_bi_copy_12w_msa(), hevc_bi_copy_16multx4mult_msa(), hevc_bi_copy_4w_msa(), hevc_bi_copy_8w_msa(), hevc_biwgt_copy_12w_msa(), hevc_biwgt_copy_16multx4mult_msa(), hevc_biwgt_copy_4w_msa(), hevc_biwgt_copy_6w_msa(), hevc_biwgt_copy_8w_msa(), hevc_hv_bi_4t_4x4_msa(), hevc_hv_bi_4t_6w_msa(), hevc_hv_bi_4t_8multx4mult_msa(), hevc_hv_biwgt_4t_4x4_msa(), hevc_hv_biwgt_4t_6w_msa(), hevc_hv_biwgt_4t_8multx4mult_msa(), hevc_hz_bi_4t_12w_msa(), hevc_hz_bi_4t_16w_msa(), hevc_hz_bi_4t_24w_msa(), hevc_hz_bi_4t_32w_msa(), hevc_hz_bi_4t_4x4_msa(), hevc_hz_bi_4t_4x8multiple_msa(), hevc_hz_bi_4t_6w_msa(), hevc_hz_bi_4t_8x4multiple_msa(), hevc_hz_bi_4t_8x6_msa(), hevc_hz_bi_8t_32w_msa(), hevc_hz_bi_8t_64w_msa(), hevc_hz_bi_8t_8w_msa(), hevc_hz_biwgt_4t_12w_msa(), hevc_hz_biwgt_4t_16w_msa(), hevc_hz_biwgt_4t_32w_msa(), hevc_hz_biwgt_4t_4x4_msa(), hevc_hz_biwgt_4t_4x8multiple_msa(), hevc_hz_biwgt_4t_6w_msa(), hevc_hz_biwgt_4t_8x4multiple_msa(), hevc_hz_biwgt_4t_8x6_msa(), hevc_hz_biwgt_8t_32w_msa(), hevc_hz_biwgt_8t_4w_msa(), hevc_hz_biwgt_8t_64w_msa(), hevc_hz_biwgt_8t_8w_msa(), hevc_idct_8x32_column_msa(), hevc_vt_bi_4t_12w_msa(), hevc_vt_bi_4t_4x4_msa(), hevc_vt_bi_4t_6w_msa(), hevc_vt_bi_4t_8x4multiple_msa(), hevc_vt_bi_8t_12w_msa(), hevc_vt_bi_8t_8w_msa(), hevc_vt_biwgt_4t_12w_msa(), hevc_vt_biwgt_4t_4x4_msa(), hevc_vt_biwgt_4t_6w_msa(), hevc_vt_biwgt_4t_8x4multiple_msa(), hevc_vt_biwgt_8t_8w_msa(), mpeg2_dct_unquantize_inter_msa(), simple_idct_add_msa(), and vp9_idct8x32_column_odd_process_store().

#define LD_H6 (   RTYPE,
  psrc,
  stride,
  out0,
  out1,
  out2,
  out3,
  out4,
  out5 
)
Value:
{ \
LD_H4(RTYPE, (psrc), stride, out0, out1, out2, out3); \
LD_H2(RTYPE, (psrc) + 4 * stride, stride, out4, out5); \
}
#define LD_H2(RTYPE, psrc, stride, out0, out1)
#define LD_H4(RTYPE, psrc, stride, out0, out1, out2, out3)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 383 of file generic_macros_msa.h.

#define LD_UH6 (   ...)    LD_H6(v8u16, __VA_ARGS__)

Definition at line 388 of file generic_macros_msa.h.

#define LD_SH6 (   ...)    LD_H6(v8i16, __VA_ARGS__)
#define LD_H8 (   RTYPE,
  psrc,
  stride,
  out0,
  out1,
  out2,
  out3,
  out4,
  out5,
  out6,
  out7 
)
Value:
{ \
LD_H4(RTYPE, (psrc), stride, out0, out1, out2, out3); \
LD_H4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \
}
#define LD_H4(RTYPE, psrc, stride, out0, out1, out2, out3)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 391 of file generic_macros_msa.h.

#define LD_UH8 (   ...)    LD_H8(v8u16, __VA_ARGS__)

Definition at line 397 of file generic_macros_msa.h.

Referenced by hevc_loopfilter_luma_ver_msa().

#define LD_SH8 (   ...)    LD_H8(v8i16, __VA_ARGS__)
#define LD_H16 (   RTYPE,
  psrc,
  stride,
  out0,
  out1,
  out2,
  out3,
  out4,
  out5,
  out6,
  out7,
  out8,
  out9,
  out10,
  out11,
  out12,
  out13,
  out14,
  out15 
)
Value:
{ \
LD_H8(RTYPE, (psrc), stride, \
out0, out1, out2, out3, out4, out5, out6, out7); \
LD_H8(RTYPE, (psrc) + 8 * stride, stride, \
out8, out9, out10, out11, out12, out13, out14, out15); \
}
#define LD_H8(RTYPE, psrc, stride,out0, out1, out2, out3, out4, out5, out6, out7)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 400 of file generic_macros_msa.h.

#define LD_SH16 (   ...)    LD_H16(v8i16, __VA_ARGS__)

Definition at line 409 of file generic_macros_msa.h.

Referenced by hevc_idct_16x16_msa(), and vp9_iadst16_1d_columns_msa().

#define LD4x4_SH (   psrc,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
out0 = LD_SH(psrc); \
out2 = LD_SH(psrc + 8); \
out1 = (v8i16) __msa_ilvl_d((v2i64) out0, (v2i64) out0); \
out3 = (v8i16) __msa_ilvl_d((v2i64) out2, (v2i64) out2); \
}
#define LD_SH(...)

Definition at line 416 of file generic_macros_msa.h.

Referenced by avc_deq_idct_luma_dc_msa(), avc_idct4x4_addblk_msa(), vp9_iadst4x4_colcol_addblk_msa(), vp9_iadst_idct_4x4_add_msa(), vp9_idct4x4_colcol_addblk_msa(), and vp9_idct_iadst_4x4_add_msa().

#define LD_SW2 (   psrc,
  stride,
  out0,
  out1 
)
Value:
{ \
out0 = LD_SW((psrc)); \
out1 = LD_SW((psrc) + stride); \
}
#define LD_SW(...)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 430 of file generic_macros_msa.h.

Referenced by hevc_idct_8x32_column_msa().

#define ST_B2 (   RTYPE,
  in0,
  in1,
  pdst,
  stride 
)
Value:
{ \
ST_B(RTYPE, in0, (pdst)); \
ST_B(RTYPE, in1, (pdst) + stride); \
}
#define ST_B(RTYPE, in, pdst)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 442 of file generic_macros_msa.h.

#define ST_UB2 (   ...)    ST_B2(v16u8, __VA_ARGS__)
#define ST_SB2 (   ...)    ST_B2(v16i8, __VA_ARGS__)
#define ST_B4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  pdst,
  stride 
)
Value:
{ \
ST_B2(RTYPE, in0, in1, (pdst), stride); \
ST_B2(RTYPE, in2, in3, (pdst) + 2 * stride, stride); \
}
#define ST_B2(RTYPE, in0, in1, pdst, stride)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 450 of file generic_macros_msa.h.

#define ST_UB4 (   ...)    ST_B4(v16u8, __VA_ARGS__)
#define ST_SB4 (   ...)    ST_B4(v16i8, __VA_ARGS__)
#define ST_B8 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  pdst,
  stride 
)
Value:
{ \
ST_B4(RTYPE, in0, in1, in2, in3, pdst, stride); \
ST_B4(RTYPE, in4, in5, in6, in7, (pdst) + 4 * stride, stride); \
}
#define ST_B4(RTYPE, in0, in1, in2, in3, pdst, stride)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 458 of file generic_macros_msa.h.

#define ST_UB8 (   ...)    ST_B8(v16u8, __VA_ARGS__)
#define ST_H2 (   RTYPE,
  in0,
  in1,
  pdst,
  stride 
)
Value:
{ \
ST_H(RTYPE, in0, (pdst)); \
ST_H(RTYPE, in1, (pdst) + stride); \
}
#define ST_H(RTYPE, in, pdst)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 472 of file generic_macros_msa.h.

#define ST_UH2 (   ...)    ST_H2(v8u16, __VA_ARGS__)

Definition at line 477 of file generic_macros_msa.h.

#define ST_SH2 (   ...)    ST_H2(v8i16, __VA_ARGS__)
#define ST_H4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  pdst,
  stride 
)
Value:
{ \
ST_H2(RTYPE, in0, in1, (pdst), stride); \
ST_H2(RTYPE, in2, in3, (pdst) + 2 * stride, stride); \
}
#define ST_H2(RTYPE, in0, in1, pdst, stride)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 480 of file generic_macros_msa.h.

#define ST_SH4 (   ...)    ST_H4(v8i16, __VA_ARGS__)
#define ST_H6 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  pdst,
  stride 
)
Value:
{ \
ST_H4(RTYPE, in0, in1, in2, in3, (pdst), stride); \
ST_H2(RTYPE, in4, in5, (pdst) + 4 * stride, stride); \
}
#define ST_H4(RTYPE, in0, in1, in2, in3, pdst, stride)
#define ST_H2(RTYPE, in0, in1, pdst, stride)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 487 of file generic_macros_msa.h.

#define ST_SH6 (   ...)    ST_H6(v8i16, __VA_ARGS__)

Definition at line 492 of file generic_macros_msa.h.

Referenced by hevc_copy_8w_msa(), and hevc_hz_8t_48w_msa().

#define ST_H8 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  pdst,
  stride 
)
Value:
{ \
ST_H4(RTYPE, in0, in1, in2, in3, (pdst), stride); \
ST_H4(RTYPE, in4, in5, in6, in7, (pdst) + 4 * stride, stride); \
}
#define ST_H4(RTYPE, in0, in1, in2, in3, pdst, stride)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 494 of file generic_macros_msa.h.

#define ST_SH8 (   ...)    ST_H8(v8i16, __VA_ARGS__)
#define ST_SW2 (   in0,
  in1,
  pdst,
  stride 
)
#define ST_SW8 (   in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  pdst,
  stride 
)
Value:
{ \
ST_SW2(in0, in1, (pdst), stride); \
ST_SW2(in2, in3, (pdst) + 2 * stride, stride); \
ST_SW2(in4, in5, (pdst) + 4 * stride, stride); \
ST_SW2(in6, in7, (pdst) + 6 * stride, stride); \
}
#define ST_SW2(in0, in1, pdst, stride)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 513 of file generic_macros_msa.h.

Referenced by simple_idct_msa().

#define ST2x4_UB (   in,
  stidx,
  pdst,
  stride 
)
Value:
{ \
uint16_t out0_m, out1_m, out2_m, out3_m; \
uint8_t *pblk_2x4_m = (uint8_t *) (pdst); \
\
out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \
out1_m = __msa_copy_u_h((v8i16) in, (stidx + 1)); \
out2_m = __msa_copy_u_h((v8i16) in, (stidx + 2)); \
out3_m = __msa_copy_u_h((v8i16) in, (stidx + 3)); \
SH(out0_m, pblk_2x4_m); \
SH(out1_m, pblk_2x4_m + stride); \
SH(out2_m, pblk_2x4_m + 2 * stride); \
SH(out3_m, pblk_2x4_m + 3 * stride); \
}
uint8_t
uint8_t pi<< 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> in
#define SH(val, pdst)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 534 of file generic_macros_msa.h.

Referenced by avc_chroma_hv_2x4_msa(), avc_chroma_hv_2x8_msa(), avc_chroma_hv_and_aver_dst_2x4_msa(), avc_chroma_hv_and_aver_dst_2x8_msa(), avc_chroma_hz_2x4_msa(), avc_chroma_hz_2x8_msa(), avc_chroma_hz_and_aver_dst_2x4_msa(), avc_chroma_hz_and_aver_dst_2x8_msa(), avc_chroma_vt_2x4_msa(), avc_chroma_vt_2x8_msa(), avc_chroma_vt_and_aver_dst_2x4_msa(), avc_chroma_vt_and_aver_dst_2x8_msa(), avc_h_loop_filter_chroma422_msa(), avc_loopfilter_cb_or_cr_inter_edge_ver_msa(), avc_loopfilter_cb_or_cr_intra_edge_ver_msa(), avc_loopfilter_luma_intra_edge_ver_msa(), ff_loop_filter_h_48_16_msa(), ff_loop_filter_h_84_16_msa(), ff_loop_filter_h_88_16_msa(), ff_loop_filter_h_8_8_msa(), ff_vp8_h_loop_filter_simple_msa(), hevc_intra_pred_angular_lower_32width_msa(), hevc_loopfilter_chroma_ver_msa(), vp9_vt_lpf_t16_16w(), and vp9_vt_lpf_t16_8w().

#define ST4x2_UB (   in,
  pdst,
  stride 
)
Value:
{ \
uint32_t out0_m, out1_m; \
uint8_t *pblk_4x2_m = (uint8_t *) (pdst); \
\
out0_m = __msa_copy_u_w((v4i32) in, 0); \
out1_m = __msa_copy_u_w((v4i32) in, 1); \
SW(out0_m, pblk_4x2_m); \
SW(out1_m, pblk_4x2_m + stride); \
}
uint8_t
uint8_t pi<< 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> in
#define SW(val, pdst)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 558 of file generic_macros_msa.h.

Referenced by avc_chroma_hv_4x2_msa(), avc_chroma_hv_and_aver_dst_4x2_msa(), avc_chroma_hz_4x2_msa(), avc_chroma_hz_and_aver_dst_4x2_msa(), avc_chroma_vt_4x2_msa(), avc_chroma_vt_and_aver_dst_4x2_msa(), avc_luma_midh_qrt_4w_msa(), avc_luma_midh_qrt_and_aver_dst_4w_msa(), common_hz_4t_4x2_msa(), common_vt_4t_4x2_msa(), hevc_bi_copy_4w_msa(), hevc_biwgt_copy_4w_msa(), hevc_hv_bi_4t_4x2_msa(), hevc_hv_bi_8t_4w_msa(), hevc_hv_biwgt_4t_4x2_msa(), hevc_hv_biwgt_8t_4w_msa(), hevc_hv_uni_4t_4x2_msa(), hevc_hv_uni_8t_4w_msa(), hevc_hv_uniwgt_4t_4x2_msa(), hevc_hv_uniwgt_8t_4w_msa(), hevc_hz_bi_4t_4x2_msa(), hevc_hz_biwgt_4t_4x2_msa(), hevc_hz_uniwgt_4t_4x2_msa(), hevc_intra_pred_angular_lower_4width_msa(), hevc_uniwgt_copy_4w_msa(), hevc_vt_bi_4t_4x2_msa(), hevc_vt_biwgt_4t_4x2_msa(), hevc_vt_biwgt_8t_12w_msa(), and hevc_vt_uniwgt_4t_4x2_msa().

#define ST4x4_UB (   in0,
  in1,
  idx0,
  idx1,
  idx2,
  idx3,
  pdst,
  stride 
)
Value:
{ \
uint32_t out0_m, out1_m, out2_m, out3_m; \
uint8_t *pblk_4x4_m = (uint8_t *) (pdst); \
\
out0_m = __msa_copy_u_w((v4i32) in0, idx0); \
out1_m = __msa_copy_u_w((v4i32) in0, idx1); \
out2_m = __msa_copy_u_w((v4i32) in1, idx2); \
out3_m = __msa_copy_u_w((v4i32) in1, idx3); \
SW4(out0_m, out1_m, out2_m, out3_m, pblk_4x4_m, stride); \
}
uint8_t
#define SW4(in0, in1, in2, in3, pdst, stride)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 582 of file generic_macros_msa.h.

Referenced by avc_chroma_hv_4x4multiple_msa(), avc_chroma_hv_and_aver_dst_4x4mul_msa(), avc_chroma_hz_4x4multiple_msa(), avc_chroma_hz_and_aver_dst_4x4multiple_msa(), avc_chroma_vt_4x4multiple_msa(), avc_chroma_vt_and_aver_dst_4x4mul_msa(), avc_idct4x4_addblk_dc_msa(), avc_loopfilter_luma_intra_edge_ver_msa(), avc_luma_hv_qrt_4w_msa(), avc_luma_hv_qrt_and_aver_dst_4x4_msa(), avc_luma_hz_4w_msa(), avc_luma_hz_and_aver_dst_4x4_msa(), avc_luma_hz_qrt_4w_msa(), avc_luma_hz_qrt_and_aver_dst_4x4_msa(), avc_luma_mid_4w_msa(), avc_luma_mid_and_aver_dst_4x4_msa(), avc_luma_midv_qrt_4w_msa(), avc_luma_vt_4w_msa(), avc_luma_vt_and_aver_dst_4x4_msa(), avc_luma_vt_qrt_4w_msa(), avc_luma_vt_qrt_and_aver_dst_4x4_msa(), common_hv_2ht_2vt_4x4_msa(), common_hv_2ht_2vt_4x8_msa(), common_hv_2ht_2vt_and_aver_dst_4x4_msa(), common_hv_2ht_2vt_and_aver_dst_4x8_msa(), common_hv_8ht_8vt_4w_msa(), common_hv_8ht_8vt_and_aver_dst_4w_msa(), common_hz_2t_4x4_msa(), common_hz_2t_4x8_msa(), common_hz_2t_and_aver_dst_4x4_msa(), common_hz_2t_and_aver_dst_4x8_msa(), common_hz_4t_12w_msa(), common_hz_4t_4x16_msa(), common_hz_4t_4x4_msa(), common_hz_4t_4x8_msa(), common_hz_6t_4x4_msa(), common_hz_6t_4x8_msa(), common_hz_8t_12w_msa(), common_hz_8t_4x16_msa(), common_hz_8t_4x4_msa(), common_hz_8t_4x8_msa(), common_hz_8t_and_aver_dst_4x4_msa(), common_vt_2t_4x4_msa(), common_vt_2t_4x8_msa(), common_vt_2t_and_aver_dst_4x4_msa(), common_vt_2t_and_aver_dst_4x8_msa(), common_vt_4t_12w_msa(), common_vt_4t_4x4multiple_msa(), common_vt_8t_4w_msa(), common_vt_8t_and_aver_dst_4w_msa(), ff_loop_filter_h_48_16_msa(), ff_loop_filter_h_4_8_msa(), ff_loop_filter_h_84_16_msa(), ff_loop_filter_h_88_16_msa(), ff_loop_filter_h_8_8_msa(), ff_put_vp8_epel4_h4v4_msa(), ff_put_vp8_epel4_h4v6_msa(), ff_put_vp8_epel4_h6v4_msa(), ff_put_vp8_epel4_h6v6_msa(), ff_put_vp8_epel4_v4_msa(), ff_put_vp8_epel4_v6_msa(), ff_tm_4x4_msa(), ff_vp8_h_loop_filter8uv_inner_msa(), ff_vp8_idct_add_msa(), ff_vp8_idct_dc_add_msa(), h263_h_loop_filter_msa(), hevc_addblk_4x4_msa(), hevc_bi_copy_4w_msa(), hevc_biwgt_copy_4w_msa(), hevc_hv_bi_4t_4x4_msa(), hevc_hv_biwgt_4t_4x4_msa(), hevc_hv_uni_4t_4x4_msa(), hevc_hv_uniwgt_4t_4multx8mult_msa(), hevc_hv_uniwgt_4t_4x4_msa(), hevc_hz_bi_4t_4x4_msa(), hevc_hz_biwgt_4t_4x4_msa(), hevc_hz_biwgt_8t_4w_msa(), hevc_hz_uniwgt_4t_4x4_msa(), hevc_intra_pred_angular_upper_4width_msa(), hevc_intra_pred_plane_4x4_msa(), hevc_sao_band_filter_4width_msa(), hevc_uniwgt_copy_4w_msa(), hevc_vt_bi_4t_4x4_msa(), hevc_vt_biwgt_4t_4x4_msa(), hevc_vt_uniwgt_4t_4x4_msa(), vp9_vt_lpf_t16_16w(), and vp9_vt_lpf_t16_8w().

#define ST4x8_UB (   in0,
  in1,
  pdst,
  stride 
)
#define ST6x4_UB (   in0,
  in1,
  pdst,
  stride 
)
Value:
{ \
uint32_t out0_m, out1_m, out2_m, out3_m; \
uint16_t out4_m, out5_m, out6_m, out7_m; \
uint8_t *pblk_6x4_m = (uint8_t *) (pdst); \
\
out0_m = __msa_copy_u_w((v4i32) in0, 0); \
out1_m = __msa_copy_u_w((v4i32) in0, 2); \
out2_m = __msa_copy_u_w((v4i32) in1, 0); \
out3_m = __msa_copy_u_w((v4i32) in1, 2); \
\
out4_m = __msa_copy_u_h((v8i16) in0, 2); \
out5_m = __msa_copy_u_h((v8i16) in0, 6); \
out6_m = __msa_copy_u_h((v8i16) in1, 2); \
out7_m = __msa_copy_u_h((v8i16) in1, 6); \
SW(out0_m, pblk_6x4_m); \
SH(out4_m, (pblk_6x4_m + 4)); \
pblk_6x4_m += stride; \
SW(out1_m, pblk_6x4_m); \
SH(out5_m, (pblk_6x4_m + 4)); \
pblk_6x4_m += stride; \
SW(out2_m, pblk_6x4_m); \
SH(out6_m, (pblk_6x4_m + 4)); \
pblk_6x4_m += stride; \
SW(out3_m, pblk_6x4_m); \
SH(out7_m, (pblk_6x4_m + 4)); \
}
uint8_t
#define SH(val, pdst)
#define SW(val, pdst)
#define stride

Definition at line 615 of file generic_macros_msa.h.

Referenced by common_hz_4t_6w_msa(), common_vt_4t_6w_msa(), hevc_bi_copy_6w_msa(), hevc_biwgt_copy_6w_msa(), hevc_hv_bi_4t_6w_msa(), hevc_hv_biwgt_4t_6w_msa(), hevc_hv_uni_4t_6w_msa(), hevc_hv_uniwgt_4t_6w_msa(), hevc_hz_bi_4t_6w_msa(), hevc_hz_biwgt_4t_6w_msa(), hevc_hz_uniwgt_4t_6w_msa(), hevc_uniwgt_copy_6w_msa(), hevc_vt_bi_4t_6w_msa(), hevc_vt_biwgt_4t_6w_msa(), and hevc_vt_uniwgt_4t_6w_msa().

#define ST8x1_UB (   in,
  pdst 
)
Value:
{ \
uint64_t out0_m; \
out0_m = __msa_copy_u_d((v2i64) in, 0); \
SD(out0_m, pdst); \
}
#define SD(val, pdst)
uint8_t pi<< 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> in

Definition at line 649 of file generic_macros_msa.h.

Referenced by avc_chroma_hz_8w_msa(), avc_luma_midv_qrt_8w_msa(), common_vt_4t_24w_msa(), vp9_iadst16_1d_columns_addblk_msa(), vp9_iadst8x8_colcol_addblk_msa(), and vp9_vt_lpf_t16_8w().

#define ST8x2_UB (   in,
  pdst,
  stride 
)
Value:
{ \
uint64_t out0_m, out1_m; \
uint8_t *pblk_8x2_m = (uint8_t *) (pdst); \
\
out0_m = __msa_copy_u_d((v2i64) in, 0); \
out1_m = __msa_copy_u_d((v2i64) in, 1); \
SD(out0_m, pblk_8x2_m); \
SD(out1_m, pblk_8x2_m + stride); \
}
uint8_t
#define SD(val, pdst)
uint8_t pi<< 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> in
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 663 of file generic_macros_msa.h.

Referenced by common_hz_4t_8x2mult_msa(), common_hz_8t_24w_msa(), common_vt_4t_8x2_msa(), hevc_bi_copy_8w_msa(), hevc_biwgt_copy_8w_msa(), hevc_copy_4w_msa(), hevc_hv_4t_4x2_msa(), hevc_hv_8t_4w_msa(), hevc_hv_bi_4t_8x2_msa(), hevc_hv_bi_4t_8x6_msa(), hevc_hv_bi_8t_8multx2mult_msa(), hevc_hv_biwgt_4t_8x2_msa(), hevc_hv_biwgt_4t_8x6_msa(), hevc_hv_biwgt_8t_8multx2mult_msa(), hevc_hv_uni_4t_8x2_msa(), hevc_hv_uni_4t_8x6_msa(), hevc_hv_uni_8t_8multx2mult_msa(), hevc_hv_uniwgt_4t_8x2_msa(), hevc_hv_uniwgt_4t_8x6_msa(), hevc_hv_uniwgt_8t_8multx2mult_msa(), hevc_hz_4t_4x2_msa(), hevc_hz_bi_4t_8x2_msa(), hevc_hz_bi_4t_8x6_msa(), hevc_hz_biwgt_4t_24w_msa(), hevc_hz_biwgt_4t_8x2_msa(), hevc_hz_biwgt_4t_8x6_msa(), hevc_hz_uniwgt_4t_24w_msa(), hevc_hz_uniwgt_4t_8x2_msa(), hevc_hz_uniwgt_4t_8x6_msa(), hevc_hz_uniwgt_8t_24w_msa(), hevc_loopfilter_chroma_hor_msa(), hevc_uniwgt_copy_8w_msa(), hevc_vt_4t_4x2_msa(), hevc_vt_bi_4t_24w_msa(), hevc_vt_bi_4t_8x2_msa(), hevc_vt_bi_4t_8x6_msa(), hevc_vt_biwgt_4t_24w_msa(), hevc_vt_biwgt_4t_8x2_msa(), hevc_vt_biwgt_4t_8x6_msa(), hevc_vt_biwgt_8t_12w_msa(), hevc_vt_uniwgt_4t_24w_msa(), hevc_vt_uniwgt_4t_8x2_msa(), hevc_vt_uniwgt_4t_8x6_msa(), hv_mc_qpel_8x8_msa(), hv_mc_qpel_aver_h_src0_8x8_msa(), hv_mc_qpel_aver_h_src1_8x8_msa(), hv_mc_qpel_aver_hv_src00_8x8_msa(), hv_mc_qpel_aver_hv_src01_8x8_msa(), hv_mc_qpel_aver_hv_src10_8x8_msa(), hv_mc_qpel_aver_hv_src11_8x8_msa(), hv_mc_qpel_aver_v_src0_8x8_msa(), hv_mc_qpel_aver_v_src1_8x8_msa(), hv_mc_qpel_avg_dst_8x8_msa(), hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa(), hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa(), hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa(), hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa(), hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa(), hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa(), hv_mc_qpel_avg_dst_aver_v_src0_8x8_msa(), hv_mc_qpel_avg_dst_aver_v_src1_8x8_msa(), hv_mc_qpel_no_rnd_8x8_msa(), hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa(), hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa(), hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa(), hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa(), hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa(), hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa(), hv_mc_qpel_no_rnd_aver_v_src0_8x8_msa(), and hv_mc_qpel_no_rnd_aver_v_src1_8x8_msa().

#define ST8x4_UB (   in0,
  in1,
  pdst,
  stride 
)
Value:
{ \
uint64_t out0_m, out1_m, out2_m, out3_m; \
uint8_t *pblk_8x4_m = (uint8_t *) (pdst); \
\
out0_m = __msa_copy_u_d((v2i64) in0, 0); \
out1_m = __msa_copy_u_d((v2i64) in0, 1); \
out2_m = __msa_copy_u_d((v2i64) in1, 0); \
out3_m = __msa_copy_u_d((v2i64) in1, 1); \
SD4(out0_m, out1_m, out2_m, out3_m, pblk_8x4_m, stride); \
}
uint8_t
#define SD4(in0, in1, in2, in3, pdst, stride)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 687 of file generic_macros_msa.h.

Referenced by avc_biwgt_8width_msa(), avc_chroma_hv_8w_msa(), avc_chroma_hv_and_aver_dst_8w_msa(), avc_chroma_hz_8w_msa(), avc_chroma_hz_and_aver_dst_8w_msa(), avc_chroma_vt_8w_msa(), avc_chroma_vt_and_aver_dst_8w_msa(), avc_idct8_addblk_msa(), avc_idct8_dc_addblk_msa(), avc_luma_hv_qrt_8w_msa(), avc_luma_hz_8w_msa(), avc_luma_hz_qrt_8w_msa(), avc_luma_mid_8w_msa(), avc_luma_vt_8w_msa(), avc_luma_vt_qrt_8w_msa(), avc_luma_vt_qrt_and_aver_dst_8x8_msa(), avc_wgt_8width_msa(), common_hv_2ht_2vt_8x4_msa(), common_hv_2ht_2vt_8x8mult_msa(), common_hv_8ht_8vt_8w_msa(), common_hv_bil_8w_msa(), common_hv_bil_no_rnd_4x8_msa(), common_hv_bil_no_rnd_8x8_msa(), common_hz_2t_8x4_msa(), common_hz_2t_8x8mult_msa(), common_hz_4t_12w_msa(), common_hz_4t_24w_msa(), common_hz_4t_8x4mult_msa(), common_hz_8t_12w_msa(), common_hz_8t_8x4_msa(), common_hz_8t_8x8mult_msa(), common_vt_2t_8x4_msa(), common_vt_2t_8x8mult_msa(), common_vt_4t_12w_msa(), common_vt_4t_8x4mult_msa(), common_vt_8t_8w_msa(), ff_put_vp8_epel8_h4_msa(), ff_put_vp8_epel8_h4v4_msa(), ff_put_vp8_epel8_h4v6_msa(), ff_put_vp8_epel8_h6_msa(), ff_put_vp8_epel8_h6v4_msa(), ff_put_vp8_epel8_h6v6_msa(), ff_put_vp8_epel8_v4_msa(), ff_put_vp8_epel8_v6_msa(), ff_tm_8x8_msa(), hevc_addblk_8x8_msa(), hevc_bi_copy_8w_msa(), hevc_biwgt_copy_8w_msa(), hevc_copy_12w_msa(), hevc_copy_4w_msa(), hevc_hv_4t_4x4_msa(), hevc_hv_bi_4t_8multx4mult_msa(), hevc_hv_bi_4t_8x6_msa(), hevc_hv_biwgt_4t_8multx4mult_msa(), hevc_hv_biwgt_4t_8x6_msa(), hevc_hv_uni_4t_8w_mult_msa(), hevc_hv_uni_4t_8x6_msa(), hevc_hv_uniwgt_4t_8multx4mult_msa(), hevc_hv_uniwgt_4t_8x6_msa(), hevc_hz_4t_12w_msa(), hevc_hz_4t_4x4_msa(), hevc_hz_bi_4t_24w_msa(), hevc_hz_bi_4t_8x4multiple_msa(), hevc_hz_bi_4t_8x6_msa(), hevc_hz_bi_8t_8w_msa(), hevc_hz_biwgt_4t_8x4multiple_msa(), hevc_hz_biwgt_4t_8x6_msa(), hevc_hz_biwgt_8t_8w_msa(), hevc_hz_uniwgt_4t_8x4multiple_msa(), hevc_hz_uniwgt_4t_8x6_msa(), hevc_hz_uniwgt_8t_8w_msa(), hevc_intra_pred_angular_upper_8width_msa(), hevc_loopfilter_luma_hor_msa(), hevc_sao_band_filter_8width_msa(), hevc_uniwgt_copy_8w_msa(), hevc_vt_4t_12w_msa(), hevc_vt_4t_4x4_msa(), hevc_vt_8t_12w_msa(), hevc_vt_bi_4t_8x4multiple_msa(), hevc_vt_bi_4t_8x6_msa(), hevc_vt_bi_8t_8w_msa(), hevc_vt_biwgt_4t_8x4multiple_msa(), hevc_vt_biwgt_4t_8x6_msa(), hevc_vt_biwgt_8t_8w_msa(), hevc_vt_uniwgt_4t_8x4multiple_msa(), hevc_vt_uniwgt_4t_8x6_msa(), hevc_vt_uniwgt_8t_8w_msa(), horiz_mc_qpel_8width_msa(), horiz_mc_qpel_aver_src0_8width_msa(), horiz_mc_qpel_aver_src1_8width_msa(), horiz_mc_qpel_avg_dst_8width_msa(), horiz_mc_qpel_avg_dst_aver_src0_8width_msa(), horiz_mc_qpel_avg_dst_aver_src1_8width_msa(), horiz_mc_qpel_no_rnd_8width_msa(), horiz_mc_qpel_no_rnd_aver_src0_8width_msa(), horiz_mc_qpel_no_rnd_aver_src1_8width_msa(), hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa(), vert_mc_qpel_8x8_msa(), vert_mc_qpel_aver_src0_8x8_msa(), vert_mc_qpel_aver_src1_8x8_msa(), vert_mc_qpel_avg_dst_8x8_msa(), vert_mc_qpel_avg_dst_aver_src0_8x8_msa(), vert_mc_qpel_avg_dst_aver_src1_8x8_msa(), vert_mc_qpel_no_rnd_8x8_msa(), vert_mc_qpel_no_rnd_aver_src0_8x8_msa(), and vert_mc_qpel_no_rnd_aver_src1_8x8_msa().

#define ST8x8_UB (   in0,
  in1,
  in2,
  in3,
  pdst,
  stride 
)
Value:
{ \
uint8_t *pblk_8x8_m = (uint8_t *) (pdst); \
ST8x4_UB(in0, in1, pblk_8x8_m, stride); \
ST8x4_UB(in2, in3, pblk_8x8_m + 4 * stride, stride); \
}
uint8_t
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105
#define ST8x4_UB(in0, in1, pdst, stride)

Definition at line 699 of file generic_macros_msa.h.

Referenced by hevc_copy_4w_msa(), hevc_hv_4t_4multx8mult_msa(), hevc_hz_4t_4x8multiple_msa(), hevc_hz_8t_4w_msa(), hevc_intra_pred_plane_8x8_msa(), hevc_vt_4t_4x8multiple_msa(), and hevc_vt_8t_4w_msa().

#define ST12x4_UB (   in0,
  in1,
  in2,
  pdst,
  stride 
)
Value:
{ \
uint8_t *pblk_12x4_m = (uint8_t *) (pdst); \
\
/* left 8x4 */ \
ST8x4_UB(in0, in1, pblk_12x4_m, stride); \
/* right 4x4 */ \
ST4x4_UB(in2, in2, 0, 1, 2, 3, pblk_12x4_m + 8, stride); \
}
#define ST4x4_UB(in0, in1, idx0, idx1, idx2, idx3, pdst, stride)
uint8_t
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105
#define ST8x4_UB(in0, in1, pdst, stride)

Definition at line 706 of file generic_macros_msa.h.

Referenced by hevc_bi_copy_12w_msa(), hevc_biwgt_copy_12w_msa(), hevc_hz_bi_4t_12w_msa(), hevc_hz_biwgt_4t_12w_msa(), hevc_hz_uniwgt_4t_12w_msa(), hevc_uniwgt_copy_12w_msa(), hevc_vt_bi_4t_12w_msa(), hevc_vt_bi_8t_12w_msa(), hevc_vt_biwgt_4t_12w_msa(), hevc_vt_uniwgt_4t_12w_msa(), and hevc_vt_uniwgt_8t_12w_msa().

#define ST12x8_UB (   in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  pdst,
  stride 
)

Definition at line 725 of file generic_macros_msa.h.

Referenced by copy_width12_msa(), and hevc_copy_6w_msa().

#define AVER_UB2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_aver_u_b((v16u8) in0, (v16u8) in1); \
out1 = (RTYPE) __msa_aver_u_b((v16u8) in2, (v16u8) in3); \
}

Definition at line 788 of file generic_macros_msa.h.

#define AVER_UB2_UB (   ...)    AVER_UB2(v16u8, __VA_ARGS__)

Definition at line 793 of file generic_macros_msa.h.

Referenced by avc_chroma_hv_and_aver_dst_4x4mul_msa(), avc_chroma_hv_and_aver_dst_8w_msa(), avc_chroma_hz_and_aver_dst_2x8_msa(), avc_chroma_hz_and_aver_dst_4x4multiple_msa(), avc_chroma_hz_and_aver_dst_8w_msa(), avc_chroma_vt_and_aver_dst_4x4mul_msa(), avc_chroma_vt_and_aver_dst_8w_msa(), avc_luma_hz_qrt_and_aver_dst_16x16_msa(), avc_luma_hz_qrt_and_aver_dst_4x4_msa(), avc_luma_mid_and_aver_dst_4x4_msa(), avc_luma_midv_qrt_and_aver_dst_4w_msa(), avc_luma_vt_qrt_and_aver_dst_8x8_msa(), avg_width4_msa(), common_hv_2ht_2vt_and_aver_dst_4x4_msa(), common_hv_8ht_8vt_and_aver_dst_4w_msa(), common_hv_bil_and_aver_dst_4w_msa(), common_hz_2t_and_aver_dst_4x4_msa(), common_hz_8t_and_aver_dst_4x4_msa(), common_hz_8t_and_aver_dst_4x8_msa(), common_hz_bil_4w_msa(), common_hz_bil_and_aver_dst_4w_msa(), common_vt_2t_and_aver_dst_4x8_msa(), common_vt_bil_4w_msa(), common_vt_bil_and_aver_dst_4w_msa(), horiz_mc_qpel_aver_src0_8width_msa(), horiz_mc_qpel_aver_src1_8width_msa(), horiz_mc_qpel_avg_dst_16width_msa(), horiz_mc_qpel_avg_dst_8width_msa(), horiz_mc_qpel_avg_dst_aver_src0_16width_msa(), horiz_mc_qpel_avg_dst_aver_src0_8width_msa(), horiz_mc_qpel_avg_dst_aver_src1_16width_msa(), horiz_mc_qpel_avg_dst_aver_src1_8width_msa(), sad_horiz_bilinear_filter_16width_msa(), sad_horiz_bilinear_filter_8width_msa(), sad_vert_bilinear_filter_16width_msa(), sad_vert_bilinear_filter_8width_msa(), vert_mc_qpel_aver_src0_8x8_msa(), vert_mc_qpel_aver_src1_8x8_msa(), vert_mc_qpel_avg_dst_16x16_msa(), vert_mc_qpel_avg_dst_8x8_msa(), vert_mc_qpel_avg_dst_aver_src0_16x16_msa(), vert_mc_qpel_avg_dst_aver_src0_8x8_msa(), vert_mc_qpel_avg_dst_aver_src1_16x16_msa(), and vert_mc_qpel_avg_dst_aver_src1_8x8_msa().

#define AVER_UB4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
AVER_UB2(RTYPE, in0, in1, in2, in3, out0, out1) \
AVER_UB2(RTYPE, in4, in5, in6, in7, out2, out3) \
}
#define AVER_UB2(RTYPE, in0, in1, in2, in3, out0, out1)

Definition at line 795 of file generic_macros_msa.h.

#define AVER_UB4_UB (   ...)    AVER_UB4(v16u8, __VA_ARGS__)
#define SLDI_B2_0 (   RTYPE,
  in0,
  in1,
  out0,
  out1,
  slide_val 
)
Value:
{ \
v16i8 zero_m = { 0 }; \
out0 = (RTYPE) __msa_sldi_b((v16i8) zero_m, (v16i8) in0, slide_val); \
out1 = (RTYPE) __msa_sldi_b((v16i8) zero_m, (v16i8) in1, slide_val); \
}

Definition at line 810 of file generic_macros_msa.h.

#define SLDI_B2_0_UB (   ...)    SLDI_B2_0(v16u8, __VA_ARGS__)
#define SLDI_B2_0_SB (   ...)    SLDI_B2_0(v16i8, __VA_ARGS__)
#define SLDI_B2_0_SW (   ...)    SLDI_B2_0(v4i32, __VA_ARGS__)

Definition at line 818 of file generic_macros_msa.h.

#define SLDI_B3_0 (   RTYPE,
  in0,
  in1,
  in2,
  out0,
  out1,
  out2,
  slide_val 
)
Value:
{ \
v16i8 zero_m = { 0 }; \
SLDI_B2_0(RTYPE, in0, in1, out0, out1, slide_val); \
out2 = (RTYPE) __msa_sldi_b((v16i8) zero_m, (v16i8) in2, slide_val); \
}
#define SLDI_B2_0(RTYPE, in0, in1, out0, out1, slide_val)

Definition at line 820 of file generic_macros_msa.h.

#define SLDI_B3_0_UB (   ...)    SLDI_B3_0(v16u8, __VA_ARGS__)

Definition at line 826 of file generic_macros_msa.h.

Referenced by common_hv_bil_no_rnd_8x8_msa().

#define SLDI_B3_0_SB (   ...)    SLDI_B3_0(v16i8, __VA_ARGS__)
#define SLDI_B4_0 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1,
  out2,
  out3,
  slide_val 
)
Value:
{ \
SLDI_B2_0(RTYPE, in0, in1, out0, out1, slide_val); \
SLDI_B2_0(RTYPE, in2, in3, out2, out3, slide_val); \
}
#define SLDI_B2_0(RTYPE, in0, in1, out0, out1, slide_val)

Definition at line 829 of file generic_macros_msa.h.

#define SLDI_B4_0_UB (   ...)    SLDI_B4_0(v16u8, __VA_ARGS__)
#define SLDI_B4_0_SB (   ...)    SLDI_B4_0(v16i8, __VA_ARGS__)
#define SLDI_B4_0_SH (   ...)    SLDI_B4_0(v8i16, __VA_ARGS__)
#define SLDI_B2 (   RTYPE,
  in0_0,
  in0_1,
  in1_0,
  in1_1,
  out0,
  out1,
  slide_val 
)
Value:
{ \
out0 = (RTYPE) __msa_sldi_b((v16i8) in0_0, (v16i8) in1_0, slide_val); \
out1 = (RTYPE) __msa_sldi_b((v16i8) in0_1, (v16i8) in1_1, slide_val); \
}

Definition at line 846 of file generic_macros_msa.h.

#define SLDI_B2_UB (   ...)    SLDI_B2(v16u8, __VA_ARGS__)
#define SLDI_B2_SB (   ...)    SLDI_B2(v16i8, __VA_ARGS__)
#define SLDI_B2_SH (   ...)    SLDI_B2(v8i16, __VA_ARGS__)
#define SLDI_B3 (   RTYPE,
  in0_0,
  in0_1,
  in0_2,
  in1_0,
  in1_1,
  in1_2,
  out0,
  out1,
  out2,
  slide_val 
)
Value:
{ \
SLDI_B2(RTYPE, in0_0, in0_1, in1_0, in1_1, out0, out1, slide_val) \
out2 = (RTYPE) __msa_sldi_b((v16i8) in0_2, (v16i8) in1_2, slide_val); \
}
#define SLDI_B2(RTYPE, in0_0, in0_1, in1_0, in1_1, out0, out1, slide_val)

Definition at line 855 of file generic_macros_msa.h.

#define SLDI_B3_SB (   ...)    SLDI_B3(v16i8, __VA_ARGS__)

Definition at line 861 of file generic_macros_msa.h.

Referenced by ff_avg_bilin_64h_msa(), and ff_put_bilin_64h_msa().

#define SLDI_B3_UH (   ...)    SLDI_B3(v8u16, __VA_ARGS__)
#define VSHF_B2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  mask0,
  mask1,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \
out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \
}

Definition at line 873 of file generic_macros_msa.h.

#define VSHF_B2_UB (   ...)    VSHF_B2(v16u8, __VA_ARGS__)
#define VSHF_B2_SB (   ...)    VSHF_B2(v16i8, __VA_ARGS__)

Definition at line 879 of file generic_macros_msa.h.

Referenced by avc_luma_hz_16w_msa(), avc_luma_hz_4w_msa(), avc_luma_hz_8w_msa(), avc_luma_hz_and_aver_dst_16x16_msa(), avc_luma_hz_and_aver_dst_4x4_msa(), avc_luma_hz_and_aver_dst_8x8_msa(), avc_luma_hz_qrt_16w_msa(), avc_luma_hz_qrt_4w_msa(), avc_luma_hz_qrt_8w_msa(), avc_luma_hz_qrt_and_aver_dst_16x16_msa(), avc_luma_hz_qrt_and_aver_dst_4x4_msa(), avc_luma_hz_qrt_and_aver_dst_8x8_msa(), common_hz_4t_12w_msa(), common_hz_4t_24w_msa(), common_hz_4t_4x2_msa(), common_hz_8t_24w_msa(), ff_vp8_idct_add_msa(), ff_vp8_idct_dc_add_msa(), hevc_hv_4t_4multx8mult_msa(), hevc_hv_4t_4x2_msa(), hevc_hv_4t_4x4_msa(), hevc_hv_4t_6w_msa(), hevc_hv_4t_8multx4mult_msa(), hevc_hv_4t_8x2_msa(), hevc_hv_4t_8x6_msa(), hevc_hv_bi_4t_4multx8mult_msa(), hevc_hv_bi_4t_4x2_msa(), hevc_hv_bi_4t_4x4_msa(), hevc_hv_bi_4t_6w_msa(), hevc_hv_bi_4t_8multx4mult_msa(), hevc_hv_bi_4t_8x2_msa(), hevc_hv_bi_4t_8x6_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_8multx4mult_msa(), hevc_hv_biwgt_4t_8x2_msa(), hevc_hv_biwgt_4t_8x6_msa(), hevc_hv_uni_4t_4multx8mult_msa(), hevc_hv_uni_4t_4x2_msa(), hevc_hv_uni_4t_4x4_msa(), hevc_hv_uni_4t_6w_msa(), hevc_hv_uni_4t_8w_mult_msa(), hevc_hv_uni_4t_8x2_msa(), hevc_hv_uni_4t_8x6_msa(), hevc_hv_uniwgt_4t_4multx8mult_msa(), hevc_hv_uniwgt_4t_4x2_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(), hevc_hz_4t_12w_msa(), hevc_hz_4t_16w_msa(), hevc_hz_4t_24w_msa(), hevc_hz_4t_32w_msa(), hevc_hz_4t_4x2_msa(), hevc_hz_4t_4x4_msa(), hevc_hz_4t_4x8multiple_msa(), hevc_hz_4t_6w_msa(), hevc_hz_4t_8x2multiple_msa(), hevc_hz_4t_8x4multiple_msa(), hevc_hz_bi_4t_12w_msa(), hevc_hz_bi_4t_16w_msa(), hevc_hz_bi_4t_24w_msa(), hevc_hz_bi_4t_32w_msa(), hevc_hz_bi_4t_4x2_msa(), hevc_hz_bi_4t_4x4_msa(), hevc_hz_bi_4t_4x8multiple_msa(), hevc_hz_bi_4t_6w_msa(), hevc_hz_bi_4t_8x2_msa(), hevc_hz_bi_4t_8x4multiple_msa(), hevc_hz_bi_4t_8x6_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_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_4x2_msa(), hevc_hz_uniwgt_4t_4x4_msa(), hevc_hz_uniwgt_4t_4x8multiple_msa(), hevc_hz_uniwgt_4t_6w_msa(), hevc_hz_uniwgt_4t_8x2_msa(), hevc_hz_uniwgt_4t_8x4multiple_msa(), hevc_hz_uniwgt_4t_8x6_msa(), hevc_sao_band_filter_16multiple_msa(), hevc_sao_edge_filter_0degree_16multiple_msa(), hevc_sao_edge_filter_135degree_16multiple_msa(), hevc_sao_edge_filter_45degree_16multiple_msa(), and hevc_sao_edge_filter_90degree_16multiple_msa().

#define VSHF_B2_UH (   ...)    VSHF_B2(v8u16, __VA_ARGS__)
#define VSHF_B2_SH (   ...)    VSHF_B2(v8i16, __VA_ARGS__)

Definition at line 881 of file generic_macros_msa.h.

Referenced by common_hz_4t_8x2mult_msa().

#define VSHF_B3 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  mask0,
  mask1,
  mask2,
  out0,
  out1,
  out2 
)
Value:
{ \
VSHF_B2(RTYPE, in0, in1, in2, in3, mask0, mask1, out0, out1); \
out2 = (RTYPE) __msa_vshf_b((v16i8) mask2, (v16i8) in5, (v16i8) in4); \
}
#define VSHF_B2(RTYPE, in0, in1, in2, in3, mask0, mask1, out0, out1)

Definition at line 883 of file generic_macros_msa.h.

#define VSHF_B3_SB (   ...)    VSHF_B3(v16i8, __VA_ARGS__)

Definition at line 889 of file generic_macros_msa.h.

Referenced by common_hz_8t_48w_msa().

#define VSHF_B4 (   RTYPE,
  in0,
  in1,
  mask0,
  mask1,
  mask2,
  mask3,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
VSHF_B2(RTYPE, in0, in1, in0, in1, mask0, mask1, out0, out1); \
VSHF_B2(RTYPE, in0, in1, in0, in1, mask2, mask3, out2, out3); \
}
#define VSHF_B2(RTYPE, in0, in1, in2, in3, mask0, mask1, out0, out1)

Definition at line 891 of file generic_macros_msa.h.

#define VSHF_B4_SB (   ...)    VSHF_B4(v16i8, __VA_ARGS__)
#define VSHF_B4_SH (   ...)    VSHF_B4(v8i16, __VA_ARGS__)
#define VSHF_H2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  mask0,
  mask1,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_vshf_h((v8i16) mask0, (v8i16) in1, (v8i16) in0); \
out1 = (RTYPE) __msa_vshf_h((v8i16) mask1, (v8i16) in3, (v8i16) in2); \
}

Definition at line 909 of file generic_macros_msa.h.

#define VSHF_H2_SH (   ...)    VSHF_H2(v8i16, __VA_ARGS__)
#define VSHF_H3 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  mask0,
  mask1,
  mask2,
  out0,
  out1,
  out2 
)
Value:
{ \
VSHF_H2(RTYPE, in0, in1, in2, in3, mask0, mask1, out0, out1); \
out2 = (RTYPE) __msa_vshf_h((v8i16) mask2, (v8i16) in5, (v8i16) in4); \
}
#define VSHF_H2(RTYPE, in0, in1, in2, in3, mask0, mask1, out0, out1)

Definition at line 916 of file generic_macros_msa.h.

#define VSHF_H3_SH (   ...)    VSHF_H3(v8i16, __VA_ARGS__)
#define VSHF_W2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  mask0,
  mask1,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_vshf_w((v4i32) mask0, (v4i32) in1, (v4i32) in0); \
out1 = (RTYPE) __msa_vshf_w((v4i32) mask1, (v4i32) in3, (v4i32) in2); \
}

Definition at line 933 of file generic_macros_msa.h.

#define VSHF_W2_SB (   ...)    VSHF_W2(v16i8, __VA_ARGS__)

Definition at line 938 of file generic_macros_msa.h.

Referenced by common_vt_4t_12w_msa(), and common_vt_8t_12w_msa().

#define DOTP_UB2 (   RTYPE,
  mult0,
  mult1,
  cnst0,
  cnst1,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \
out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \
}

Definition at line 952 of file generic_macros_msa.h.

#define DOTP_UB2_UH (   ...)    DOTP_UB2(v8u16, __VA_ARGS__)
#define DOTP_UB4 (   RTYPE,
  mult0,
  mult1,
  mult2,
  mult3,
  cnst0,
  cnst1,
  cnst2,
  cnst3,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \
DOTP_UB2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \
}
#define DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1)

Definition at line 959 of file generic_macros_msa.h.

#define DOTP_UB4_UH (   ...)    DOTP_UB4(v8u16, __VA_ARGS__)
#define DOTP_SB2 (   RTYPE,
  mult0,
  mult1,
  cnst0,
  cnst1,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_dotp_s_h((v16i8) mult0, (v16i8) cnst0); \
out1 = (RTYPE) __msa_dotp_s_h((v16i8) mult1, (v16i8) cnst1); \
}

Definition at line 980 of file generic_macros_msa.h.

#define DOTP_SB2_SH (   ...)    DOTP_SB2(v8i16, __VA_ARGS__)
#define DOTP_SB3 (   RTYPE,
  mult0,
  mult1,
  mult2,
  cnst0,
  cnst1,
  cnst2,
  out0,
  out1,
  out2 
)
Value:
{ \
DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \
out2 = (RTYPE) __msa_dotp_s_h((v16i8) mult2, (v16i8) cnst2); \
}
#define DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1)

Definition at line 987 of file generic_macros_msa.h.

#define DOTP_SB3_SH (   ...)    DOTP_SB3(v8i16, __VA_ARGS__)

Definition at line 993 of file generic_macros_msa.h.

Referenced by common_hz_8t_48w_msa().

#define DOTP_SB4 (   RTYPE,
  mult0,
  mult1,
  mult2,
  mult3,
  cnst0,
  cnst1,
  cnst2,
  cnst3,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \
DOTP_SB2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \
}
#define DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1)

Definition at line 995 of file generic_macros_msa.h.

#define DOTP_SB4_SH (   ...)    DOTP_SB4(v8i16, __VA_ARGS__)
#define DOTP_SH2 (   RTYPE,
  mult0,
  mult1,
  cnst0,
  cnst1,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_dotp_s_w((v8i16) mult0, (v8i16) cnst0); \
out1 = (RTYPE) __msa_dotp_s_w((v8i16) mult1, (v8i16) cnst1); \
}

Definition at line 1015 of file generic_macros_msa.h.

#define DOTP_SH2_SW (   ...)    DOTP_SH2(v4i32, __VA_ARGS__)
#define DOTP_SH4 (   RTYPE,
  mult0,
  mult1,
  mult2,
  mult3,
  cnst0,
  cnst1,
  cnst2,
  cnst3,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
DOTP_SH2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \
DOTP_SH2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \
}
#define DOTP_SH2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1)

Definition at line 1022 of file generic_macros_msa.h.

#define DOTP_SH4_SW (   ...)    DOTP_SH4(v4i32, __VA_ARGS__)
#define DPADD_SB2 (   RTYPE,
  mult0,
  mult1,
  cnst0,
  cnst1,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_dpadd_s_h((v8i16) out0, \
(v16i8) mult0, (v16i8) cnst0); \
out1 = (RTYPE) __msa_dpadd_s_h((v8i16) out1, \
(v16i8) mult1, (v16i8) cnst1); \
}

Definition at line 1043 of file generic_macros_msa.h.

#define DPADD_SB2_SH (   ...)    DPADD_SB2(v8i16, __VA_ARGS__)

Definition at line 1050 of file generic_macros_msa.h.

Referenced by avc_luma_hz_4w_msa(), avc_luma_hz_and_aver_dst_4x4_msa(), avc_luma_hz_qrt_4w_msa(), avc_luma_hz_qrt_and_aver_dst_4x4_msa(), common_hz_4t_12w_msa(), common_hz_4t_8x2mult_msa(), common_hz_8t_24w_msa(), common_hz_8t_48w_msa(), hevc_hv_4t_4multx8mult_msa(), hevc_hv_4t_4x2_msa(), hevc_hv_4t_4x4_msa(), hevc_hv_4t_6w_msa(), hevc_hv_4t_8multx4mult_msa(), hevc_hv_4t_8x2_msa(), hevc_hv_4t_8x6_msa(), hevc_hv_bi_4t_4multx8mult_msa(), hevc_hv_bi_4t_4x2_msa(), hevc_hv_bi_4t_4x4_msa(), hevc_hv_bi_4t_6w_msa(), hevc_hv_bi_4t_8multx4mult_msa(), hevc_hv_bi_4t_8x2_msa(), hevc_hv_bi_4t_8x6_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_8multx4mult_msa(), hevc_hv_biwgt_4t_8x2_msa(), hevc_hv_biwgt_4t_8x6_msa(), hevc_hv_uni_4t_4multx8mult_msa(), hevc_hv_uni_4t_4x2_msa(), hevc_hv_uni_4t_4x4_msa(), hevc_hv_uni_4t_6w_msa(), hevc_hv_uni_4t_8w_mult_msa(), hevc_hv_uni_4t_8x2_msa(), hevc_hv_uni_4t_8x6_msa(), hevc_hv_uniwgt_4t_4multx8mult_msa(), hevc_hv_uniwgt_4t_4x2_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(), hevc_hz_4t_12w_msa(), hevc_hz_4t_16w_msa(), hevc_hz_4t_24w_msa(), hevc_hz_4t_32w_msa(), hevc_hz_4t_4x2_msa(), hevc_hz_4t_4x4_msa(), hevc_hz_4t_4x8multiple_msa(), hevc_hz_4t_6w_msa(), hevc_hz_4t_8x2multiple_msa(), hevc_hz_4t_8x4multiple_msa(), hevc_hz_bi_4t_12w_msa(), hevc_hz_bi_4t_16w_msa(), hevc_hz_bi_4t_24w_msa(), hevc_hz_bi_4t_32w_msa(), hevc_hz_bi_4t_4x2_msa(), hevc_hz_bi_4t_4x4_msa(), hevc_hz_bi_4t_4x8multiple_msa(), hevc_hz_bi_4t_6w_msa(), hevc_hz_bi_4t_8x2_msa(), hevc_hz_bi_4t_8x4multiple_msa(), hevc_hz_bi_4t_8x6_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_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_4x2_msa(), hevc_hz_uniwgt_4t_4x4_msa(), hevc_hz_uniwgt_4t_4x8multiple_msa(), hevc_hz_uniwgt_4t_6w_msa(), hevc_hz_uniwgt_4t_8x2_msa(), hevc_hz_uniwgt_4t_8x4multiple_msa(), hevc_hz_uniwgt_4t_8x6_msa(), hevc_vt_4t_12w_msa(), hevc_vt_4t_16w_msa(), hevc_vt_4t_24w_msa(), hevc_vt_4t_32w_msa(), hevc_vt_4t_4x2_msa(), hevc_vt_4t_4x4_msa(), hevc_vt_4t_4x8multiple_msa(), hevc_vt_4t_6w_msa(), hevc_vt_4t_8x2_msa(), hevc_vt_4t_8x4multiple_msa(), hevc_vt_4t_8x6_msa(), hevc_vt_bi_4t_12w_msa(), hevc_vt_bi_4t_16w_msa(), hevc_vt_bi_4t_24w_msa(), hevc_vt_bi_4t_32w_msa(), hevc_vt_bi_4t_4x2_msa(), hevc_vt_bi_4t_4x4_msa(), hevc_vt_bi_4t_4x8multiple_msa(), hevc_vt_bi_4t_6w_msa(), hevc_vt_bi_4t_8x2_msa(), hevc_vt_bi_4t_8x4multiple_msa(), hevc_vt_bi_4t_8x6_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_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_4x2_msa(), hevc_vt_uniwgt_4t_4x4_msa(), hevc_vt_uniwgt_4t_4x8multiple_msa(), hevc_vt_uniwgt_4t_6w_msa(), hevc_vt_uniwgt_4t_8x2_msa(), hevc_vt_uniwgt_4t_8x4multiple_msa(), and hevc_vt_uniwgt_4t_8x6_msa().

#define DPADD_SB4 (   RTYPE,
  mult0,
  mult1,
  mult2,
  mult3,
  cnst0,
  cnst1,
  cnst2,
  cnst3,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
DPADD_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \
DPADD_SB2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \
}
#define DPADD_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1)

Definition at line 1052 of file generic_macros_msa.h.

#define DPADD_SB4_SH (   ...)    DPADD_SB4(v8i16, __VA_ARGS__)

Definition at line 1058 of file generic_macros_msa.h.

Referenced by avc_luma_hz_16w_msa(), avc_luma_hz_8w_msa(), avc_luma_hz_and_aver_dst_16x16_msa(), avc_luma_hz_and_aver_dst_8x8_msa(), avc_luma_hz_qrt_16w_msa(), avc_luma_hz_qrt_8w_msa(), avc_luma_hz_qrt_and_aver_dst_16x16_msa(), avc_luma_hz_qrt_and_aver_dst_8x8_msa(), common_hz_4t_12w_msa(), common_hz_4t_24w_msa(), common_hz_8t_24w_msa(), common_hz_8t_and_aver_dst_16w_msa(), common_hz_8t_and_aver_dst_32w_msa(), common_hz_8t_and_aver_dst_64w_msa(), hevc_hv_8t_4w_msa(), hevc_hv_8t_8multx2mult_msa(), hevc_hv_bi_8t_4w_msa(), hevc_hv_bi_8t_8multx2mult_msa(), hevc_hv_biwgt_8t_4w_msa(), hevc_hv_biwgt_8t_8multx2mult_msa(), hevc_hv_uni_8t_4w_msa(), hevc_hv_uni_8t_8multx2mult_msa(), hevc_hv_uniwgt_8t_4w_msa(), hevc_hv_uniwgt_8t_8multx2mult_msa(), hevc_hz_8t_16w_msa(), hevc_hz_8t_24w_msa(), hevc_hz_8t_32w_msa(), hevc_hz_8t_48w_msa(), hevc_hz_8t_4w_msa(), hevc_hz_8t_64w_msa(), hevc_hz_8t_8w_msa(), hevc_hz_bi_8t_16w_msa(), hevc_hz_bi_8t_24w_msa(), hevc_hz_bi_8t_32w_msa(), hevc_hz_bi_8t_48w_msa(), hevc_hz_bi_8t_4w_msa(), hevc_hz_bi_8t_64w_msa(), hevc_hz_bi_8t_8w_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_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_vt_8t_12w_msa(), hevc_vt_8t_16multx4mult_msa(), hevc_vt_8t_4w_msa(), hevc_vt_8t_8w_msa(), hevc_vt_bi_8t_12w_msa(), hevc_vt_bi_8t_16multx2mult_msa(), hevc_vt_bi_8t_4w_msa(), hevc_vt_bi_8t_8w_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_8t_12w_msa(), hevc_vt_uniwgt_8t_16multx2mult_msa(), hevc_vt_uniwgt_8t_4w_msa(), and hevc_vt_uniwgt_8t_8w_msa().

#define DPADD_UB2 (   RTYPE,
  mult0,
  mult1,
  cnst0,
  cnst1,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_dpadd_u_h((v8u16) out0, \
(v16u8) mult0, (v16u8) cnst0); \
out1 = (RTYPE) __msa_dpadd_u_h((v8u16) out1, \
(v16u8) mult1, (v16u8) cnst1); \
}

Definition at line 1072 of file generic_macros_msa.h.

#define DPADD_UB2_UH (   ...)    DPADD_UB2(v8u16, __VA_ARGS__)

Definition at line 1079 of file generic_macros_msa.h.

#define DPADD_SH2 (   RTYPE,
  mult0,
  mult1,
  cnst0,
  cnst1,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_dpadd_s_w((v4i32) out0, \
(v8i16) mult0, (v8i16) cnst0); \
out1 = (RTYPE) __msa_dpadd_s_w((v4i32) out1, \
(v8i16) mult1, (v8i16) cnst1); \
}

Definition at line 1093 of file generic_macros_msa.h.

#define DPADD_SH2_SW (   ...)    DPADD_SH2(v4i32, __VA_ARGS__)
#define DPADD_SH4 (   RTYPE,
  mult0,
  mult1,
  mult2,
  mult3,
  cnst0,
  cnst1,
  cnst2,
  cnst3,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
DPADD_SH2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \
DPADD_SH2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \
}
#define DPADD_SH2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1)

Definition at line 1102 of file generic_macros_msa.h.

#define DPADD_SH4_SW (   ...)    DPADD_SH4(v4i32, __VA_ARGS__)
#define MIN_UH2 (   RTYPE,
  in0,
  in1,
  min_vec 
)
Value:
{ \
in0 = (RTYPE) __msa_min_u_h((v8u16) in0, min_vec); \
in1 = (RTYPE) __msa_min_u_h((v8u16) in1, min_vec); \
}

Definition at line 1118 of file generic_macros_msa.h.

#define MIN_UH2_UH (   ...)    MIN_UH2(v8u16, __VA_ARGS__)

Definition at line 1123 of file generic_macros_msa.h.

#define MIN_UH4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  min_vec 
)
Value:
{ \
MIN_UH2(RTYPE, in0, in1, min_vec); \
MIN_UH2(RTYPE, in2, in3, min_vec); \
}
#define MIN_UH2(RTYPE, in0, in1, min_vec)

Definition at line 1125 of file generic_macros_msa.h.

#define MIN_UH4_UH (   ...)    MIN_UH4(v8u16, __VA_ARGS__)

Definition at line 1130 of file generic_macros_msa.h.

#define CLIP_SH (   in,
  min,
  max 
)
Value:
( { \
v8i16 out_m; \
\
out_m = __msa_max_s_h((v8i16) min, (v8i16) in); \
out_m = __msa_min_s_h((v8i16) max, (v8i16) out_m); \
out_m; \
} )
uint8_t pi<< 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> in
float min

Definition at line 1140 of file generic_macros_msa.h.

Referenced by avc_h_loop_filter_luma_mbaff_msa(), hevc_loopfilter_chroma_hor_msa(), hevc_loopfilter_chroma_ver_msa(), hevc_loopfilter_luma_hor_msa(), and hevc_loopfilter_luma_ver_msa().

#define CLIP_SH_0_255 (   in)
Value:
( { \
v8i16 max_m = __msa_ldi_h(255); \
v8i16 out_m; \
\
out_m = __msa_maxi_s_h((v8i16) in, 0); \
out_m = __msa_min_s_h((v8i16) max_m, (v8i16) out_m); \
out_m; \
} )
uint8_t pi<< 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> in

Definition at line 1155 of file generic_macros_msa.h.

Referenced by avc_h_loop_filter_luma_mbaff_msa(), hevc_bi_copy_4w_msa(), hevc_hv_bi_4t_4x2_msa(), hevc_hv_uni_4t_4x2_msa(), hevc_hz_bi_4t_4x2_msa(), hevc_hz_bi_8t_24w_msa(), hevc_intra_pred_horiz_4x4_msa(), hevc_intra_pred_horiz_8x8_msa(), hevc_intra_pred_vert_4x4_msa(), hevc_intra_pred_vert_8x8_msa(), hevc_loopfilter_chroma_hor_msa(), hevc_loopfilter_chroma_ver_msa(), hevc_loopfilter_luma_hor_msa(), hevc_loopfilter_luma_ver_msa(), hevc_vt_bi_4t_4x2_msa(), simple_idct_add_msa(), simple_idct_put_msa(), and vp9_iadst8x8_colcol_addblk_msa().

#define CLIP_SH2_0_255 (   in0,
  in1 
)
#define CLIP_SH4_0_255 (   in0,
  in1,
  in2,
  in3 
)
#define CLIP_SW_0_255 (   in)
Value:
( { \
v4i32 max_m = __msa_ldi_w(255); \
v4i32 out_m; \
\
out_m = __msa_maxi_s_w((v4i32) in, 0); \
out_m = __msa_min_s_w((v4i32) max_m, (v4i32) out_m); \
out_m; \
} )
uint8_t pi<< 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> in

Definition at line 1181 of file generic_macros_msa.h.

Referenced by ff_vp8_idct_add_msa(), hevc_biwgt_copy_4w_msa(), hevc_hv_bi_8t_4w_msa(), hevc_hv_bi_8t_8multx2mult_msa(), hevc_hv_biwgt_4t_4x2_msa(), hevc_hv_biwgt_8t_4w_msa(), hevc_hv_biwgt_8t_8multx2mult_msa(), hevc_hv_uni_8t_4w_msa(), hevc_hv_uni_8t_8multx2mult_msa(), hevc_hv_uniwgt_4t_4x2_msa(), hevc_hv_uniwgt_8t_4w_msa(), hevc_hz_biwgt_4t_4x2_msa(), hevc_hz_biwgt_8t_24w_msa(), hevc_hz_biwgt_8t_48w_msa(), hevc_hz_uniwgt_4t_4x2_msa(), hevc_uniwgt_copy_4w_msa(), hevc_vt_biwgt_4t_4x2_msa(), hevc_vt_biwgt_8t_12w_msa(), and hevc_vt_uniwgt_4t_4x2_msa().

#define HADD_SW_S32 (   in)
Value:
( { \
v2i64 res0_m, res1_m; \
int32_t sum_m; \
\
res0_m = __msa_hadd_s_d((v4i32) in, (v4i32) in); \
res1_m = __msa_splati_d(res0_m, 1); \
res0_m = res0_m + res1_m; \
sum_m = __msa_copy_s_w((v4i32) res0_m, 0); \
sum_m; \
} )
int32_t
uint8_t pi<< 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> in

Definition at line 1198 of file generic_macros_msa.h.

Referenced by mpeg2_dct_unquantize_inter_msa(), sse_16width_msa(), sse_4width_msa(), and sse_8width_msa().

#define HADD_UH_U32 (   in)
Value:
( { \
v4u32 res_m; \
v2u64 res0_m, res1_m; \
uint32_t sum_m; \
\
res_m = __msa_hadd_u_w((v8u16) in, (v8u16) in); \
res0_m = __msa_hadd_u_d(res_m, res_m); \
res1_m = (v2u64) __msa_splati_d((v2i64) res0_m, 1); \
res0_m = res0_m + res1_m; \
sum_m = __msa_copy_u_w((v4i32) res0_m, 0); \
sum_m; \
} )
uint8_t pi<< 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> in

Definition at line 1217 of file generic_macros_msa.h.

Referenced by hadamard_diff_8x8_msa(), hadamard_intra_8x8_msa(), sad_16width_msa(), sad_8width_msa(), sad_horiz_bilinear_filter_16width_msa(), sad_horiz_bilinear_filter_8width_msa(), sad_hv_bilinear_filter_16width_msa(), sad_hv_bilinear_filter_8width_msa(), sad_vert_bilinear_filter_16width_msa(), sad_vert_bilinear_filter_8width_msa(), and sum_u8src_16width_msa().

#define HADD_SB2 (   RTYPE,
  in0,
  in1,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_hadd_s_h((v16i8) in0, (v16i8) in0); \
out1 = (RTYPE) __msa_hadd_s_h((v16i8) in1, (v16i8) in1); \
}

Definition at line 1239 of file generic_macros_msa.h.

#define HADD_SB2_SH (   ...)    HADD_SB2(v8i16, __VA_ARGS__)
#define HADD_SB4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
HADD_SB2(RTYPE, in0, in1, out0, out1); \
HADD_SB2(RTYPE, in2, in3, out2, out3); \
}
#define HADD_SB2(RTYPE, in0, in1, out0, out1)

Definition at line 1246 of file generic_macros_msa.h.

#define HADD_SB4_UH (   ...)    HADD_SB4(v8u16, __VA_ARGS__)

Definition at line 1251 of file generic_macros_msa.h.

#define HADD_SB4_SH (   ...)    HADD_SB4(v8i16, __VA_ARGS__)
#define HADD_UB2 (   RTYPE,
  in0,
  in1,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_hadd_u_h((v16u8) in0, (v16u8) in0); \
out1 = (RTYPE) __msa_hadd_u_h((v16u8) in1, (v16u8) in1); \
}

Definition at line 1262 of file generic_macros_msa.h.

#define HADD_UB2_UH (   ...)    HADD_UB2(v8u16, __VA_ARGS__)
#define HADD_UB3 (   RTYPE,
  in0,
  in1,
  in2,
  out0,
  out1,
  out2 
)
Value:
{ \
HADD_UB2(RTYPE, in0, in1, out0, out1); \
out2 = (RTYPE) __msa_hadd_u_h((v16u8) in2, (v16u8) in2); \
}
#define HADD_UB2(RTYPE, in0, in1, out0, out1)

Definition at line 1269 of file generic_macros_msa.h.

#define HADD_UB3_UH (   ...)    HADD_UB3(v8u16, __VA_ARGS__)
#define HADD_UB4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
HADD_UB2(RTYPE, in0, in1, out0, out1); \
HADD_UB2(RTYPE, in2, in3, out2, out3); \
}
#define HADD_UB2(RTYPE, in0, in1, out0, out1)

Definition at line 1276 of file generic_macros_msa.h.

#define HADD_UB4_UB (   ...)    HADD_UB4(v16u8, __VA_ARGS__)

Definition at line 1281 of file generic_macros_msa.h.

Referenced by sum_u8src_16width_msa().

#define HADD_UB4_UH (   ...)    HADD_UB4(v8u16, __VA_ARGS__)

Definition at line 1282 of file generic_macros_msa.h.

Referenced by ff_tm_32x32_msa(), ff_tm_4x4_msa(), and ff_tm_8x8_msa().

#define HADD_UB4_SH (   ...)    HADD_UB4(v8i16, __VA_ARGS__)

Definition at line 1283 of file generic_macros_msa.h.

#define HSUB_UB2 (   RTYPE,
  in0,
  in1,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_hsub_u_h((v16u8) in0, (v16u8) in0); \
out1 = (RTYPE) __msa_hsub_u_h((v16u8) in1, (v16u8) in1); \
}

Definition at line 1293 of file generic_macros_msa.h.

#define HSUB_UB2_UH (   ...)    HSUB_UB2(v8u16, __VA_ARGS__)

Definition at line 1298 of file generic_macros_msa.h.

#define HSUB_UB2_SH (   ...)    HSUB_UB2(v8i16, __VA_ARGS__)

Definition at line 1299 of file generic_macros_msa.h.

#define HSUB_UB4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
HSUB_UB2(RTYPE, in0, in1, out0, out1); \
HSUB_UB2(RTYPE, in2, in3, out2, out3); \
}
#define HSUB_UB2(RTYPE, in0, in1, out0, out1)

Definition at line 1301 of file generic_macros_msa.h.

#define HSUB_UB4_UH (   ...)    HSUB_UB4(v8u16, __VA_ARGS__)

Definition at line 1306 of file generic_macros_msa.h.

Referenced by hadamard_diff_8x8_msa().

#define HSUB_UB4_SH (   ...)    HSUB_UB4(v8i16, __VA_ARGS__)

Definition at line 1307 of file generic_macros_msa.h.

Referenced by diff_pixels_msa().

#define SAD_UB2_UH (   in0,
  in1,
  ref0,
  ref1 
)
Value:
( { \
v16u8 diff0_m, diff1_m; \
v8u16 sad_m = { 0 }; \
\
diff0_m = __msa_asub_u_b((v16u8) in0, (v16u8) ref0); \
diff1_m = __msa_asub_u_b((v16u8) in1, (v16u8) ref1); \
\
sad_m += __msa_hadd_u_h((v16u8) diff0_m, (v16u8) diff0_m); \
sad_m += __msa_hadd_u_h((v16u8) diff1_m, (v16u8) diff1_m); \
\
sad_m; \
} )

Definition at line 1318 of file generic_macros_msa.h.

Referenced by sad_16width_msa(), sad_8width_msa(), sad_horiz_bilinear_filter_16width_msa(), sad_horiz_bilinear_filter_8width_msa(), sad_vert_bilinear_filter_16width_msa(), and sad_vert_bilinear_filter_8width_msa().

#define INSERT_W2 (   RTYPE,
  in0,
  in1,
  out 
)
Value:
{ \
out = (RTYPE) __msa_insert_w((v4i32) out, 0, in0); \
out = (RTYPE) __msa_insert_w((v4i32) out, 1, in1); \
}
FILE * out
Definition: movenc-test.c:54

Definition at line 1338 of file generic_macros_msa.h.

#define INSERT_W2_UB (   ...)    INSERT_W2(v16u8, __VA_ARGS__)
#define INSERT_W2_SB (   ...)    INSERT_W2(v16i8, __VA_ARGS__)

Definition at line 1344 of file generic_macros_msa.h.

Referenced by ff_dc_4x4_msa(), and hevc_intra_pred_dc_4x4_msa().

#define INSERT_W4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out 
)
Value:
{ \
out = (RTYPE) __msa_insert_w((v4i32) out, 0, in0); \
out = (RTYPE) __msa_insert_w((v4i32) out, 1, in1); \
out = (RTYPE) __msa_insert_w((v4i32) out, 2, in2); \
out = (RTYPE) __msa_insert_w((v4i32) out, 3, in3); \
}
FILE * out
Definition: movenc-test.c:54

Definition at line 1346 of file generic_macros_msa.h.

#define INSERT_W4_UB (   ...)    INSERT_W4(v16u8, __VA_ARGS__)

Definition at line 1353 of file generic_macros_msa.h.

Referenced by avc_idct4x4_addblk_dc_msa(), and sse_4width_msa().

#define INSERT_W4_SB (   ...)    INSERT_W4(v16i8, __VA_ARGS__)

Definition at line 1354 of file generic_macros_msa.h.

#define INSERT_W4_SW (   ...)    INSERT_W4(v4i32, __VA_ARGS__)

Definition at line 1355 of file generic_macros_msa.h.

Referenced by hevc_addblk_4x4_msa().

#define INSERT_D2 (   RTYPE,
  in0,
  in1,
  out 
)
Value:
{ \
out = (RTYPE) __msa_insert_d((v2i64) out, 0, in0); \
out = (RTYPE) __msa_insert_d((v2i64) out, 1, in1); \
}
FILE * out
Definition: movenc-test.c:54

Definition at line 1363 of file generic_macros_msa.h.

#define INSERT_D2_UB (   ...)    INSERT_D2(v16u8, __VA_ARGS__)
#define INSERT_D2_SB (   ...)    INSERT_D2(v16i8, __VA_ARGS__)

Definition at line 1369 of file generic_macros_msa.h.

#define INSERT_D2_SD (   ...)    INSERT_D2(v2i64, __VA_ARGS__)

Definition at line 1370 of file generic_macros_msa.h.

Referenced by hevc_addblk_8x8_msa().

#define ILVEV_B2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_ilvev_b((v16i8) in1, (v16i8) in0); \
out1 = (RTYPE) __msa_ilvev_b((v16i8) in3, (v16i8) in2); \
}

Definition at line 1381 of file generic_macros_msa.h.

#define ILVEV_B2_UB (   ...)    ILVEV_B2(v16u8, __VA_ARGS__)
#define ILVEV_B2_SB (   ...)    ILVEV_B2(v16i8, __VA_ARGS__)

Definition at line 1387 of file generic_macros_msa.h.

#define ILVEV_B2_SH (   ...)    ILVEV_B2(v8i16, __VA_ARGS__)
#define ILVEV_B2_SD (   ...)    ILVEV_B2(v2i64, __VA_ARGS__)

Definition at line 1389 of file generic_macros_msa.h.

#define ILVEV_H2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_ilvev_h((v8i16) in1, (v8i16) in0); \
out1 = (RTYPE) __msa_ilvev_h((v8i16) in3, (v8i16) in2); \
}

Definition at line 1400 of file generic_macros_msa.h.

#define ILVEV_H2_UB (   ...)    ILVEV_H2(v16u8, __VA_ARGS__)

Definition at line 1405 of file generic_macros_msa.h.

#define ILVEV_H2_SH (   ...)    ILVEV_H2(v8i16, __VA_ARGS__)
#define ILVEV_H2_SW (   ...)    ILVEV_H2(v4i32, __VA_ARGS__)

Definition at line 1407 of file generic_macros_msa.h.

Referenced by vp9_transpose_16x16().

#define ILVEV_W2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_ilvev_w((v4i32) in1, (v4i32) in0); \
out1 = (RTYPE) __msa_ilvev_w((v4i32) in3, (v4i32) in2); \
}

Definition at line 1418 of file generic_macros_msa.h.

#define ILVEV_W2_UB (   ...)    ILVEV_W2(v16u8, __VA_ARGS__)

Definition at line 1423 of file generic_macros_msa.h.

#define ILVEV_W2_SB (   ...)    ILVEV_W2(v16i8, __VA_ARGS__)

Definition at line 1424 of file generic_macros_msa.h.

#define ILVEV_W2_UH (   ...)    ILVEV_W2(v8u16, __VA_ARGS__)

Definition at line 1425 of file generic_macros_msa.h.

#define ILVEV_W2_SD (   ...)    ILVEV_W2(v2i64, __VA_ARGS__)

Definition at line 1426 of file generic_macros_msa.h.

#define ILVEV_D2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_ilvev_d((v2i64) in1, (v2i64) in0); \
out1 = (RTYPE) __msa_ilvev_d((v2i64) in3, (v2i64) in2); \
}

Definition at line 1437 of file generic_macros_msa.h.

#define ILVEV_D2_UB (   ...)    ILVEV_D2(v16u8, __VA_ARGS__)

Definition at line 1442 of file generic_macros_msa.h.

#define ILVEV_D2_SB (   ...)    ILVEV_D2(v16i8, __VA_ARGS__)

Definition at line 1443 of file generic_macros_msa.h.

Referenced by hevc_sao_band_filter_4width_msa().

#define ILVEV_D2_SW (   ...)    ILVEV_D2(v4i32, __VA_ARGS__)

Definition at line 1444 of file generic_macros_msa.h.

#define ILVL_B2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_ilvl_b((v16i8) in0, (v16i8) in1); \
out1 = (RTYPE) __msa_ilvl_b((v16i8) in2, (v16i8) in3); \
}

Definition at line 1455 of file generic_macros_msa.h.

#define ILVL_B2_UB (   ...)    ILVL_B2(v16u8, __VA_ARGS__)
#define ILVL_B2_SB (   ...)    ILVL_B2(v16i8, __VA_ARGS__)
#define ILVL_B2_UH (   ...)    ILVL_B2(v8u16, __VA_ARGS__)

Definition at line 1462 of file generic_macros_msa.h.

Referenced by ff_tm_32x32_msa().

#define ILVL_B2_SH (   ...)    ILVL_B2(v8i16, __VA_ARGS__)
#define ILVL_B4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
ILVL_B2(RTYPE, in0, in1, in2, in3, out0, out1); \
ILVL_B2(RTYPE, in4, in5, in6, in7, out2, out3); \
}
#define ILVL_B2(RTYPE, in0, in1, in2, in3, out0, out1)

Definition at line 1465 of file generic_macros_msa.h.

#define ILVL_B4_UB (   ...)    ILVL_B4(v16u8, __VA_ARGS__)

Definition at line 1471 of file generic_macros_msa.h.

#define ILVL_B4_SB (   ...)    ILVL_B4(v16i8, __VA_ARGS__)
#define ILVL_B4_UH (   ...)    ILVL_B4(v8u16, __VA_ARGS__)
#define ILVL_B4_SH (   ...)    ILVL_B4(v8i16, __VA_ARGS__)
#define ILVL_H2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_ilvl_h((v8i16) in0, (v8i16) in1); \
out1 = (RTYPE) __msa_ilvl_h((v8i16) in2, (v8i16) in3); \
}

Definition at line 1485 of file generic_macros_msa.h.

#define ILVL_H2_SH (   ...)    ILVL_H2(v8i16, __VA_ARGS__)
#define ILVL_H2_SW (   ...)    ILVL_H2(v4i32, __VA_ARGS__)

Definition at line 1491 of file generic_macros_msa.h.

#define ILVL_H4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
ILVL_H2(RTYPE, in0, in1, in2, in3, out0, out1); \
ILVL_H2(RTYPE, in4, in5, in6, in7, out2, out3); \
}
#define ILVL_H2(RTYPE, in0, in1, in2, in3, out0, out1)

Definition at line 1493 of file generic_macros_msa.h.

#define ILVL_H4_SH (   ...)    ILVL_H4(v8i16, __VA_ARGS__)
#define ILVL_H4_SW (   ...)    ILVL_H4(v4i32, __VA_ARGS__)

Definition at line 1500 of file generic_macros_msa.h.

#define ILVL_W2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_ilvl_w((v4i32) in0, (v4i32) in1); \
out1 = (RTYPE) __msa_ilvl_w((v4i32) in2, (v4i32) in3); \
}

Definition at line 1511 of file generic_macros_msa.h.

#define ILVL_W2_UB (   ...)    ILVL_W2(v16u8, __VA_ARGS__)

Definition at line 1516 of file generic_macros_msa.h.

Referenced by vp9_transpose_16x8_to_8x16().

#define ILVL_W2_SB (   ...)    ILVL_W2(v16i8, __VA_ARGS__)
#define ILVL_W2_SH (   ...)    ILVL_W2(v8i16, __VA_ARGS__)

Definition at line 1518 of file generic_macros_msa.h.

#define ILVR_B2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \
out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \
}

Definition at line 1530 of file generic_macros_msa.h.

#define ILVR_B2_UB (   ...)    ILVR_B2(v16u8, __VA_ARGS__)
#define ILVR_B2_SB (   ...)    ILVR_B2(v16i8, __VA_ARGS__)

Definition at line 1536 of file generic_macros_msa.h.

Referenced by avc_chroma_vt_and_aver_dst_2x2_msa(), avc_chroma_vt_and_aver_dst_4x2_msa(), common_vt_4t_16w_msa(), common_vt_4t_24w_msa(), common_vt_4t_32w_mult_msa(), common_vt_4t_4x2_msa(), common_vt_4t_4x4multiple_msa(), common_vt_4t_8x4mult_msa(), common_vt_8t_16w_msa(), common_vt_8t_16w_mult_msa(), common_vt_8t_4w_msa(), common_vt_8t_8w_msa(), common_vt_8t_and_aver_dst_16w_mult_msa(), common_vt_8t_and_aver_dst_4w_msa(), common_vt_8t_and_aver_dst_8w_msa(), ff_put_vp8_epel16_v4_msa(), ff_put_vp8_epel4_v4_msa(), ff_put_vp8_epel8_v4_msa(), hevc_sao_edge_filter_0degree_4width_msa(), hevc_sao_edge_filter_0degree_8width_msa(), hevc_sao_edge_filter_135degree_4width_msa(), hevc_sao_edge_filter_135degree_8width_msa(), hevc_sao_edge_filter_45degree_4width_msa(), hevc_sao_edge_filter_45degree_8width_msa(), hevc_vt_4t_12w_msa(), hevc_vt_4t_16w_msa(), hevc_vt_4t_24w_msa(), hevc_vt_4t_32w_msa(), hevc_vt_4t_4x4_msa(), hevc_vt_4t_4x8multiple_msa(), hevc_vt_4t_6w_msa(), hevc_vt_4t_8x2_msa(), hevc_vt_4t_8x4multiple_msa(), hevc_vt_4t_8x6_msa(), hevc_vt_8t_12w_msa(), hevc_vt_8t_16multx4mult_msa(), hevc_vt_8t_4w_msa(), hevc_vt_8t_8w_msa(), hevc_vt_bi_4t_12w_msa(), hevc_vt_bi_4t_16w_msa(), hevc_vt_bi_4t_24w_msa(), hevc_vt_bi_4t_32w_msa(), hevc_vt_bi_4t_4x2_msa(), hevc_vt_bi_4t_4x4_msa(), hevc_vt_bi_4t_4x8multiple_msa(), hevc_vt_bi_4t_6w_msa(), hevc_vt_bi_4t_8x2_msa(), hevc_vt_bi_4t_8x4multiple_msa(), hevc_vt_bi_4t_8x6_msa(), hevc_vt_bi_8t_12w_msa(), hevc_vt_bi_8t_16multx2mult_msa(), hevc_vt_bi_8t_4w_msa(), hevc_vt_bi_8t_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_4x2_msa(), hevc_vt_uniwgt_4t_4x4_msa(), hevc_vt_uniwgt_4t_4x8multiple_msa(), hevc_vt_uniwgt_4t_6w_msa(), hevc_vt_uniwgt_4t_8x2_msa(), hevc_vt_uniwgt_4t_8x4multiple_msa(), hevc_vt_uniwgt_4t_8x6_msa(), hevc_vt_uniwgt_8t_12w_msa(), hevc_vt_uniwgt_8t_16multx2mult_msa(), hevc_vt_uniwgt_8t_4w_msa(), hevc_vt_uniwgt_8t_8w_msa(), and vp9_transpose_16x8_to_8x16().

#define ILVR_B2_UH (   ...)    ILVR_B2(v8u16, __VA_ARGS__)
#define ILVR_B2_SH (   ...)    ILVR_B2(v8i16, __VA_ARGS__)
#define ILVR_B2_SW (   ...)    ILVR_B2(v4i32, __VA_ARGS__)

Definition at line 1539 of file generic_macros_msa.h.

Referenced by ff_vp8_h_loop_filter8uv_inner_msa().

#define ILVR_B3 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  out0,
  out1,
  out2 
)
Value:
{ \
ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \
out2 = (RTYPE) __msa_ilvr_b((v16i8) in4, (v16i8) in5); \
}
#define ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1)

Definition at line 1541 of file generic_macros_msa.h.

#define ILVR_B3_UB (   ...)    ILVR_B3(v16u8, __VA_ARGS__)
#define ILVR_B3_UH (   ...)    ILVR_B3(v8u16, __VA_ARGS__)
#define ILVR_B3_SH (   ...)    ILVR_B3(v8i16, __VA_ARGS__)

Definition at line 1548 of file generic_macros_msa.h.

Referenced by common_vt_4t_12w_msa(), and common_vt_4t_8x6_msa().

#define ILVR_B4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \
ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \
}
#define ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1)

Definition at line 1550 of file generic_macros_msa.h.

#define ILVR_B4_UB (   ...)    ILVR_B4(v16u8, __VA_ARGS__)
#define ILVR_B4_SB (   ...)    ILVR_B4(v16i8, __VA_ARGS__)

Definition at line 1557 of file generic_macros_msa.h.

Referenced by avc_biwgt_16width_msa(), avc_h_loop_filter_luma_mbaff_intra_msa(), avc_h_loop_filter_luma_mbaff_msa(), avc_luma_vt_16w_msa(), avc_luma_vt_4w_msa(), avc_luma_vt_8w_msa(), avc_luma_vt_and_aver_dst_16x16_msa(), avc_luma_vt_and_aver_dst_4x4_msa(), avc_luma_vt_and_aver_dst_8x8_msa(), avc_luma_vt_qrt_16w_msa(), avc_luma_vt_qrt_4w_msa(), avc_luma_vt_qrt_8w_msa(), avc_luma_vt_qrt_and_aver_dst_16x16_msa(), avc_luma_vt_qrt_and_aver_dst_4x4_msa(), avc_luma_vt_qrt_and_aver_dst_8x8_msa(), common_vt_2t_4x4_msa(), common_vt_2t_4x8_msa(), common_vt_2t_and_aver_dst_4x4_msa(), common_vt_2t_and_aver_dst_4x8_msa(), common_vt_4t_16w_msa(), common_vt_4t_8x4mult_msa(), common_vt_8t_16w_msa(), common_vt_8t_16w_mult_msa(), common_vt_8t_4w_msa(), common_vt_8t_8w_msa(), common_vt_8t_and_aver_dst_16w_mult_msa(), common_vt_8t_and_aver_dst_4w_msa(), common_vt_8t_and_aver_dst_8w_msa(), ff_put_vp8_epel16_v4_msa(), ff_put_vp8_epel16_v6_msa(), ff_put_vp8_epel4_v6_msa(), ff_put_vp8_epel8_v4_msa(), ff_put_vp8_epel8_v6_msa(), hevc_vt_4t_4x2_msa(), hevc_vt_4t_4x4_msa(), hevc_vt_4t_4x8multiple_msa(), hevc_vt_8t_12w_msa(), hevc_vt_8t_16multx4mult_msa(), hevc_vt_8t_4w_msa(), hevc_vt_8t_8w_msa(), hevc_vt_bi_4t_4x4_msa(), hevc_vt_bi_4t_4x8multiple_msa(), hevc_vt_bi_4t_8x6_msa(), hevc_vt_bi_8t_12w_msa(), hevc_vt_bi_8t_16multx2mult_msa(), hevc_vt_bi_8t_4w_msa(), hevc_vt_bi_8t_8w_msa(), hevc_vt_biwgt_4t_4x4_msa(), hevc_vt_biwgt_4t_4x8multiple_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_4x4_msa(), hevc_vt_uniwgt_4t_4x8multiple_msa(), hevc_vt_uniwgt_4t_8x6_msa(), hevc_vt_uniwgt_8t_12w_msa(), hevc_vt_uniwgt_8t_16multx2mult_msa(), hevc_vt_uniwgt_8t_4w_msa(), and hevc_vt_uniwgt_8t_8w_msa().

#define ILVR_B4_UH (   ...)    ILVR_B4(v8u16, __VA_ARGS__)
#define ILVR_B4_SH (   ...)    ILVR_B4(v8i16, __VA_ARGS__)
#define ILVR_B4_SW (   ...)    ILVR_B4(v4i32, __VA_ARGS__)

Definition at line 1560 of file generic_macros_msa.h.

Referenced by ff_vp8_idct_add_msa(), and simple_idct_add_msa().

#define ILVR_B8 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  in8,
  in9,
  in10,
  in11,
  in12,
  in13,
  in14,
  in15,
  out0,
  out1,
  out2,
  out3,
  out4,
  out5,
  out6,
  out7 
)
Value:
{ \
ILVR_B4(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7, \
out0, out1, out2, out3); \
ILVR_B4(RTYPE, in8, in9, in10, in11, in12, in13, in14, in15, \
out4, out5, out6, out7); \
}
#define ILVR_B4(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7,out0, out1, out2, out3)

Definition at line 1562 of file generic_macros_msa.h.

#define ILVR_B8_UH (   ...)    ILVR_B8(v8u16, __VA_ARGS__)
#define ILVR_H2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_ilvr_h((v8i16) in0, (v8i16) in1); \
out1 = (RTYPE) __msa_ilvr_h((v8i16) in2, (v8i16) in3); \
}

Definition at line 1583 of file generic_macros_msa.h.

#define ILVR_H2_SH (   ...)    ILVR_H2(v8i16, __VA_ARGS__)
#define ILVR_H2_SW (   ...)    ILVR_H2(v4i32, __VA_ARGS__)

Definition at line 1589 of file generic_macros_msa.h.

#define ILVR_H3 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  out0,
  out1,
  out2 
)
Value:
{ \
ILVR_H2(RTYPE, in0, in1, in2, in3, out0, out1); \
out2 = (RTYPE) __msa_ilvr_h((v8i16) in4, (v8i16) in5); \
}
#define ILVR_H2(RTYPE, in0, in1, in2, in3, out0, out1)

Definition at line 1591 of file generic_macros_msa.h.

#define ILVR_H3_SH (   ...)    ILVR_H3(v8i16, __VA_ARGS__)
#define ILVR_H4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
ILVR_H2(RTYPE, in0, in1, in2, in3, out0, out1); \
ILVR_H2(RTYPE, in4, in5, in6, in7, out2, out3); \
}
#define ILVR_H2(RTYPE, in0, in1, in2, in3, out0, out1)

Definition at line 1598 of file generic_macros_msa.h.

#define ILVR_H4_SH (   ...)    ILVR_H4(v8i16, __VA_ARGS__)
#define ILVR_H4_SW (   ...)    ILVR_H4(v4i32, __VA_ARGS__)

Definition at line 1605 of file generic_macros_msa.h.

Referenced by ff_vp8_idct_add_msa().

#define ILVR_W2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_ilvr_w((v4i32) in0, (v4i32) in1); \
out1 = (RTYPE) __msa_ilvr_w((v4i32) in2, (v4i32) in3); \
}

Definition at line 1607 of file generic_macros_msa.h.

#define ILVR_W2_UB (   ...)    ILVR_W2(v16u8, __VA_ARGS__)
#define ILVR_W2_SB (   ...)    ILVR_W2(v16i8, __VA_ARGS__)
#define ILVR_W2_SH (   ...)    ILVR_W2(v8i16, __VA_ARGS__)

Definition at line 1614 of file generic_macros_msa.h.

#define ILVR_W4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
ILVR_W2(RTYPE, in0, in1, in2, in3, out0, out1); \
ILVR_W2(RTYPE, in4, in5, in6, in7, out2, out3); \
}
#define ILVR_W2(RTYPE, in0, in1, in2, in3, out0, out1)

Definition at line 1616 of file generic_macros_msa.h.

#define ILVR_W4_SB (   ...)    ILVR_W4(v16i8, __VA_ARGS__)
#define ILVR_W4_UB (   ...)    ILVR_W4(v16u8, __VA_ARGS__)
#define ILVR_D2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_ilvr_d((v2i64) (in0), (v2i64) (in1)); \
out1 = (RTYPE) __msa_ilvr_d((v2i64) (in2), (v2i64) (in3)); \
}

Definition at line 1634 of file generic_macros_msa.h.

#define ILVR_D2_UB (   ...)    ILVR_D2(v16u8, __VA_ARGS__)
#define ILVR_D2_SB (   ...)    ILVR_D2(v16i8, __VA_ARGS__)
#define ILVR_D2_SH (   ...)    ILVR_D2(v8i16, __VA_ARGS__)
#define ILVR_D3 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  out0,
  out1,
  out2 
)
Value:
{ \
ILVR_D2(RTYPE, in0, in1, in2, in3, out0, out1); \
out2 = (RTYPE) __msa_ilvr_d((v2i64) (in4), (v2i64) (in5)); \
}
#define ILVR_D2(RTYPE, in0, in1, in2, in3, out0, out1)

Definition at line 1643 of file generic_macros_msa.h.

#define ILVR_D3_SB (   ...)    ILVR_D3(v16i8, __VA_ARGS__)
#define ILVR_D4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
ILVR_D2(RTYPE, in0, in1, in2, in3, out0, out1); \
ILVR_D2(RTYPE, in4, in5, in6, in7, out2, out3); \
}
#define ILVR_D2(RTYPE, in0, in1, in2, in3, out0, out1)

Definition at line 1650 of file generic_macros_msa.h.

#define ILVR_D4_SB (   ...)    ILVR_D4(v16i8, __VA_ARGS__)
#define ILVR_D4_UB (   ...)    ILVR_D4(v16u8, __VA_ARGS__)
#define ILVRL_B2 (   RTYPE,
  in0,
  in1,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \
out1 = (RTYPE) __msa_ilvl_b((v16i8) in0, (v16i8) in1); \
}

Definition at line 1668 of file generic_macros_msa.h.

#define ILVRL_B2_UB (   ...)    ILVRL_B2(v16u8, __VA_ARGS__)
#define ILVRL_B2_SB (   ...)    ILVRL_B2(v16i8, __VA_ARGS__)

Definition at line 1674 of file generic_macros_msa.h.

Referenced by avc_loopfilter_luma_inter_edge_ver_msa().

#define ILVRL_B2_UH (   ...)    ILVRL_B2(v8u16, __VA_ARGS__)
#define ILVRL_B2_SH (   ...)    ILVRL_B2(v8i16, __VA_ARGS__)
#define ILVRL_B2_SW (   ...)    ILVRL_B2(v4i32, __VA_ARGS__)

Definition at line 1677 of file generic_macros_msa.h.

#define ILVRL_H2 (   RTYPE,
  in0,
  in1,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_ilvr_h((v8i16) in0, (v8i16) in1); \
out1 = (RTYPE) __msa_ilvl_h((v8i16) in0, (v8i16) in1); \
}

Definition at line 1679 of file generic_macros_msa.h.

#define ILVRL_H2_SB (   ...)    ILVRL_H2(v16i8, __VA_ARGS__)

Definition at line 1684 of file generic_macros_msa.h.

#define ILVRL_H2_SH (   ...)    ILVRL_H2(v8i16, __VA_ARGS__)
#define ILVRL_H2_SW (   ...)    ILVRL_H2(v4i32, __VA_ARGS__)
#define ILVRL_W2 (   RTYPE,
  in0,
  in1,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_ilvr_w((v4i32) in0, (v4i32) in1); \
out1 = (RTYPE) __msa_ilvl_w((v4i32) in0, (v4i32) in1); \
}

Definition at line 1688 of file generic_macros_msa.h.

#define ILVRL_W2_UB (   ...)    ILVRL_W2(v16u8, __VA_ARGS__)

Definition at line 1693 of file generic_macros_msa.h.

#define ILVRL_W2_SH (   ...)    ILVRL_W2(v8i16, __VA_ARGS__)

Definition at line 1694 of file generic_macros_msa.h.

#define ILVRL_W2_SW (   ...)    ILVRL_W2(v4i32, __VA_ARGS__)

Definition at line 1695 of file generic_macros_msa.h.

#define MAXI_SH2 (   RTYPE,
  in0,
  in1,
  max_val 
)
Value:
{ \
in0 = (RTYPE) __msa_maxi_s_h((v8i16) in0, (max_val)); \
in1 = (RTYPE) __msa_maxi_s_h((v8i16) in1, (max_val)); \
}

Definition at line 1705 of file generic_macros_msa.h.

#define MAXI_SH2_UH (   ...)    MAXI_SH2(v8u16, __VA_ARGS__)

Definition at line 1710 of file generic_macros_msa.h.

#define MAXI_SH2_SH (   ...)    MAXI_SH2(v8i16, __VA_ARGS__)

Definition at line 1711 of file generic_macros_msa.h.

Referenced by avc_wgt_4x2_msa().

#define MAXI_SH4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  max_val 
)
Value:
{ \
MAXI_SH2(RTYPE, in0, in1, max_val); \
MAXI_SH2(RTYPE, in2, in3, max_val); \
}
#define MAXI_SH2(RTYPE, in0, in1, max_val)

Definition at line 1713 of file generic_macros_msa.h.

#define MAXI_SH4_UH (   ...)    MAXI_SH4(v8u16, __VA_ARGS__)
#define SAT_UH2 (   RTYPE,
  in0,
  in1,
  sat_val 
)
Value:
{ \
in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \
in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \
}

Definition at line 1730 of file generic_macros_msa.h.

#define SAT_UH2_UH (   ...)    SAT_UH2(v8u16, __VA_ARGS__)
#define SAT_UH2_SH (   ...)    SAT_UH2(v8i16, __VA_ARGS__)

Definition at line 1736 of file generic_macros_msa.h.

#define SAT_UH4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  sat_val 
)
Value:
{ \
SAT_UH2(RTYPE, in0, in1, sat_val); \
SAT_UH2(RTYPE, in2, in3, sat_val) \
}
#define SAT_UH2(RTYPE, in0, in1, sat_val)

Definition at line 1738 of file generic_macros_msa.h.

#define SAT_UH4_UH (   ...)    SAT_UH4(v8u16, __VA_ARGS__)
#define SAT_SH2 (   RTYPE,
  in0,
  in1,
  sat_val 
)
Value:
{ \
in0 = (RTYPE) __msa_sat_s_h((v8i16) in0, sat_val); \
in1 = (RTYPE) __msa_sat_s_h((v8i16) in1, sat_val); \
}

Definition at line 1755 of file generic_macros_msa.h.

#define SAT_SH2_SH (   ...)    SAT_SH2(v8i16, __VA_ARGS__)
#define SAT_SH3 (   RTYPE,
  in0,
  in1,
  in2,
  sat_val 
)
Value:
{ \
SAT_SH2(RTYPE, in0, in1, sat_val) \
in2 = (RTYPE) __msa_sat_s_h((v8i16) in2, sat_val); \
}
#define SAT_SH2(RTYPE, in0, in1, sat_val)

Definition at line 1762 of file generic_macros_msa.h.

#define SAT_SH3_SH (   ...)    SAT_SH3(v8i16, __VA_ARGS__)
#define SAT_SH4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  sat_val 
)
Value:
{ \
SAT_SH2(RTYPE, in0, in1, sat_val); \
SAT_SH2(RTYPE, in2, in3, sat_val); \
}
#define SAT_SH2(RTYPE, in0, in1, sat_val)

Definition at line 1769 of file generic_macros_msa.h.

#define SAT_SH4_SH (   ...)    SAT_SH4(v8i16, __VA_ARGS__)

Definition at line 1774 of file generic_macros_msa.h.

Referenced by avc_luma_hv_qrt_8w_msa(), avc_luma_hv_qrt_and_aver_dst_8x8_msa(), avc_luma_hz_16w_msa(), avc_luma_hz_8w_msa(), avc_luma_hz_and_aver_dst_16x16_msa(), avc_luma_hz_and_aver_dst_8x8_msa(), avc_luma_hz_qrt_16w_msa(), avc_luma_hz_qrt_8w_msa(), avc_luma_hz_qrt_and_aver_dst_16x16_msa(), avc_luma_hz_qrt_and_aver_dst_8x8_msa(), avc_luma_midv_qrt_4w_msa(), avc_luma_midv_qrt_8w_msa(), avc_luma_midv_qrt_and_aver_dst_8w_msa(), avc_luma_vt_16w_msa(), avc_luma_vt_8w_msa(), avc_luma_vt_and_aver_dst_16x16_msa(), avc_luma_vt_and_aver_dst_8x8_msa(), avc_luma_vt_qrt_16w_msa(), avc_luma_vt_qrt_8w_msa(), avc_luma_vt_qrt_and_aver_dst_16x16_msa(), avc_luma_vt_qrt_and_aver_dst_8x8_msa(), common_hv_8ht_8vt_8w_msa(), common_hv_8ht_8vt_and_aver_dst_8w_msa(), common_hz_4t_12w_msa(), common_hz_4t_16w_msa(), common_hz_4t_24w_msa(), common_hz_4t_32w_msa(), common_hz_4t_4x16_msa(), common_hz_4t_4x8_msa(), common_hz_4t_6w_msa(), common_hz_4t_8x4mult_msa(), common_hz_6t_4x8_msa(), common_hz_8t_12w_msa(), common_hz_8t_16w_msa(), common_hz_8t_24w_msa(), common_hz_8t_32w_msa(), common_hz_8t_4x16_msa(), common_hz_8t_4x8_msa(), common_hz_8t_64w_msa(), common_hz_8t_8x4_msa(), common_hz_8t_8x8mult_msa(), common_hz_8t_and_aver_dst_16w_msa(), common_hz_8t_and_aver_dst_32w_msa(), common_hz_8t_and_aver_dst_4x8_msa(), common_hz_8t_and_aver_dst_64w_msa(), common_hz_8t_and_aver_dst_8w_msa(), common_vt_4t_12w_msa(), common_vt_4t_16w_msa(), common_vt_4t_24w_msa(), common_vt_4t_32w_mult_msa(), common_vt_4t_6w_msa(), common_vt_4t_8x4mult_msa(), common_vt_8t_16w_msa(), common_vt_8t_16w_mult_msa(), common_vt_8t_8w_msa(), common_vt_8t_and_aver_dst_16w_mult_msa(), common_vt_8t_and_aver_dst_8w_msa(), ff_put_vp8_epel16_h4_msa(), ff_put_vp8_epel16_h6_msa(), ff_put_vp8_epel16_v4_msa(), ff_put_vp8_epel16_v6_msa(), ff_put_vp8_epel8_h4_msa(), ff_put_vp8_epel8_h4v4_msa(), ff_put_vp8_epel8_h4v6_msa(), ff_put_vp8_epel8_h6_msa(), ff_put_vp8_epel8_h6v4_msa(), ff_put_vp8_epel8_h6v6_msa(), ff_put_vp8_epel8_v4_msa(), and ff_put_vp8_epel8_v6_msa().

#define SAT_SW2 (   RTYPE,
  in0,
  in1,
  sat_val 
)
Value:
{ \
in0 = (RTYPE) __msa_sat_s_w((v4i32) in0, sat_val); \
in1 = (RTYPE) __msa_sat_s_w((v4i32) in1, sat_val); \
}

Definition at line 1786 of file generic_macros_msa.h.

#define SAT_SW2_SW (   ...)    SAT_SW2(v4i32, __VA_ARGS__)
#define SAT_SW4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  sat_val 
)
Value:
{ \
SAT_SW2(RTYPE, in0, in1, sat_val); \
SAT_SW2(RTYPE, in2, in3, sat_val); \
}
#define SAT_SW2(RTYPE, in0, in1, sat_val)

Definition at line 1793 of file generic_macros_msa.h.

#define SAT_SW4_SW (   ...)    SAT_SW4(v4i32, __VA_ARGS__)

Definition at line 1798 of file generic_macros_msa.h.

#define SPLATI_H2 (   RTYPE,
  in,
  idx0,
  idx1,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_splati_h((v8i16) in, idx0); \
out1 = (RTYPE) __msa_splati_h((v8i16) in, idx1); \
}
uint8_t pi<< 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> in

Definition at line 1809 of file generic_macros_msa.h.

#define SPLATI_H2_SB (   ...)    SPLATI_H2(v16i8, __VA_ARGS__)
#define SPLATI_H2_SH (   ...)    SPLATI_H2(v8i16, __VA_ARGS__)

Definition at line 1815 of file generic_macros_msa.h.

Referenced by common_vt_4t_12w_msa(), common_vt_4t_6w_msa(), common_vt_4t_8x2_msa(), common_vt_4t_8x6_msa(), ff_put_vp8_epel4_h4v4_msa(), ff_put_vp8_epel4_h6v4_msa(), ff_put_vp8_epel8_h4v4_msa(), ff_put_vp8_epel8_h6v4_msa(), hevc_hv_4t_4multx8mult_msa(), hevc_hv_4t_4x2_msa(), hevc_hv_4t_4x4_msa(), hevc_hv_4t_6w_msa(), hevc_hv_4t_8multx4mult_msa(), hevc_hv_4t_8x2_msa(), hevc_hv_4t_8x6_msa(), hevc_hv_bi_4t_4multx8mult_msa(), hevc_hv_bi_4t_4x2_msa(), hevc_hv_bi_4t_4x4_msa(), hevc_hv_bi_4t_6w_msa(), hevc_hv_bi_4t_8multx4mult_msa(), hevc_hv_bi_4t_8x2_msa(), hevc_hv_bi_4t_8x6_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_8multx4mult_msa(), hevc_hv_biwgt_4t_8x2_msa(), hevc_hv_biwgt_4t_8x6_msa(), hevc_hv_uni_4t_4multx8mult_msa(), hevc_hv_uni_4t_4x2_msa(), hevc_hv_uni_4t_4x4_msa(), hevc_hv_uni_4t_6w_msa(), hevc_hv_uni_4t_8w_mult_msa(), hevc_hv_uni_4t_8x2_msa(), hevc_hv_uni_4t_8x6_msa(), hevc_hv_uniwgt_4t_4multx8mult_msa(), hevc_hv_uniwgt_4t_4x2_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(), hevc_hz_4t_12w_msa(), hevc_hz_4t_16w_msa(), hevc_hz_4t_24w_msa(), hevc_hz_4t_32w_msa(), hevc_hz_4t_4x2_msa(), hevc_hz_4t_4x4_msa(), hevc_hz_4t_4x8multiple_msa(), hevc_hz_4t_6w_msa(), hevc_hz_4t_8x2multiple_msa(), hevc_hz_4t_8x4multiple_msa(), hevc_hz_bi_4t_12w_msa(), hevc_hz_bi_4t_16w_msa(), hevc_hz_bi_4t_24w_msa(), hevc_hz_bi_4t_32w_msa(), hevc_hz_bi_4t_4x2_msa(), hevc_hz_bi_4t_4x4_msa(), hevc_hz_bi_4t_4x8multiple_msa(), hevc_hz_bi_4t_6w_msa(), hevc_hz_bi_4t_8x2_msa(), hevc_hz_bi_4t_8x4multiple_msa(), hevc_hz_bi_4t_8x6_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_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_4x2_msa(), hevc_hz_uniwgt_4t_4x4_msa(), hevc_hz_uniwgt_4t_4x8multiple_msa(), hevc_hz_uniwgt_4t_6w_msa(), hevc_hz_uniwgt_4t_8x2_msa(), hevc_hz_uniwgt_4t_8x4multiple_msa(), hevc_hz_uniwgt_4t_8x6_msa(), hevc_intra_pred_plane_16x16_msa(), hevc_vt_4t_12w_msa(), hevc_vt_4t_16w_msa(), hevc_vt_4t_24w_msa(), hevc_vt_4t_32w_msa(), hevc_vt_4t_4x2_msa(), hevc_vt_4t_4x4_msa(), hevc_vt_4t_4x8multiple_msa(), hevc_vt_4t_6w_msa(), hevc_vt_4t_8x2_msa(), hevc_vt_4t_8x4multiple_msa(), hevc_vt_4t_8x6_msa(), hevc_vt_bi_4t_12w_msa(), hevc_vt_bi_4t_16w_msa(), hevc_vt_bi_4t_24w_msa(), hevc_vt_bi_4t_32w_msa(), hevc_vt_bi_4t_4x2_msa(), hevc_vt_bi_4t_4x4_msa(), hevc_vt_bi_4t_4x8multiple_msa(), hevc_vt_bi_4t_6w_msa(), hevc_vt_bi_4t_8x2_msa(), hevc_vt_bi_4t_8x4multiple_msa(), hevc_vt_bi_4t_8x6_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_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_4x2_msa(), hevc_vt_uniwgt_4t_4x4_msa(), hevc_vt_uniwgt_4t_4x8multiple_msa(), hevc_vt_uniwgt_4t_6w_msa(), hevc_vt_uniwgt_4t_8x2_msa(), hevc_vt_uniwgt_4t_8x4multiple_msa(), hevc_vt_uniwgt_4t_8x6_msa(), process_intra_lower_16x16_msa(), and process_intra_upper_16x16_msa().

#define SPLATI_H3 (   RTYPE,
  in,
  idx0,
  idx1,
  idx2,
  out0,
  out1,
  out2 
)
Value:
{ \
SPLATI_H2(RTYPE, in, idx0, idx1, out0, out1); \
out2 = (RTYPE) __msa_splati_h((v8i16) in, idx2); \
}
#define SPLATI_H2(RTYPE, in, idx0, idx1, out0, out1)
uint8_t pi<< 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> in

Definition at line 1817 of file generic_macros_msa.h.

#define SPLATI_H3_SB (   ...)    SPLATI_H3(v16i8, __VA_ARGS__)
#define SPLATI_H3_SH (   ...)    SPLATI_H3(v8i16, __VA_ARGS__)
#define SPLATI_H4 (   RTYPE,
  in,
  idx0,
  idx1,
  idx2,
  idx3,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
SPLATI_H2(RTYPE, in, idx0, idx1, out0, out1); \
SPLATI_H2(RTYPE, in, idx2, idx3, out2, out3); \
}
#define SPLATI_H2(RTYPE, in, idx0, idx1, out0, out1)
uint8_t pi<< 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> in

Definition at line 1826 of file generic_macros_msa.h.

#define SPLATI_H4_SB (   ...)    SPLATI_H4(v16i8, __VA_ARGS__)
#define SPLATI_H4_SH (   ...)    SPLATI_H4(v8i16, __VA_ARGS__)

Definition at line 1833 of file generic_macros_msa.h.

Referenced by common_hv_8ht_8vt_4w_msa(), common_hv_8ht_8vt_8w_msa(), common_hv_8ht_8vt_and_aver_dst_4w_msa(), common_hv_8ht_8vt_and_aver_dst_8w_msa(), common_vt_8t_12w_msa(), hevc_hv_8t_4w_msa(), hevc_hv_8t_8multx2mult_msa(), hevc_hv_bi_8t_4w_msa(), hevc_hv_bi_8t_8multx2mult_msa(), hevc_hv_biwgt_8t_4w_msa(), hevc_hv_biwgt_8t_8multx2mult_msa(), hevc_hv_uni_8t_4w_msa(), hevc_hv_uni_8t_8multx2mult_msa(), hevc_hv_uniwgt_8t_4w_msa(), hevc_hv_uniwgt_8t_8multx2mult_msa(), hevc_hz_8t_16w_msa(), hevc_hz_8t_24w_msa(), hevc_hz_8t_32w_msa(), hevc_hz_8t_48w_msa(), hevc_hz_8t_4w_msa(), hevc_hz_8t_64w_msa(), hevc_hz_8t_8w_msa(), hevc_hz_bi_8t_16w_msa(), hevc_hz_bi_8t_24w_msa(), hevc_hz_bi_8t_32w_msa(), hevc_hz_bi_8t_48w_msa(), hevc_hz_bi_8t_4w_msa(), hevc_hz_bi_8t_64w_msa(), hevc_hz_bi_8t_8w_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_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_intra_pred_plane_4x4_msa(), hevc_intra_pred_plane_8x8_msa(), hevc_vt_8t_12w_msa(), hevc_vt_8t_16multx4mult_msa(), hevc_vt_8t_4w_msa(), hevc_vt_8t_8w_msa(), hevc_vt_bi_8t_12w_msa(), hevc_vt_bi_8t_16multx2mult_msa(), hevc_vt_bi_8t_4w_msa(), hevc_vt_bi_8t_8w_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_8t_12w_msa(), hevc_vt_uniwgt_8t_16multx2mult_msa(), hevc_vt_uniwgt_8t_4w_msa(), hevc_vt_uniwgt_8t_8w_msa(), simple_idct_add_msa(), simple_idct_msa(), and simple_idct_put_msa().

#define SPLATI_W2 (   RTYPE,
  in,
  stidx,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_splati_w((v4i32) in, stidx); \
out1 = (RTYPE) __msa_splati_w((v4i32) in, (stidx+1)); \
}
uint8_t pi<< 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> in

Definition at line 1846 of file generic_macros_msa.h.

#define SPLATI_W2_SH (   ...)    SPLATI_W2(v8i16, __VA_ARGS__)

Definition at line 1851 of file generic_macros_msa.h.

#define SPLATI_W2_SW (   ...)    SPLATI_W2(v4i32, __VA_ARGS__)
#define SPLATI_W4 (   RTYPE,
  in,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
SPLATI_W2(RTYPE, in, 0, out0, out1); \
SPLATI_W2(RTYPE, in, 2, out2, out3); \
}
#define SPLATI_W2(RTYPE, in, stidx, out0, out1)
uint8_t pi<< 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> in

Definition at line 1854 of file generic_macros_msa.h.

#define SPLATI_W4_SH (   ...)    SPLATI_W4(v8i16, __VA_ARGS__)

Definition at line 1859 of file generic_macros_msa.h.

Referenced by hevc_idct_8x32_column_msa().

#define SPLATI_W4_SW (   ...)    SPLATI_W4(v4i32, __VA_ARGS__)
#define PCKEV_B2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \
out1 = (RTYPE) __msa_pckev_b((v16i8) in2, (v16i8) in3); \
}

Definition at line 1873 of file generic_macros_msa.h.

#define PCKEV_B2_SB (   ...)    PCKEV_B2(v16i8, __VA_ARGS__)
#define PCKEV_B2_UB (   ...)    PCKEV_B2(v16u8, __VA_ARGS__)
#define PCKEV_B2_SH (   ...)    PCKEV_B2(v8i16, __VA_ARGS__)

Definition at line 1880 of file generic_macros_msa.h.

Referenced by avc_loopfilter_cb_or_cr_intra_edge_hor_msa(), avc_loopfilter_cb_or_cr_intra_edge_ver_msa(), common_vt_4t_24w_msa(), common_vt_4t_8x6_msa(), ff_loop_filter_h_48_16_msa(), ff_loop_filter_h_84_16_msa(), ff_loop_filter_h_88_16_msa(), ff_loop_filter_h_8_8_msa(), ff_loop_filter_v_16_8_msa(), ff_loop_filter_v_48_16_msa(), ff_loop_filter_v_84_16_msa(), ff_loop_filter_v_88_16_msa(), ff_loop_filter_v_8_8_msa(), h263_h_loop_filter_msa(), h263_v_loop_filter_msa(), hevc_addblk_8x8_msa(), hevc_bi_copy_12w_msa(), hevc_bi_copy_16multx4mult_msa(), hevc_bi_copy_4w_msa(), hevc_bi_copy_6w_msa(), hevc_bi_copy_8w_msa(), hevc_hv_bi_4t_4multx8mult_msa(), hevc_hv_uni_4t_4multx8mult_msa(), hevc_hv_uni_4t_6w_msa(), hevc_hv_uni_4t_8w_mult_msa(), hevc_hv_uni_4t_8x6_msa(), hevc_hz_bi_4t_12w_msa(), hevc_hz_bi_4t_24w_msa(), hevc_hz_bi_4t_32w_msa(), hevc_hz_bi_4t_6w_msa(), hevc_hz_bi_4t_8x4multiple_msa(), hevc_hz_bi_4t_8x6_msa(), hevc_hz_bi_8t_16w_msa(), hevc_hz_bi_8t_4w_msa(), hevc_hz_bi_8t_8w_msa(), hevc_sao_band_filter_8width_msa(), hevc_vt_bi_4t_12w_msa(), hevc_vt_bi_4t_16w_msa(), hevc_vt_bi_4t_24w_msa(), hevc_vt_bi_4t_32w_msa(), hevc_vt_bi_4t_4x8multiple_msa(), hevc_vt_bi_4t_6w_msa(), hevc_vt_bi_4t_8x4multiple_msa(), hevc_vt_bi_4t_8x6_msa(), hevc_vt_bi_8t_12w_msa(), hevc_vt_bi_8t_16multx2mult_msa(), hevc_vt_bi_8t_4w_msa(), hevc_vt_bi_8t_8w_msa(), intra_predict_plane_8x8_msa(), vp9_hz_lpf_t4_and_t8_16w(), vp9_iadst16_1d_columns_addblk_msa(), vp9_iadst8x8_colcol_addblk_msa(), and vp9_vt_lpf_t4_and_t8_16w().

#define PCKEV_B2_SW (   ...)    PCKEV_B2(v4i32, __VA_ARGS__)
#define PCKEV_B3 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  out0,
  out1,
  out2 
)
Value:
{ \
PCKEV_B2(RTYPE, in0, in1, in2, in3, out0, out1); \
out2 = (RTYPE) __msa_pckev_b((v16i8) in4, (v16i8) in5); \
}
#define PCKEV_B2(RTYPE, in0, in1, in2, in3, out0, out1)

Definition at line 1883 of file generic_macros_msa.h.

#define PCKEV_B3_UB (   ...)    PCKEV_B3(v16u8, __VA_ARGS__)
#define PCKEV_B3_SB (   ...)    PCKEV_B3(v16i8, __VA_ARGS__)

Definition at line 1889 of file generic_macros_msa.h.

Referenced by common_vt_8t_12w_msa().

#define PCKEV_B4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
PCKEV_B2(RTYPE, in0, in1, in2, in3, out0, out1); \
PCKEV_B2(RTYPE, in4, in5, in6, in7, out2, out3); \
}
#define PCKEV_B2(RTYPE, in0, in1, in2, in3, out0, out1)

Definition at line 1891 of file generic_macros_msa.h.

#define PCKEV_B4_SB (   ...)    PCKEV_B4(v16i8, __VA_ARGS__)
#define PCKEV_B4_UB (   ...)    PCKEV_B4(v16u8, __VA_ARGS__)
#define PCKEV_B4_SH (   ...)    PCKEV_B4(v8i16, __VA_ARGS__)
#define PCKEV_B4_SW (   ...)    PCKEV_B4(v4i32, __VA_ARGS__)

Definition at line 1900 of file generic_macros_msa.h.

Referenced by simple_idct_add_msa(), and simple_idct_put_msa().

#define PCKEV_H2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_pckev_h((v8i16) in0, (v8i16) in1); \
out1 = (RTYPE) __msa_pckev_h((v8i16) in2, (v8i16) in3); \
}

Definition at line 1913 of file generic_macros_msa.h.

#define PCKEV_H2_SH (   ...)    PCKEV_H2(v8i16, __VA_ARGS__)
#define PCKEV_H2_SW (   ...)    PCKEV_H2(v4i32, __VA_ARGS__)
#define PCKEV_H4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
PCKEV_H2(RTYPE, in0, in1, in2, in3, out0, out1); \
PCKEV_H2(RTYPE, in4, in5, in6, in7, out2, out3); \
}
#define PCKEV_H2(RTYPE, in0, in1, in2, in3, out0, out1)

Definition at line 1921 of file generic_macros_msa.h.

#define PCKEV_H4_SH (   ...)    PCKEV_H4(v8i16, __VA_ARGS__)
#define PCKEV_H4_SW (   ...)    PCKEV_H4(v4i32, __VA_ARGS__)
#define PCKEV_D2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_pckev_d((v2i64) in0, (v2i64) in1); \
out1 = (RTYPE) __msa_pckev_d((v2i64) in2, (v2i64) in3); \
}

Definition at line 1941 of file generic_macros_msa.h.

#define PCKEV_D2_UB (   ...)    PCKEV_D2(v16u8, __VA_ARGS__)
#define PCKEV_D2_SB (   ...)    PCKEV_D2(v16i8, __VA_ARGS__)
#define PCKEV_D2_SH (   ...)    PCKEV_D2(v8i16, __VA_ARGS__)

Definition at line 1948 of file generic_macros_msa.h.

Referenced by hevc_intra_pred_plane_4x4_msa().

#define PCKEV_D4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
PCKEV_D2(RTYPE, in0, in1, in2, in3, out0, out1); \
PCKEV_D2(RTYPE, in4, in5, in6, in7, out2, out3); \
}
#define PCKEV_D2(RTYPE, in0, in1, in2, in3, out0, out1)

Definition at line 1950 of file generic_macros_msa.h.

#define PCKEV_D4_UB (   ...)    PCKEV_D4(v16u8, __VA_ARGS__)

Definition at line 1956 of file generic_macros_msa.h.

Referenced by sad_8width_msa(), and sse_8width_msa().

#define PCKOD_D2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_pckod_d((v2i64) in0, (v2i64) in1); \
out1 = (RTYPE) __msa_pckod_d((v2i64) in2, (v2i64) in3); \
}

Definition at line 1967 of file generic_macros_msa.h.

#define PCKOD_D2_UB (   ...)    PCKOD_D2(v16u8, __VA_ARGS__)

Definition at line 1972 of file generic_macros_msa.h.

#define PCKOD_D2_SH (   ...)    PCKOD_D2(v8i16, __VA_ARGS__)
#define PCKOD_D2_SD (   ...)    PCKOD_D2(v2i64, __VA_ARGS__)

Definition at line 1974 of file generic_macros_msa.h.

#define XORI_B2_128 (   RTYPE,
  in0,
  in1 
)
Value:
{ \
in0 = (RTYPE) __msa_xori_b((v16u8) in0, 128); \
in1 = (RTYPE) __msa_xori_b((v16u8) in1, 128); \
}

Definition at line 1988 of file generic_macros_msa.h.

#define XORI_B2_128_UB (   ...)    XORI_B2_128(v16u8, __VA_ARGS__)
#define XORI_B2_128_SB (   ...)    XORI_B2_128(v16i8, __VA_ARGS__)

Definition at line 1994 of file generic_macros_msa.h.

Referenced by avc_luma_hz_qrt_16w_msa(), avc_luma_hz_qrt_8w_msa(), avc_luma_hz_qrt_and_aver_dst_16x16_msa(), avc_luma_mid_4w_msa(), avc_luma_midh_qrt_4w_msa(), avc_luma_midh_qrt_and_aver_dst_4w_msa(), avc_luma_midv_qrt_4w_msa(), avc_luma_midv_qrt_and_aver_dst_4w_msa(), avc_luma_vt_4w_msa(), avc_luma_vt_and_aver_dst_4x4_msa(), avc_luma_vt_qrt_4w_msa(), avc_luma_vt_qrt_8w_msa(), avc_luma_vt_qrt_and_aver_dst_4x4_msa(), common_hz_4t_4x2_msa(), common_hz_4t_8x2mult_msa(), common_vt_4t_24w_msa(), common_vt_4t_32w_mult_msa(), common_vt_8t_12w_msa(), common_vt_8t_4w_msa(), common_vt_8t_and_aver_dst_4w_msa(), ff_put_vp8_epel4_h4v4_msa(), ff_put_vp8_epel4_h6v6_msa(), ff_put_vp8_epel4_v6_msa(), hevc_hv_4t_4x2_msa(), hevc_hv_4t_8x2_msa(), hevc_hv_4t_8x6_msa(), hevc_hv_8t_4w_msa(), hevc_hv_8t_8multx2mult_msa(), hevc_hv_bi_4t_4x2_msa(), hevc_hv_bi_4t_8x2_msa(), hevc_hv_bi_4t_8x6_msa(), hevc_hv_bi_8t_4w_msa(), hevc_hv_bi_8t_8multx2mult_msa(), hevc_hv_biwgt_4t_4x2_msa(), hevc_hv_biwgt_4t_8x2_msa(), hevc_hv_biwgt_4t_8x6_msa(), hevc_hv_biwgt_8t_4w_msa(), hevc_hv_biwgt_8t_8multx2mult_msa(), hevc_hv_uni_4t_4x2_msa(), hevc_hv_uni_4t_8x2_msa(), hevc_hv_uni_4t_8x6_msa(), hevc_hv_uni_8t_4w_msa(), hevc_hv_uni_8t_8multx2mult_msa(), hevc_hv_uniwgt_4t_4x2_msa(), hevc_hv_uniwgt_4t_8x2_msa(), hevc_hv_uniwgt_4t_8x6_msa(), hevc_hv_uniwgt_8t_4w_msa(), hevc_hv_uniwgt_8t_8multx2mult_msa(), hevc_hz_4t_4x2_msa(), hevc_hz_4t_8x2multiple_msa(), hevc_hz_bi_4t_4x2_msa(), hevc_hz_bi_4t_8x2_msa(), hevc_hz_bi_8t_24w_msa(), hevc_hz_bi_8t_48w_msa(), hevc_hz_biwgt_4t_4x2_msa(), hevc_hz_biwgt_4t_8x2_msa(), hevc_hz_biwgt_8t_24w_msa(), hevc_hz_uniwgt_4t_4x2_msa(), hevc_hz_uniwgt_4t_8x2_msa(), hevc_vt_4t_12w_msa(), hevc_vt_4t_16w_msa(), hevc_vt_4t_24w_msa(), hevc_vt_4t_32w_msa(), hevc_vt_4t_4x2_msa(), hevc_vt_4t_6w_msa(), hevc_vt_4t_8x2_msa(), hevc_vt_4t_8x4multiple_msa(), hevc_vt_4t_8x6_msa(), hevc_vt_bi_4t_12w_msa(), hevc_vt_bi_4t_16w_msa(), hevc_vt_bi_4t_24w_msa(), hevc_vt_bi_4t_32w_msa(), hevc_vt_bi_4t_4x4_msa(), hevc_vt_bi_4t_6w_msa(), hevc_vt_bi_4t_8x2_msa(), hevc_vt_bi_4t_8x4multiple_msa(), hevc_vt_bi_8t_16multx2mult_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_4x4_msa(), hevc_vt_biwgt_4t_6w_msa(), hevc_vt_biwgt_4t_8x2_msa(), hevc_vt_biwgt_4t_8x4multiple_msa(), hevc_vt_biwgt_8t_12w_msa(), hevc_vt_biwgt_8t_16multx2mult_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_4x4_msa(), hevc_vt_uniwgt_4t_6w_msa(), hevc_vt_uniwgt_4t_8x2_msa(), hevc_vt_uniwgt_4t_8x4multiple_msa(), and hevc_vt_uniwgt_8t_16multx2mult_msa().

#define XORI_B2_128_SH (   ...)    XORI_B2_128(v8i16, __VA_ARGS__)

Definition at line 1995 of file generic_macros_msa.h.

Referenced by common_vt_4t_24w_msa(), and common_vt_4t_8x6_msa().

#define XORI_B3_128 (   RTYPE,
  in0,
  in1,
  in2 
)
Value:
{ \
XORI_B2_128(RTYPE, in0, in1); \
in2 = (RTYPE) __msa_xori_b((v16u8) in2, 128); \
}
#define XORI_B2_128(RTYPE, in0, in1)

Definition at line 1997 of file generic_macros_msa.h.

#define XORI_B3_128_SB (   ...)    XORI_B3_128(v16i8, __VA_ARGS__)

Definition at line 2002 of file generic_macros_msa.h.

Referenced by common_vt_4t_12w_msa(), common_vt_4t_16w_msa(), common_vt_4t_24w_msa(), common_vt_4t_32w_mult_msa(), common_vt_4t_8x4mult_msa(), common_vt_4t_8x6_msa(), common_vt_8t_12w_msa(), common_vt_8t_4w_msa(), common_vt_8t_and_aver_dst_4w_msa(), ff_put_vp8_epel16_v4_msa(), ff_put_vp8_epel4_h4v4_msa(), ff_put_vp8_epel4_h6v4_msa(), ff_put_vp8_epel8_h4v4_msa(), ff_put_vp8_epel8_h6v4_msa(), ff_put_vp8_epel8_v4_msa(), hevc_hv_4t_4multx8mult_msa(), hevc_hv_4t_4x2_msa(), hevc_hv_4t_4x4_msa(), hevc_hv_4t_6w_msa(), hevc_hv_4t_8multx4mult_msa(), hevc_hv_4t_8x2_msa(), hevc_hv_4t_8x6_msa(), hevc_hv_bi_4t_4multx8mult_msa(), hevc_hv_bi_4t_4x2_msa(), hevc_hv_bi_4t_4x4_msa(), hevc_hv_bi_4t_6w_msa(), hevc_hv_bi_4t_8multx4mult_msa(), hevc_hv_bi_4t_8x2_msa(), hevc_hv_bi_4t_8x6_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_8multx4mult_msa(), hevc_hv_biwgt_4t_8x2_msa(), hevc_hv_biwgt_4t_8x6_msa(), hevc_hv_uni_4t_4multx8mult_msa(), hevc_hv_uni_4t_4x2_msa(), hevc_hv_uni_4t_4x4_msa(), hevc_hv_uni_4t_6w_msa(), hevc_hv_uni_4t_8w_mult_msa(), hevc_hv_uni_4t_8x2_msa(), hevc_hv_uni_4t_8x6_msa(), hevc_hv_uniwgt_4t_4multx8mult_msa(), hevc_hv_uniwgt_4t_4x2_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(), hevc_hz_4t_32w_msa(), hevc_hz_8t_32w_msa(), hevc_hz_bi_4t_32w_msa(), hevc_hz_bi_8t_32w_msa(), hevc_hz_bi_8t_64w_msa(), hevc_hz_biwgt_4t_32w_msa(), hevc_hz_biwgt_8t_32w_msa(), hevc_hz_biwgt_8t_64w_msa(), hevc_hz_uniwgt_4t_32w_msa(), hevc_hz_uniwgt_8t_32w_msa(), hevc_hz_uniwgt_8t_64w_msa(), hevc_vt_4t_12w_msa(), hevc_vt_4t_16w_msa(), hevc_vt_4t_24w_msa(), hevc_vt_4t_32w_msa(), hevc_vt_4t_4x4_msa(), hevc_vt_4t_4x8multiple_msa(), hevc_vt_4t_6w_msa(), hevc_vt_4t_8x2_msa(), hevc_vt_4t_8x4multiple_msa(), hevc_vt_4t_8x6_msa(), hevc_vt_8t_4w_msa(), hevc_vt_bi_4t_12w_msa(), hevc_vt_bi_4t_16w_msa(), hevc_vt_bi_4t_24w_msa(), hevc_vt_bi_4t_32w_msa(), hevc_vt_bi_4t_4x8multiple_msa(), hevc_vt_bi_4t_6w_msa(), hevc_vt_bi_4t_8x2_msa(), hevc_vt_bi_4t_8x4multiple_msa(), hevc_vt_bi_4t_8x6_msa(), hevc_vt_bi_8t_4w_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_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_4w_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_4x8multiple_msa(), hevc_vt_uniwgt_4t_6w_msa(), hevc_vt_uniwgt_4t_8x2_msa(), hevc_vt_uniwgt_4t_8x4multiple_msa(), hevc_vt_uniwgt_4t_8x6_msa(), and hevc_vt_uniwgt_8t_4w_msa().

#define XORI_B4_128 (   RTYPE,
  in0,
  in1,
  in2,
  in3 
)
Value:
{ \
XORI_B2_128(RTYPE, in0, in1); \
XORI_B2_128(RTYPE, in2, in3); \
}
#define XORI_B2_128(RTYPE, in0, in1)

Definition at line 2004 of file generic_macros_msa.h.

#define XORI_B4_128_UB (   ...)    XORI_B4_128(v16u8, __VA_ARGS__)
#define XORI_B4_128_SB (   ...)    XORI_B4_128(v16i8, __VA_ARGS__)

Definition at line 2010 of file generic_macros_msa.h.

Referenced by avc_biwgt_16width_msa(), avc_biwgt_4x2_msa(), avc_biwgt_4x4multiple_msa(), avc_biwgt_8width_msa(), avc_luma_hv_qrt_4w_msa(), avc_luma_hv_qrt_8w_msa(), avc_luma_hv_qrt_and_aver_dst_4x4_msa(), avc_luma_hv_qrt_and_aver_dst_8x8_msa(), avc_luma_hz_16w_msa(), avc_luma_hz_4w_msa(), avc_luma_hz_8w_msa(), avc_luma_hz_and_aver_dst_16x16_msa(), avc_luma_hz_and_aver_dst_4x4_msa(), avc_luma_hz_and_aver_dst_8x8_msa(), avc_luma_hz_qrt_16w_msa(), avc_luma_hz_qrt_4w_msa(), avc_luma_hz_qrt_8w_msa(), avc_luma_hz_qrt_and_aver_dst_16x16_msa(), avc_luma_hz_qrt_and_aver_dst_4x4_msa(), avc_luma_hz_qrt_and_aver_dst_8x8_msa(), avc_luma_mid_4w_msa(), avc_luma_mid_8w_msa(), avc_luma_mid_and_aver_dst_4x4_msa(), avc_luma_mid_and_aver_dst_8w_msa(), avc_luma_midv_qrt_4w_msa(), avc_luma_midv_qrt_8w_msa(), avc_luma_midv_qrt_and_aver_dst_8w_msa(), avc_luma_vt_16w_msa(), avc_luma_vt_8w_msa(), avc_luma_vt_and_aver_dst_16x16_msa(), avc_luma_vt_and_aver_dst_8x8_msa(), avc_luma_vt_qrt_16w_msa(), avc_luma_vt_qrt_8w_msa(), avc_luma_vt_qrt_and_aver_dst_16x16_msa(), avc_luma_vt_qrt_and_aver_dst_8x8_msa(), common_hv_8ht_8vt_4w_msa(), common_hv_8ht_8vt_8w_msa(), common_hv_8ht_8vt_and_aver_dst_4w_msa(), common_hv_8ht_8vt_and_aver_dst_8w_msa(), common_hz_4t_12w_msa(), common_hz_4t_4x4_msa(), common_hz_4t_4x8_msa(), common_hz_4t_6w_msa(), common_hz_4t_8x4mult_msa(), common_hz_6t_4x4_msa(), common_hz_6t_4x8_msa(), common_hz_8t_12w_msa(), common_hz_8t_16w_msa(), common_hz_8t_24w_msa(), common_hz_8t_32w_msa(), common_hz_8t_48w_msa(), common_hz_8t_4x16_msa(), common_hz_8t_4x4_msa(), common_hz_8t_4x8_msa(), common_hz_8t_64w_msa(), common_hz_8t_8x4_msa(), common_hz_8t_8x8mult_msa(), common_hz_8t_and_aver_dst_16w_msa(), common_hz_8t_and_aver_dst_32w_msa(), common_hz_8t_and_aver_dst_4x4_msa(), common_hz_8t_and_aver_dst_4x8_msa(), common_hz_8t_and_aver_dst_64w_msa(), common_hz_8t_and_aver_dst_8w_msa(), common_vt_4t_12w_msa(), common_vt_4t_16w_msa(), common_vt_4t_8x4mult_msa(), common_vt_8t_16w_msa(), common_vt_8t_16w_mult_msa(), common_vt_8t_8w_msa(), common_vt_8t_and_aver_dst_16w_mult_msa(), common_vt_8t_and_aver_dst_8w_msa(), ff_put_vp8_epel16_v4_msa(), ff_put_vp8_epel16_v6_msa(), ff_put_vp8_epel4_h4v6_msa(), ff_put_vp8_epel4_h6v4_msa(), ff_put_vp8_epel8_h4_msa(), ff_put_vp8_epel8_h4v4_msa(), ff_put_vp8_epel8_h4v6_msa(), ff_put_vp8_epel8_h6_msa(), ff_put_vp8_epel8_h6v4_msa(), ff_put_vp8_epel8_h6v6_msa(), ff_put_vp8_epel8_v4_msa(), ff_put_vp8_epel8_v6_msa(), hevc_hv_4t_4x4_msa(), hevc_hv_4t_6w_msa(), hevc_hv_4t_8multx4mult_msa(), hevc_hv_bi_4t_4x4_msa(), hevc_hv_bi_4t_6w_msa(), hevc_hv_bi_4t_8multx4mult_msa(), hevc_hv_biwgt_4t_4x4_msa(), hevc_hv_biwgt_4t_6w_msa(), hevc_hv_biwgt_4t_8multx4mult_msa(), hevc_hv_uni_4t_4x4_msa(), hevc_hv_uni_4t_6w_msa(), hevc_hv_uni_4t_8w_mult_msa(), hevc_hv_uniwgt_4t_4x4_msa(), hevc_hv_uniwgt_4t_6w_msa(), hevc_hv_uniwgt_4t_8multx4mult_msa(), hevc_hz_4t_12w_msa(), hevc_hz_4t_4x4_msa(), hevc_hz_4t_6w_msa(), hevc_hz_4t_8x4multiple_msa(), hevc_hz_8t_24w_msa(), hevc_hz_8t_48w_msa(), hevc_hz_8t_8w_msa(), hevc_hz_bi_4t_12w_msa(), hevc_hz_bi_4t_4x4_msa(), hevc_hz_bi_4t_6w_msa(), hevc_hz_bi_4t_8x4multiple_msa(), hevc_hz_bi_8t_16w_msa(), hevc_hz_bi_8t_8w_msa(), hevc_hz_biwgt_4t_12w_msa(), hevc_hz_biwgt_4t_24w_msa(), hevc_hz_biwgt_4t_4x4_msa(), hevc_hz_biwgt_4t_6w_msa(), hevc_hz_biwgt_4t_8x4multiple_msa(), hevc_hz_biwgt_8t_16w_msa(), hevc_hz_biwgt_8t_48w_msa(), hevc_hz_biwgt_8t_4w_msa(), hevc_hz_biwgt_8t_8w_msa(), hevc_hz_uniwgt_4t_12w_msa(), hevc_hz_uniwgt_4t_24w_msa(), hevc_hz_uniwgt_4t_4x4_msa(), hevc_hz_uniwgt_4t_6w_msa(), hevc_hz_uniwgt_4t_8x4multiple_msa(), hevc_hz_uniwgt_8t_16w_msa(), hevc_hz_uniwgt_8t_24w_msa(), hevc_hz_uniwgt_8t_48w_msa(), hevc_hz_uniwgt_8t_8w_msa(), hevc_vt_8t_12w_msa(), hevc_vt_8t_16multx4mult_msa(), hevc_vt_8t_4w_msa(), hevc_vt_8t_8w_msa(), hevc_vt_bi_8t_12w_msa(), hevc_vt_bi_8t_4w_msa(), hevc_vt_bi_8t_8w_msa(), hevc_vt_biwgt_8t_4w_msa(), hevc_vt_biwgt_8t_8w_msa(), hevc_vt_uniwgt_8t_12w_msa(), hevc_vt_uniwgt_8t_4w_msa(), and hevc_vt_uniwgt_8t_8w_msa().

#define XORI_B4_128_SH (   ...)    XORI_B4_128(v8i16, __VA_ARGS__)

Definition at line 2011 of file generic_macros_msa.h.

#define XORI_B5_128 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4 
)
Value:
{ \
XORI_B3_128(RTYPE, in0, in1, in2); \
XORI_B2_128(RTYPE, in3, in4); \
}
#define XORI_B3_128(RTYPE, in0, in1, in2)
#define XORI_B2_128(RTYPE, in0, in1)

Definition at line 2013 of file generic_macros_msa.h.

#define XORI_B5_128_SB (   ...)    XORI_B5_128(v16i8, __VA_ARGS__)
#define XORI_B6_128 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5 
)
Value:
{ \
XORI_B4_128(RTYPE, in0, in1, in2, in3); \
XORI_B2_128(RTYPE, in4, in5); \
}
#define XORI_B2_128(RTYPE, in0, in1)
#define XORI_B4_128(RTYPE, in0, in1, in2, in3)

Definition at line 2020 of file generic_macros_msa.h.

#define XORI_B6_128_SB (   ...)    XORI_B6_128(v16i8, __VA_ARGS__)
#define XORI_B7_128 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6 
)
Value:
{ \
XORI_B4_128(RTYPE, in0, in1, in2, in3); \
XORI_B3_128(RTYPE, in4, in5, in6); \
}
#define XORI_B3_128(RTYPE, in0, in1, in2)
#define XORI_B4_128(RTYPE, in0, in1, in2, in3)

Definition at line 2027 of file generic_macros_msa.h.

#define XORI_B7_128_SB (   ...)    XORI_B7_128(v16i8, __VA_ARGS__)
#define XORI_B8_128 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7 
)
Value:
{ \
XORI_B4_128(RTYPE, in0, in1, in2, in3); \
XORI_B4_128(RTYPE, in4, in5, in6, in7); \
}
#define XORI_B4_128(RTYPE, in0, in1, in2, in3)

Definition at line 2034 of file generic_macros_msa.h.

#define XORI_B8_128_SB (   ...)    XORI_B8_128(v16i8, __VA_ARGS__)
#define ADDS_SH2 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
Value:
{ \
out0 = (RTYPE) __msa_adds_s_h((v8i16) in0, (v8i16) in1); \
out1 = (RTYPE) __msa_adds_s_h((v8i16) in2, (v8i16) in3); \
}

Definition at line 2050 of file generic_macros_msa.h.

#define ADDS_SH2_SH (   ...)    ADDS_SH2(v8i16, __VA_ARGS__)
#define ADDS_SH4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
ADDS_SH2(RTYPE, in0, in1, in2, in3, out0, out1); \
ADDS_SH2(RTYPE, in4, in5, in6, in7, out2, out3); \
}
#define ADDS_SH2(RTYPE, in0, in1, in2, in3, out0, out1)

Definition at line 2057 of file generic_macros_msa.h.

#define ADDS_SH4_UH (   ...)    ADDS_SH4(v8u16, __VA_ARGS__)
#define ADDS_SH4_SH (   ...)    ADDS_SH4(v8i16, __VA_ARGS__)
#define SLLI_4V (   in0,
  in1,
  in2,
  in3,
  shift 
)
#define SRA_4V (   in0,
  in1,
  in2,
  in3,
  shift 
)
#define SRL_H4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  shift 
)
Value:
{ \
in0 = (RTYPE) __msa_srl_h((v8i16) in0, (v8i16) shift); \
in1 = (RTYPE) __msa_srl_h((v8i16) in1, (v8i16) shift); \
in2 = (RTYPE) __msa_srl_h((v8i16) in2, (v8i16) shift); \
in3 = (RTYPE) __msa_srl_h((v8i16) in3, (v8i16) shift); \
}
static int shift(int a, int b)
Definition: sonic.c:82

Definition at line 2110 of file generic_macros_msa.h.

#define SRL_H4_UH (   ...)    SRL_H4(v8u16, __VA_ARGS__)
#define SRAR_H2 (   RTYPE,
  in0,
  in1,
  shift 
)
Value:
{ \
in0 = (RTYPE) __msa_srar_h((v8i16) in0, (v8i16) shift); \
in1 = (RTYPE) __msa_srar_h((v8i16) in1, (v8i16) shift); \
}
static int shift(int a, int b)
Definition: sonic.c:82

Definition at line 2130 of file generic_macros_msa.h.

#define SRAR_H2_UH (   ...)    SRAR_H2(v8u16, __VA_ARGS__)

Definition at line 2135 of file generic_macros_msa.h.

#define SRAR_H2_SH (   ...)    SRAR_H2(v8i16, __VA_ARGS__)
#define SRAR_H3 (   RTYPE,
  in0,
  in1,
  in2,
  shift 
)
Value:
{ \
SRAR_H2(RTYPE, in0, in1, shift) \
in2 = (RTYPE) __msa_srar_h((v8i16) in2, (v8i16) shift); \
}
static int shift(int a, int b)
Definition: sonic.c:82
#define SRAR_H2(RTYPE, in0, in1, shift)

Definition at line 2138 of file generic_macros_msa.h.

#define SRAR_H3_SH (   ...)    SRAR_H3(v8i16, __VA_ARGS__)
#define SRAR_H4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  shift 
)
Value:
{ \
SRAR_H2(RTYPE, in0, in1, shift) \
SRAR_H2(RTYPE, in2, in3, shift) \
}
static int shift(int a, int b)
Definition: sonic.c:82
#define SRAR_H2(RTYPE, in0, in1, shift)

Definition at line 2145 of file generic_macros_msa.h.

#define SRAR_H4_UH (   ...)    SRAR_H4(v8u16, __VA_ARGS__)

Definition at line 2150 of file generic_macros_msa.h.

#define SRAR_H4_SH (   ...)    SRAR_H4(v8i16, __VA_ARGS__)
#define SRAR_W2 (   RTYPE,
  in0,
  in1,
  shift 
)
Value:
{ \
in0 = (RTYPE) __msa_srar_w((v4i32) in0, (v4i32) shift); \
in1 = (RTYPE) __msa_srar_w((v4i32) in1, (v4i32) shift); \
}
static int shift(int a, int b)
Definition: sonic.c:82

Definition at line 2164 of file generic_macros_msa.h.

#define SRAR_W2_SW (   ...)    SRAR_W2(v4i32, __VA_ARGS__)
#define SRAR_W4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  shift 
)
Value:
{ \
SRAR_W2(RTYPE, in0, in1, shift) \
SRAR_W2(RTYPE, in2, in3, shift) \
}
static int shift(int a, int b)
Definition: sonic.c:82
#define SRAR_W2(RTYPE, in0, in1, shift)

Definition at line 2171 of file generic_macros_msa.h.

#define SRAR_W4_SW (   ...)    SRAR_W4(v4i32, __VA_ARGS__)

Definition at line 2176 of file generic_macros_msa.h.

Referenced by hevc_hv_biwgt_8t_8multx2mult_msa().

#define SRARI_H2 (   RTYPE,
  in0,
  in1,
  shift 
)
Value:
{ \
in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \
in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \
}
static int shift(int a, int b)
Definition: sonic.c:82

Definition at line 2188 of file generic_macros_msa.h.

#define SRARI_H2_UH (   ...)    SRARI_H2(v8u16, __VA_ARGS__)
#define SRARI_H2_SH (   ...)    SRARI_H2(v8i16, __VA_ARGS__)
#define SRARI_H4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  shift 
)
Value:
{ \
SRARI_H2(RTYPE, in0, in1, shift); \
SRARI_H2(RTYPE, in2, in3, shift); \
}
static int shift(int a, int b)
Definition: sonic.c:82
#define SRARI_H2(RTYPE, in0, in1, shift)

Definition at line 2196 of file generic_macros_msa.h.

#define SRARI_H4_UH (   ...)    SRARI_H4(v8u16, __VA_ARGS__)
#define SRARI_H4_SH (   ...)    SRARI_H4(v8i16, __VA_ARGS__)

Definition at line 2202 of file generic_macros_msa.h.

Referenced by avc_idct4x4_addblk_msa(), avc_luma_hv_qrt_8w_msa(), avc_luma_hv_qrt_and_aver_dst_8x8_msa(), avc_luma_hz_16w_msa(), avc_luma_hz_8w_msa(), avc_luma_hz_and_aver_dst_16x16_msa(), avc_luma_hz_and_aver_dst_8x8_msa(), avc_luma_hz_qrt_16w_msa(), avc_luma_hz_qrt_8w_msa(), avc_luma_hz_qrt_and_aver_dst_16x16_msa(), avc_luma_hz_qrt_and_aver_dst_8x8_msa(), avc_luma_vt_16w_msa(), avc_luma_vt_8w_msa(), avc_luma_vt_and_aver_dst_16x16_msa(), avc_luma_vt_and_aver_dst_8x8_msa(), avc_luma_vt_qrt_16w_msa(), avc_luma_vt_qrt_8w_msa(), avc_luma_vt_qrt_and_aver_dst_16x16_msa(), avc_luma_vt_qrt_and_aver_dst_8x8_msa(), common_hv_8ht_8vt_8w_msa(), common_hv_8ht_8vt_and_aver_dst_8w_msa(), common_hz_4t_4x16_msa(), common_hz_4t_4x8_msa(), common_hz_6t_4x8_msa(), common_hz_8t_16w_msa(), common_hz_8t_32w_msa(), common_hz_8t_4x16_msa(), common_hz_8t_4x8_msa(), common_hz_8t_64w_msa(), common_hz_8t_8x4_msa(), common_hz_8t_8x8mult_msa(), common_hz_8t_and_aver_dst_16w_msa(), common_hz_8t_and_aver_dst_32w_msa(), common_hz_8t_and_aver_dst_4x8_msa(), common_hz_8t_and_aver_dst_64w_msa(), common_hz_8t_and_aver_dst_8w_msa(), common_vt_8t_16w_msa(), common_vt_8t_16w_mult_msa(), common_vt_8t_8w_msa(), common_vt_8t_and_aver_dst_16w_mult_msa(), common_vt_8t_and_aver_dst_8w_msa(), ff_put_vp8_epel16_h4_msa(), ff_put_vp8_epel16_h6_msa(), ff_put_vp8_epel16_v4_msa(), ff_put_vp8_epel16_v6_msa(), ff_put_vp8_epel8_h4_msa(), ff_put_vp8_epel8_h4v4_msa(), ff_put_vp8_epel8_h4v6_msa(), ff_put_vp8_epel8_h6_msa(), ff_put_vp8_epel8_h6v4_msa(), ff_put_vp8_epel8_h6v6_msa(), ff_put_vp8_epel8_v4_msa(), ff_put_vp8_epel8_v6_msa(), hevc_hv_uni_4t_4multx8mult_msa(), hevc_hv_uni_4t_6w_msa(), hevc_hv_uni_4t_8w_mult_msa(), hevc_hv_uni_4t_8x6_msa(), hevc_intra_pred_angular_lower_16width_msa(), hevc_intra_pred_angular_lower_32width_msa(), hevc_intra_pred_angular_lower_8width_msa(), hevc_intra_pred_angular_upper_16width_msa(), hevc_intra_pred_angular_upper_32width_msa(), hevc_intra_pred_angular_upper_8width_msa(), hevc_intra_pred_plane_8x8_msa(), vp9_iadst4x4_colcol_addblk_msa(), vp9_iadst_idct_4x4_add_msa(), vp9_iadst_idct_8x8_add_msa(), vp9_idct16_1d_columns_addblk_msa(), vp9_idct4x4_colcol_addblk_msa(), vp9_idct8x32_column_butterfly_addblk(), vp9_idct8x8_12_colcol_addblk_msa(), vp9_idct8x8_colcol_addblk_msa(), vp9_idct_iadst_4x4_add_msa(), and vp9_idct_iadst_8x8_add_msa().

#define SRARI_W2 (   RTYPE,
  in0,
  in1,
  shift 
)
Value:
{ \
in0 = (RTYPE) __msa_srari_w((v4i32) in0, shift); \
in1 = (RTYPE) __msa_srari_w((v4i32) in1, shift); \
}
static int shift(int a, int b)
Definition: sonic.c:82

Definition at line 2214 of file generic_macros_msa.h.

#define SRARI_W2_SW (   ...)    SRARI_W2(v4i32, __VA_ARGS__)
#define SRARI_W4 (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  shift 
)
Value:
{ \
SRARI_W2(RTYPE, in0, in1, shift); \
SRARI_W2(RTYPE, in2, in3, shift); \
}
static int shift(int a, int b)
Definition: sonic.c:82
#define SRARI_W2(RTYPE, in0, in1, shift)

Definition at line 2221 of file generic_macros_msa.h.

#define SRARI_W4_SH (   ...)    SRARI_W4(v8i16, __VA_ARGS__)

Definition at line 2226 of file generic_macros_msa.h.

#define SRARI_W4_SW (   ...)    SRARI_W4(v4i32, __VA_ARGS__)
#define MUL2 (   in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
#define MUL4 (   in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  out0,
  out1,
  out2,
  out3 
)
#define ADD2 (   in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
#define ADD4 (   in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  out0,
  out1,
  out2,
  out3 
)
#define SUB2 (   in0,
  in1,
  in2,
  in3,
  out0,
  out1 
)
#define SUB4 (   in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
out0 = in0 - in1; \
out1 = in2 - in3; \
out2 = in4 - in5; \
out3 = in6 - in7; \
}

Definition at line 2275 of file generic_macros_msa.h.

Referenced by simple_idct_msa(), vp9_idct8x32_column_butterfly_addblk(), and vp9_idct8x32_column_odd_process_store().

#define UNPCK_R_SH_SW (   in,
  out 
)
Value:
{ \
v8i16 sign_m; \
\
sign_m = __msa_clti_s_h((v8i16) in, 0); \
out = (v4i32) __msa_ilvr_h(sign_m, (v8i16) in); \
}
FILE * out
Definition: movenc-test.c:54
uint8_t pi<< 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> in

Definition at line 2291 of file generic_macros_msa.h.

Referenced by avc_deq_idct_luma_dc_msa().

#define UNPCK_SB_SH (   in,
  out0,
  out1 
)
Value:
{ \
v16i8 tmp_m; \
\
tmp_m = __msa_clti_s_b((v16i8) in, 0); \
ILVRL_B2_SH(tmp_m, in, out0, out1); \
}
#define ILVRL_B2_SH(...)
uint8_t pi<< 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> in

Definition at line 2310 of file generic_macros_msa.h.

Referenced by hevc_sao_band_filter_16multiple_msa(), hevc_sao_band_filter_4width_msa(), hevc_sao_band_filter_8width_msa(), hevc_sao_edge_filter_0degree_16multiple_msa(), hevc_sao_edge_filter_135degree_16multiple_msa(), hevc_sao_edge_filter_45degree_16multiple_msa(), and hevc_sao_edge_filter_90degree_16multiple_msa().

#define UNPCK_UB_SH (   in,
  out0,
  out1 
)
Value:
{ \
v16i8 zero_m = { 0 }; \
ILVRL_B2_SH(zero_m, in, out0, out1); \
}
#define ILVRL_B2_SH(...)
uint8_t pi<< 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> in

Definition at line 2325 of file generic_macros_msa.h.

Referenced by avc_idct4x4_addblk_dc_msa(), avc_loopfilter_luma_inter_edge_hor_msa(), avc_loopfilter_luma_inter_edge_ver_msa(), avc_loopfilter_luma_intra_edge_hor_msa(), avc_loopfilter_luma_intra_edge_ver_msa(), hevc_addblk_16x16_msa(), hevc_addblk_32x32_msa(), hevc_addblk_8x8_msa(), hevc_intra_pred_angular_lower_16width_msa(), hevc_intra_pred_angular_lower_32width_msa(), hevc_intra_pred_angular_lower_8width_msa(), hevc_intra_pred_angular_upper_16width_msa(), hevc_intra_pred_angular_upper_32width_msa(), hevc_intra_pred_angular_upper_8width_msa(), hevc_intra_pred_horiz_16x16_msa(), hevc_intra_pred_plane_16x16_msa(), hevc_intra_pred_vert_16x16_msa(), hevc_sao_band_filter_8width_msa(), hevc_sao_edge_filter_0degree_16multiple_msa(), hevc_sao_edge_filter_135degree_16multiple_msa(), hevc_sao_edge_filter_45degree_16multiple_msa(), hevc_sao_edge_filter_90degree_16multiple_msa(), process_intra_lower_16x16_msa(), process_intra_upper_16x16_msa(), vp9_idct16x16_1_add_msa(), and vp9_idct32x32_1_add_msa().

#define UNPCK_SH_SW (   in,
  out0,
  out1 
)
Value:
{ \
v8i16 tmp_m; \
\
tmp_m = __msa_clti_s_h((v8i16) in, 0); \
ILVRL_H2_SW(tmp_m, in, out0, out1); \
}
#define ILVRL_H2_SW(...)
uint8_t pi<< 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> in

Definition at line 2343 of file generic_macros_msa.h.

Referenced by avc_idct8_addblk_msa(), ff_vp8_idct_add_msa(), ff_vp8_luma_dc_wht_msa(), hevc_hv_bi_8t_4w_msa(), hevc_hv_bi_8t_8multx2mult_msa(), hevc_idct_luma_4x4_msa(), mpeg2_dct_unquantize_inter_msa(), simple_idct_add_msa(), simple_idct_msa(), and simple_idct_put_msa().

#define SWAP (   in0,
  in1 
)
Value:
{ \
in0 = in0 ^ in1; \
in1 = in0 ^ in1; \
in0 = in0 ^ in1; \
}

Definition at line 2356 of file generic_macros_msa.h.

Referenced by hevc_sao_band_filter_16multiple_msa(), hevc_sao_band_filter_4width_msa(), and hevc_sao_band_filter_8width_msa().

#define BUTTERFLY_4 (   in0,
  in1,
  in2,
  in3,
  out0,
  out1,
  out2,
  out3 
)
#define BUTTERFLY_8 (   in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  out0,
  out1,
  out2,
  out3,
  out4,
  out5,
  out6,
  out7 
)
Value:
{ \
out0 = in0 + in7; \
out1 = in1 + in6; \
out2 = in2 + in5; \
out3 = in3 + in4; \
\
out4 = in3 - in4; \
out5 = in2 - in5; \
out6 = in1 - in6; \
out7 = in0 - in7; \
}

Definition at line 2382 of file generic_macros_msa.h.

Referenced by avc_idct8_addblk_msa(), hadamard_diff_8x8_msa(), hadamard_intra_8x8_msa(), simple_idct_add_msa(), simple_idct_msa(), simple_idct_put_msa(), and vp9_idct8x8_12_colcol_addblk_msa().

#define BUTTERFLY_16 (   in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  in8,
  in9,
  in10,
  in11,
  in12,
  in13,
  in14,
  in15,
  out0,
  out1,
  out2,
  out3,
  out4,
  out5,
  out6,
  out7,
  out8,
  out9,
  out10,
  out11,
  out12,
  out13,
  out14,
  out15 
)
Value:
{ \
out0 = in0 + in15; \
out1 = in1 + in14; \
out2 = in2 + in13; \
out3 = in3 + in12; \
out4 = in4 + in11; \
out5 = in5 + in10; \
out6 = in6 + in9; \
out7 = in7 + in8; \
\
out8 = in7 - in8; \
out9 = in6 - in9; \
out10 = in5 - in10; \
out11 = in4 - in11; \
out12 = in3 - in12; \
out13 = in2 - in13; \
out14 = in1 - in14; \
out15 = in0 - in15; \
}

Definition at line 2401 of file generic_macros_msa.h.

Referenced by simple_idct_add_msa(), simple_idct_msa(), and simple_idct_put_msa().

#define TRANSPOSE4x4_UB_UB (   in0,
  in1,
  in2,
  in3,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
v16i8 zero_m = { 0 }; \
v16i8 s0_m, s1_m, s2_m, s3_m; \
ILVR_D2_SB(in1, in0, in3, in2, s0_m, s1_m); \
ILVRL_B2_SB(s1_m, s0_m, s2_m, s3_m); \
\
out0 = (v16u8) __msa_ilvr_b(s3_m, s2_m); \
out1 = (v16u8) __msa_sldi_b(zero_m, (v16i8) out0, 4); \
out2 = (v16u8) __msa_sldi_b(zero_m, (v16i8) out1, 4); \
out3 = (v16u8) __msa_sldi_b(zero_m, (v16i8) out2, 4); \
}
#define ILVR_D2_SB(...)
#define ILVRL_B2_SB(...)

Definition at line 2431 of file generic_macros_msa.h.

#define TRANSPOSE8x4_UB (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
v16i8 tmp0_m, tmp1_m, tmp2_m, tmp3_m; \
ILVEV_W2_SB(in0, in4, in1, in5, tmp0_m, tmp1_m); \
tmp2_m = __msa_ilvr_b(tmp1_m, tmp0_m); \
ILVEV_W2_SB(in2, in6, in3, in7, tmp0_m, tmp1_m); \
\
tmp3_m = __msa_ilvr_b(tmp1_m, tmp0_m); \
ILVRL_H2_SB(tmp3_m, tmp2_m, tmp0_m, tmp1_m); \
ILVRL_W2(RTYPE, tmp1_m, tmp0_m, out0, out2); \
out1 = (RTYPE) __msa_ilvl_d((v2i64) out2, (v2i64) out0); \
out3 = (RTYPE) __msa_ilvl_d((v2i64) out0, (v2i64) out2); \
}
#define ILVRL_W2(RTYPE, in0, in1, out0, out1)
#define ILVEV_W2_SB(...)
#define ILVRL_H2_SB(...)

Definition at line 2451 of file generic_macros_msa.h.

#define TRANSPOSE8x4_UB_UB (   ...)    TRANSPOSE8x4_UB(v16u8, __VA_ARGS__)
#define TRANSPOSE8x4_UB_UH (   ...)    TRANSPOSE8x4_UB(v8u16, __VA_ARGS__)

Definition at line 2468 of file generic_macros_msa.h.

Referenced by hevc_loopfilter_chroma_ver_msa().

#define TRANSPOSE8x8_UB (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  out0,
  out1,
  out2,
  out3,
  out4,
  out5,
  out6,
  out7 
)
Value:
{ \
v16i8 tmp0_m, tmp1_m, tmp2_m, tmp3_m; \
v16i8 tmp4_m, tmp5_m, tmp6_m, tmp7_m; \
ILVR_B4_SB(in2, in0, in3, in1, in6, in4, in7, in5, \
tmp0_m, tmp1_m, tmp2_m, tmp3_m); \
ILVRL_B2_SB(tmp1_m, tmp0_m, tmp4_m, tmp5_m); \
ILVRL_B2_SB(tmp3_m, tmp2_m, tmp6_m, tmp7_m); \
ILVRL_W2(RTYPE, tmp6_m, tmp4_m, out0, out2); \
ILVRL_W2(RTYPE, tmp7_m, tmp5_m, out4, out6); \
SLDI_B2_0(RTYPE, out0, out2, out1, out3, 8); \
SLDI_B2_0(RTYPE, out4, out6, out5, out7, 8); \
}
#define ILVRL_W2(RTYPE, in0, in1, out0, out1)
#define SLDI_B2_0(RTYPE, in0, in1, out0, out1, slide_val)
#define ILVRL_B2_SB(...)
#define ILVR_B4_SB(...)

Definition at line 2478 of file generic_macros_msa.h.

#define TRANSPOSE8x8_UB_UB (   ...)    TRANSPOSE8x8_UB(v16u8, __VA_ARGS__)
#define TRANSPOSE8x8_UB_UH (   ...)    TRANSPOSE8x8_UB(v8u16, __VA_ARGS__)

Definition at line 2494 of file generic_macros_msa.h.

Referenced by hevc_loopfilter_luma_ver_msa().

#define TRANSPOSE16x4_UB_UB (   in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  in8,
  in9,
  in10,
  in11,
  in12,
  in13,
  in14,
  in15,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
v2i64 tmp0_m, tmp1_m, tmp2_m, tmp3_m; \
ILVEV_W2_SD(in0, in4, in8, in12, tmp0_m, tmp1_m); \
out1 = (v16u8) __msa_ilvev_d(tmp1_m, tmp0_m); \
ILVEV_W2_SD(in1, in5, in9, in13, tmp0_m, tmp1_m); \
out3 = (v16u8) __msa_ilvev_d(tmp1_m, tmp0_m); \
ILVEV_W2_SD(in2, in6, in10, in14, tmp0_m, tmp1_m); \
\
tmp2_m = __msa_ilvev_d(tmp1_m, tmp0_m); \
ILVEV_W2_SD(in3, in7, in11, in15, tmp0_m, tmp1_m); \
\
tmp3_m = __msa_ilvev_d(tmp1_m, tmp0_m); \
ILVEV_B2_SD(out1, out3, tmp2_m, tmp3_m, tmp0_m, tmp1_m); \
out0 = (v16u8) __msa_ilvev_h((v8i16) tmp1_m, (v8i16) tmp0_m); \
out2 = (v16u8) __msa_ilvod_h((v8i16) tmp1_m, (v8i16) tmp0_m); \
\
tmp0_m = (v2i64) __msa_ilvod_b((v16i8) out3, (v16i8) out1); \
tmp1_m = (v2i64) __msa_ilvod_b((v16i8) tmp3_m, (v16i8) tmp2_m); \
out1 = (v16u8) __msa_ilvev_h((v8i16) tmp1_m, (v8i16) tmp0_m); \
out3 = (v16u8) __msa_ilvod_h((v8i16) tmp1_m, (v8i16) tmp0_m); \
}
#define ILVEV_B2_SD(...)
#define ILVEV_W2_SD(...)

Definition at line 2503 of file generic_macros_msa.h.

Referenced by ff_vp8_h_loop_filter_simple_msa().

#define TRANSPOSE16x8_UB_UB (   in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  in8,
  in9,
  in10,
  in11,
  in12,
  in13,
  in14,
  in15,
  out0,
  out1,
  out2,
  out3,
  out4,
  out5,
  out6,
  out7 
)
#define TRANSPOSE4x4_SH_SH (   in0,
  in1,
  in2,
  in3,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
v8i16 s0_m, s1_m; \
ILVR_H2_SH(in1, in0, in3, in2, s0_m, s1_m); \
ILVRL_W2_SH(s1_m, s0_m, out0, out2); \
out1 = (v8i16) __msa_ilvl_d((v2i64) out0, (v2i64) out0); \
out3 = (v8i16) __msa_ilvl_d((v2i64) out0, (v2i64) out2); \
}
#define ILVRL_W2_SH(...)
#define ILVR_H2_SH(...)

Definition at line 2586 of file generic_macros_msa.h.

Referenced by avc_deq_idct_luma_dc_msa(), avc_idct4x4_addblk_msa(), vp9_iadst4x4_colcol_addblk_msa(), vp9_iadst_idct_4x4_add_msa(), vp9_idct4x4_colcol_addblk_msa(), and vp9_idct_iadst_4x4_add_msa().

#define TRANSPOSE8x8_H (   RTYPE,
  in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  out0,
  out1,
  out2,
  out3,
  out4,
  out5,
  out6,
  out7 
)
Value:
{ \
v8i16 s0_m, s1_m; \
v8i16 tmp0_m, tmp1_m, tmp2_m, tmp3_m; \
v8i16 tmp4_m, tmp5_m, tmp6_m, tmp7_m; \
ILVR_H2_SH(in6, in4, in7, in5, s0_m, s1_m); \
ILVRL_H2_SH(s1_m, s0_m, tmp0_m, tmp1_m); \
ILVL_H2_SH(in6, in4, in7, in5, s0_m, s1_m); \
ILVRL_H2_SH(s1_m, s0_m, tmp2_m, tmp3_m); \
ILVR_H2_SH(in2, in0, in3, in1, s0_m, s1_m); \
ILVRL_H2_SH(s1_m, s0_m, tmp4_m, tmp5_m); \
ILVL_H2_SH(in2, in0, in3, in1, s0_m, s1_m); \
ILVRL_H2_SH(s1_m, s0_m, tmp6_m, tmp7_m); \
PCKEV_D4(RTYPE, tmp0_m, tmp4_m, tmp1_m, tmp5_m, tmp2_m, tmp6_m, \
tmp3_m, tmp7_m, out0, out2, out4, out6); \
out1 = (RTYPE) __msa_pckod_d((v2i64) tmp0_m, (v2i64) tmp4_m); \
out3 = (RTYPE) __msa_pckod_d((v2i64) tmp1_m, (v2i64) tmp5_m); \
out5 = (RTYPE) __msa_pckod_d((v2i64) tmp2_m, (v2i64) tmp6_m); \
out7 = (RTYPE) __msa_pckod_d((v2i64) tmp3_m, (v2i64) tmp7_m); \
}
#define ILVL_H2_SH(...)
#define ILVRL_H2_SH(...)
#define ILVR_H2_SH(...)
#define PCKEV_D4(RTYPE, in0, in1, in2, in3, in4, in5, in6, in7,out0, out1, out2, out3)

Definition at line 2602 of file generic_macros_msa.h.

#define TRANSPOSE8x8_UH_UH (   ...)    TRANSPOSE8x8_H(v8u16, __VA_ARGS__)

Definition at line 2624 of file generic_macros_msa.h.

Referenced by hadamard_diff_8x8_msa(), and hadamard_intra_8x8_msa().

#define TRANSPOSE8x8_SH_SH (   ...)    TRANSPOSE8x8_H(v8i16, __VA_ARGS__)
#define TRANSPOSE4x4_SW_SW (   in0,
  in1,
  in2,
  in3,
  out0,
  out1,
  out2,
  out3 
)
Value:
{ \
v4i32 s0_m, s1_m, s2_m, s3_m; \
ILVRL_W2_SW(in1, in0, s0_m, s1_m); \
ILVRL_W2_SW(in3, in2, s2_m, s3_m); \
\
out0 = (v4i32) __msa_ilvr_d((v2i64) s2_m, (v2i64) s0_m); \
out1 = (v4i32) __msa_ilvl_d((v2i64) s2_m, (v2i64) s0_m); \
out2 = (v4i32) __msa_ilvr_d((v2i64) s3_m, (v2i64) s1_m); \
out3 = (v4i32) __msa_ilvl_d((v2i64) s3_m, (v2i64) s1_m); \
}
#define ILVRL_W2_SW(...)

Definition at line 2633 of file generic_macros_msa.h.

Referenced by ff_vp8_idct_add_msa(), ff_vp8_luma_dc_wht_msa(), hevc_idct_4x4_msa(), and hevc_idct_luma_4x4_msa().

#define AVE_ST8x4_UB (   in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  pdst,
  stride 
)
Value:
{ \
uint64_t out0_m, out1_m, out2_m, out3_m; \
v16u8 tmp0_m, tmp1_m, tmp2_m, tmp3_m; \
\
tmp0_m = __msa_ave_u_b((v16u8) in0, (v16u8) in1); \
tmp1_m = __msa_ave_u_b((v16u8) in2, (v16u8) in3); \
tmp2_m = __msa_ave_u_b((v16u8) in4, (v16u8) in5); \
tmp3_m = __msa_ave_u_b((v16u8) in6, (v16u8) in7); \
\
out0_m = __msa_copy_u_d((v2i64) tmp0_m, 0); \
out1_m = __msa_copy_u_d((v2i64) tmp1_m, 0); \
out2_m = __msa_copy_u_d((v2i64) tmp2_m, 0); \
out3_m = __msa_copy_u_d((v2i64) tmp3_m, 0); \
SD4(out0_m, out1_m, out2_m, out3_m, pdst, stride); \
}
#define SD4(in0, in1, in2, in3, pdst, stride)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 2662 of file generic_macros_msa.h.

Referenced by common_hz_bil_no_rnd_4x8_msa(), common_hz_bil_no_rnd_8x8_msa(), common_vt_bil_no_rnd_4x8_msa(), and common_vt_bil_no_rnd_8x8_msa().

#define AVE_ST16x4_UB (   in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  pdst,
  stride 
)
Value:
{ \
v16u8 tmp0_m, tmp1_m, tmp2_m, tmp3_m; \
\
tmp0_m = __msa_ave_u_b((v16u8) in0, (v16u8) in1); \
tmp1_m = __msa_ave_u_b((v16u8) in2, (v16u8) in3); \
tmp2_m = __msa_ave_u_b((v16u8) in4, (v16u8) in5); \
tmp3_m = __msa_ave_u_b((v16u8) in6, (v16u8) in7); \
ST_UB4(tmp0_m, tmp1_m, tmp2_m, tmp3_m, pdst, stride); \
}
#define ST_UB4(...)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 2695 of file generic_macros_msa.h.

Referenced by common_hz_bil_no_rnd_16x16_msa(), common_hz_bil_no_rnd_8x16_msa(), common_vt_bil_no_rnd_16x16_msa(), and common_vt_bil_no_rnd_8x16_msa().

#define AVER_ST8x4_UB (   in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  pdst,
  stride 
)
Value:
{ \
uint64_t out0_m, out1_m, out2_m, out3_m; \
v16u8 tp0_m, tp1_m, tp2_m, tp3_m; \
AVER_UB4_UB(in0, in1, in2, in3, in4, in5, in6, in7, \
tp0_m, tp1_m, tp2_m, tp3_m); \
\
out0_m = __msa_copy_u_d((v2i64) tp0_m, 0); \
out1_m = __msa_copy_u_d((v2i64) tp1_m, 0); \
out2_m = __msa_copy_u_d((v2i64) tp2_m, 0); \
out3_m = __msa_copy_u_d((v2i64) tp3_m, 0); \
SD4(out0_m, out1_m, out2_m, out3_m, pdst, stride); \
}
#define AVER_UB4_UB(...)
#define SD4(in0, in1, in2, in3, pdst, stride)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 2723 of file generic_macros_msa.h.

Referenced by avc_luma_hz_qrt_and_aver_dst_8x8_msa(), common_hz_bil_8w_msa(), and common_vt_bil_8w_msa().

#define AVER_ST16x4_UB (   in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  pdst,
  stride 
)
Value:
{ \
v16u8 t0_m, t1_m, t2_m, t3_m; \
AVER_UB4_UB(in0, in1, in2, in3, in4, in5, in6, in7, \
t0_m, t1_m, t2_m, t3_m); \
ST_UB4(t0_m, t1_m, t2_m, t3_m, pdst, stride); \
}
#define AVER_UB4_UB(...)
#define ST_UB4(...)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 2754 of file generic_macros_msa.h.

Referenced by common_hz_bil_16w_msa(), and common_vt_bil_16w_msa().

#define AVER_DST_ST8x4_UB (   in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  pdst,
  stride 
)
Value:
{ \
v16u8 tmp0_m, tmp1_m, tmp2_m, tmp3_m; \
v16u8 dst0_m, dst1_m, dst2_m, dst3_m; \
LD_UB4(pdst, stride, dst0_m, dst1_m, dst2_m, dst3_m); \
AVER_UB4_UB(in0, in1, in2, in3, in4, in5, in6, in7, \
tmp0_m, tmp1_m, tmp2_m, tmp3_m); \
AVER_ST8x4_UB(dst0_m, tmp0_m, dst1_m, tmp1_m, \
dst2_m, tmp2_m, dst3_m, tmp3_m, pdst, stride); \
}
#define LD_UB4(...)
#define AVER_ST8x4_UB(in0, in1, in2, in3, in4, in5, in6, in7, pdst, stride)
#define AVER_UB4_UB(...)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 2780 of file generic_macros_msa.h.

Referenced by common_hz_bil_and_aver_dst_8w_msa(), and common_vt_bil_and_aver_dst_8w_msa().

#define AVER_DST_ST16x4_UB (   in0,
  in1,
  in2,
  in3,
  in4,
  in5,
  in6,
  in7,
  pdst,
  stride 
)
Value:
{ \
v16u8 tmp0_m, tmp1_m, tmp2_m, tmp3_m; \
v16u8 dst0_m, dst1_m, dst2_m, dst3_m; \
LD_UB4(pdst, stride, dst0_m, dst1_m, dst2_m, dst3_m); \
AVER_UB4_UB(in0, in1, in2, in3, in4, in5, in6, in7, \
tmp0_m, tmp1_m, tmp2_m, tmp3_m); \
AVER_ST16x4_UB(dst0_m, tmp0_m, dst1_m, tmp1_m, \
dst2_m, tmp2_m, dst3_m, tmp3_m, pdst, stride); \
}
#define LD_UB4(...)
#define AVER_UB4_UB(...)
#define AVER_ST16x4_UB(in0, in1, in2, in3, in4, in5, in6, in7, pdst, stride)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 2810 of file generic_macros_msa.h.

Referenced by common_hz_bil_and_aver_dst_16w_msa().

#define ADDBLK_ST4x4_UB (   in0,
  in1,
  in2,
  in3,
  pdst,
  stride 
)
Value:
{ \
uint32_t src0_m, src1_m, src2_m, src3_m; \
uint32_t out0_m, out1_m, out2_m, out3_m; \
v8i16 inp0_m, inp1_m, res0_m, res1_m; \
v16i8 dst0_m = { 0 }; \
v16i8 dst1_m = { 0 }; \
v16i8 zero_m = { 0 }; \
ILVR_D2_SH(in1, in0, in3, in2, inp0_m, inp1_m) \
LW4(pdst, stride, src0_m, src1_m, src2_m, src3_m); \
INSERT_W2_SB(src0_m, src1_m, dst0_m); \
INSERT_W2_SB(src2_m, src3_m, dst1_m); \
ILVR_B2_SH(zero_m, dst0_m, zero_m, dst1_m, res0_m, res1_m); \
ADD2(res0_m, inp0_m, res1_m, inp1_m, res0_m, res1_m); \
CLIP_SH2_0_255(res0_m, res1_m); \
PCKEV_B2_SB(res0_m, res0_m, res1_m, res1_m, dst0_m, dst1_m); \
\
out0_m = __msa_copy_u_w((v4i32) dst0_m, 0); \
out1_m = __msa_copy_u_w((v4i32) dst0_m, 1); \
out2_m = __msa_copy_u_w((v4i32) dst1_m, 0); \
out3_m = __msa_copy_u_w((v4i32) dst1_m, 1); \
SW4(out0_m, out1_m, out2_m, out3_m, pdst, stride); \
}
#define CLIP_SH2_0_255(in0, in1)
#define PCKEV_B2_SB(...)
#define ILVR_B2_SH(...)
#define SW4(in0, in1, in2, in3, pdst, stride)
#define ADD2(in0, in1, in2, in3, out0, out1)
#define INSERT_W2_SB(...)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105
#define LW4(psrc, stride, out0, out1, out2, out3)
#define ILVR_D2_SH(...)

Definition at line 2830 of file generic_macros_msa.h.

Referenced by avc_idct4x4_addblk_msa(), vp9_iadst4x4_colcol_addblk_msa(), vp9_iadst_idct_4x4_add_msa(), vp9_idct4x4_1_add_msa(), vp9_idct4x4_colcol_addblk_msa(), and vp9_idct_iadst_4x4_add_msa().

#define DPADD_SH3_SH (   in0,
  in1,
  in2,
  coeff0,
  coeff1,
  coeff2 
)
#define PCKEV_XORI128_UB (   in0,
  in1 
)
Value:
( { \
v16u8 out_m; \
out_m = (v16u8) __msa_pckev_b((v16i8) in1, (v16i8) in0); \
out_m = (v16u8) __msa_xori_b((v16u8) out_m, 128); \
out_m; \
} )

Definition at line 2887 of file generic_macros_msa.h.

Referenced by avc_luma_hv_qrt_4w_msa(), avc_luma_hv_qrt_8w_msa(), avc_luma_hv_qrt_and_aver_dst_4x4_msa(), avc_luma_hz_4w_msa(), avc_luma_hz_8w_msa(), avc_luma_hz_and_aver_dst_4x4_msa(), avc_luma_mid_8w_msa(), avc_luma_mid_and_aver_dst_4x4_msa(), avc_luma_midh_qrt_4w_msa(), avc_luma_midh_qrt_and_aver_dst_4w_msa(), avc_luma_midv_qrt_8w_msa(), avc_luma_midv_qrt_and_aver_dst_4w_msa(), avc_luma_vt_4w_msa(), avc_luma_vt_8w_msa(), avc_luma_vt_and_aver_dst_4x4_msa(), avc_luma_vt_qrt_4w_msa(), avc_luma_vt_qrt_and_aver_dst_4x4_msa(), common_hv_8ht_8vt_4w_msa(), common_hv_8ht_8vt_8w_msa(), common_hz_4t_12w_msa(), common_hz_4t_16w_msa(), common_hz_4t_24w_msa(), common_hz_4t_32w_msa(), common_hz_4t_4x16_msa(), common_hz_4t_4x2_msa(), common_hz_4t_4x4_msa(), common_hz_4t_4x8_msa(), common_hz_4t_6w_msa(), common_hz_4t_8x2mult_msa(), common_hz_4t_8x4mult_msa(), common_hz_6t_4x4_msa(), common_hz_6t_4x8_msa(), common_hz_8t_12w_msa(), common_hz_8t_16w_msa(), common_hz_8t_24w_msa(), common_hz_8t_32w_msa(), common_hz_8t_48w_msa(), common_hz_8t_4x16_msa(), common_hz_8t_4x4_msa(), common_hz_8t_4x8_msa(), common_hz_8t_64w_msa(), common_hz_8t_8x4_msa(), common_hz_8t_8x8mult_msa(), common_vt_4t_12w_msa(), common_vt_4t_24w_msa(), common_vt_4t_32w_mult_msa(), common_vt_4t_4x2_msa(), common_vt_4t_4x4multiple_msa(), common_vt_4t_6w_msa(), common_vt_4t_8x2_msa(), common_vt_4t_8x4mult_msa(), common_vt_8t_4w_msa(), common_vt_8t_8w_msa(), common_vt_8t_and_aver_dst_4w_msa(), ff_put_vp8_epel16_h4_msa(), ff_put_vp8_epel16_h6_msa(), ff_put_vp8_epel4_h4v4_msa(), ff_put_vp8_epel4_h4v6_msa(), ff_put_vp8_epel4_h6v6_msa(), ff_put_vp8_epel4_v4_msa(), ff_put_vp8_epel4_v6_msa(), ff_put_vp8_epel8_h4_msa(), ff_put_vp8_epel8_h4v4_msa(), ff_put_vp8_epel8_h4v6_msa(), ff_put_vp8_epel8_h6_msa(), ff_put_vp8_epel8_h6v4_msa(), ff_put_vp8_epel8_h6v6_msa(), ff_put_vp8_epel8_v4_msa(), and ff_put_vp8_epel8_v6_msa().

#define CONVERT_UB_AVG_ST8x4_UB (   in0,
  in1,
  in2,
  in3,
  dst0,
  dst1,
  dst2,
  dst3,
  pdst,
  stride 
)
Value:
{ \
v16u8 tmp0_m, tmp1_m, tmp2_m, tmp3_m; \
uint8_t *pdst_m = (uint8_t *) (pdst); \
\
tmp0_m = PCKEV_XORI128_UB(in0, in1); \
tmp1_m = PCKEV_XORI128_UB(in2, in3); \
ILVR_D2_UB(dst1, dst0, dst3, dst2, tmp2_m, tmp3_m); \
AVER_UB2_UB(tmp0_m, tmp2_m, tmp1_m, tmp3_m, tmp0_m, tmp1_m); \
ST8x4_UB(tmp0_m, tmp1_m, pdst_m, stride); \
}
#define PCKEV_XORI128_UB(in0, in1)
#define ILVR_D2_UB(...)
uint8_t
#define AVER_UB2_UB(...)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105
#define ST8x4_UB(in0, in1, pdst, stride)

Definition at line 2900 of file generic_macros_msa.h.

Referenced by avc_luma_hv_qrt_and_aver_dst_8x8_msa(), avc_luma_hz_and_aver_dst_8x8_msa(), avc_luma_mid_and_aver_dst_8w_msa(), avc_luma_midv_qrt_and_aver_dst_8w_msa(), avc_luma_vt_and_aver_dst_8x8_msa(), common_hv_8ht_8vt_and_aver_dst_8w_msa(), common_hz_8t_and_aver_dst_8w_msa(), and common_vt_8t_and_aver_dst_8w_msa().

#define PCKEV_ST4x4_UB (   in0,
  in1,
  in2,
  in3,
  pdst,
  stride 
)
Value:
{ \
uint32_t out0_m, out1_m, out2_m, out3_m; \
v16i8 tmp0_m, tmp1_m; \
PCKEV_B2_SB(in1, in0, in3, in2, tmp0_m, tmp1_m); \
\
out0_m = __msa_copy_u_w((v4i32) tmp0_m, 0); \
out1_m = __msa_copy_u_w((v4i32) tmp0_m, 2); \
out2_m = __msa_copy_u_w((v4i32) tmp1_m, 0); \
out3_m = __msa_copy_u_w((v4i32) tmp1_m, 2); \
SW4(out0_m, out1_m, out2_m, out3_m, pdst, stride); \
}
#define PCKEV_B2_SB(...)
#define SW4(in0, in1, in2, in3, pdst, stride)
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 2918 of file generic_macros_msa.h.

Referenced by avc_biwgt_4x4multiple_msa(), and avc_wgt_4x4multiple_msa().

#define PCKEV_ST_SB (   in0,
  in1,
  pdst 
)
#define HORIZ_2TAP_FILT_UH (   in0,
  in1,
  mask,
  coeff,
  shift 
)
Value:
( { \
v16i8 tmp0_m; \
v8u16 tmp1_m; \
\
tmp0_m = __msa_vshf_b((v16i8) mask, (v16i8) in1, (v16i8) in0); \
tmp1_m = __msa_dotp_u_h((v16u8) tmp0_m, (v16u8) coeff); \
tmp1_m = (v8u16) __msa_srari_h((v8i16) tmp1_m, shift); \
tmp1_m = __msa_sat_u_h(tmp1_m, shift); \
\
tmp1_m; \
} )
static int shift(int a, int b)
Definition: sonic.c:82
static const uint16_t mask[17]
Definition: lzw.c:38
static const double coeff[2][5]
Definition: vf_owdenoise.c:71

Definition at line 2947 of file generic_macros_msa.h.

Referenced by common_hv_2ht_2vt_4x4_msa(), common_hv_2ht_2vt_4x8_msa(), common_hv_2ht_2vt_8x4_msa(), common_hv_2ht_2vt_8x8mult_msa(), common_hv_2ht_2vt_and_aver_dst_4x4_msa(), common_hv_2ht_2vt_and_aver_dst_4x8_msa(), common_hv_2ht_2vt_and_aver_dst_8x4_msa(), common_hv_2ht_2vt_and_aver_dst_8x8mult_msa(), ff_avg_bilin_16hv_msa(), ff_put_bilin_16hv_msa(), and ff_put_vp8_bilinear16_hv_msa().