FFmpeg
Macros | Functions
h264pred_msa.c File Reference
#include "libavutil/mips/generic_macros_msa.h"
#include "h264dsp_mips.h"

Go to the source code of this file.

Macros

#define INTRA_PREDICT_VALDC_8X8_MSA(val)
 
#define INTRA_PREDICT_VALDC_16X16_MSA(val)
 

Functions

static void intra_predict_vert_8x8_msa (uint8_t *src, uint8_t *dst, int32_t dst_stride)
 
static void intra_predict_vert_16x16_msa (uint8_t *src, uint8_t *dst, int32_t dst_stride)
 
static void intra_predict_horiz_8x8_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
static void intra_predict_horiz_16x16_msa (uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride)
 
 INTRA_PREDICT_VALDC_8X8_MSA (127)
 
 INTRA_PREDICT_VALDC_8X8_MSA (129)
 
 INTRA_PREDICT_VALDC_16X16_MSA (127)
 
 INTRA_PREDICT_VALDC_16X16_MSA (129)
 
static void intra_predict_plane_8x8_msa (uint8_t *src, int32_t stride)
 
static void intra_predict_plane_16x16_msa (uint8_t *src, int32_t stride)
 
static void intra_predict_dc_4blk_8x8_msa (uint8_t *src, int32_t stride)
 
static void intra_predict_hor_dc_8x8_msa (uint8_t *src, int32_t stride)
 
static void intra_predict_vert_dc_8x8_msa (uint8_t *src, int32_t stride)
 
static void intra_predict_mad_cow_dc_l0t_8x8_msa (uint8_t *src, int32_t stride)
 
static void intra_predict_mad_cow_dc_0lt_8x8_msa (uint8_t *src, int32_t stride)
 
static void intra_predict_mad_cow_dc_l00_8x8_msa (uint8_t *src, int32_t stride)
 
static void intra_predict_mad_cow_dc_0l0_8x8_msa (uint8_t *src, int32_t stride)
 
void ff_h264_intra_predict_plane_8x8_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_h264_intra_predict_dc_4blk_8x8_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_h264_intra_predict_hor_dc_8x8_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_h264_intra_predict_vert_dc_8x8_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_h264_intra_predict_mad_cow_dc_l0t_8x8_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_h264_intra_predict_mad_cow_dc_0lt_8x8_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_h264_intra_predict_mad_cow_dc_l00_8x8_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_h264_intra_predict_mad_cow_dc_0l0_8x8_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_h264_intra_predict_plane_16x16_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_h264_intra_pred_vert_8x8_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_h264_intra_pred_horiz_8x8_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_h264_intra_pred_dc_16x16_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_h264_intra_pred_vert_16x16_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_h264_intra_pred_horiz_16x16_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_h264_intra_pred_dc_left_16x16_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_h264_intra_pred_dc_top_16x16_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_h264_intra_pred_dc_128_8x8_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_h264_intra_pred_dc_128_16x16_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_vp8_pred8x8_127_dc_8_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_vp8_pred8x8_129_dc_8_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_vp8_pred16x16_127_dc_8_msa (uint8_t *src, ptrdiff_t stride)
 
void ff_vp8_pred16x16_129_dc_8_msa (uint8_t *src, ptrdiff_t stride)
 

Macro Definition Documentation

◆ INTRA_PREDICT_VALDC_8X8_MSA

#define INTRA_PREDICT_VALDC_8X8_MSA (   val)
Value:
static void intra_predict_##val##dc_8x8_msa(uint8_t *dst, int32_t dst_stride) \
{ \
v16i8 store = __msa_fill_b(val); \
uint64_t out = __msa_copy_u_d((v2i64) store, 0); \
SD4(out, out, out, out, dst, dst_stride); \
dst += (4 * dst_stride); \
SD4(out, out, out, out, dst, dst_stride); \
}

Definition at line 109 of file h264pred_msa.c.

◆ INTRA_PREDICT_VALDC_16X16_MSA

#define INTRA_PREDICT_VALDC_16X16_MSA (   val)
Value:
static void intra_predict_##val##dc_16x16_msa(uint8_t *dst, \
int32_t dst_stride) \
{ \
v16u8 out = (v16u8) __msa_fill_b(val); \
ST_UB8(out, out, out, out, out, out, out, out, dst, dst_stride); \
dst += (8 * dst_stride); \
ST_UB8(out, out, out, out, out, out, out, out, dst, dst_stride); \
}

Definition at line 123 of file h264pred_msa.c.

Function Documentation

◆ intra_predict_vert_8x8_msa()

static void intra_predict_vert_8x8_msa ( uint8_t *  src,
uint8_t *  dst,
int32_t  dst_stride 
)
static

Definition at line 24 of file h264pred_msa.c.

Referenced by ff_h264_intra_pred_vert_8x8_msa().

◆ intra_predict_vert_16x16_msa()

static void intra_predict_vert_16x16_msa ( uint8_t *  src,
uint8_t *  dst,
int32_t  dst_stride 
)
static

Definition at line 34 of file h264pred_msa.c.

Referenced by ff_h264_intra_pred_vert_16x16_msa().

◆ intra_predict_horiz_8x8_msa()

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

Definition at line 44 of file h264pred_msa.c.

Referenced by ff_h264_intra_pred_horiz_8x8_msa().

◆ intra_predict_horiz_16x16_msa()

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

Definition at line 63 of file h264pred_msa.c.

Referenced by ff_h264_intra_pred_horiz_16x16_msa().

◆ INTRA_PREDICT_VALDC_8X8_MSA() [1/2]

INTRA_PREDICT_VALDC_8X8_MSA ( 127  )

◆ INTRA_PREDICT_VALDC_8X8_MSA() [2/2]

INTRA_PREDICT_VALDC_8X8_MSA ( 129  )

◆ INTRA_PREDICT_VALDC_16X16_MSA() [1/2]

INTRA_PREDICT_VALDC_16X16_MSA ( 127  )

◆ INTRA_PREDICT_VALDC_16X16_MSA() [2/2]

INTRA_PREDICT_VALDC_16X16_MSA ( 129  )

◆ intra_predict_plane_8x8_msa()

static void intra_predict_plane_8x8_msa ( uint8_t *  src,
int32_t  stride 
)
static

Definition at line 137 of file h264pred_msa.c.

Referenced by ff_h264_intra_predict_plane_8x8_msa().

◆ intra_predict_plane_16x16_msa()

static void intra_predict_plane_16x16_msa ( uint8_t *  src,
int32_t  stride 
)
static

Definition at line 205 of file h264pred_msa.c.

Referenced by ff_h264_intra_predict_plane_16x16_msa().

◆ intra_predict_dc_4blk_8x8_msa()

static void intra_predict_dc_4blk_8x8_msa ( uint8_t *  src,
int32_t  stride 
)
static

Definition at line 284 of file h264pred_msa.c.

Referenced by ff_h264_intra_predict_dc_4blk_8x8_msa().

◆ intra_predict_hor_dc_8x8_msa()

static void intra_predict_hor_dc_8x8_msa ( uint8_t *  src,
int32_t  stride 
)
static

Definition at line 322 of file h264pred_msa.c.

Referenced by ff_h264_intra_predict_hor_dc_8x8_msa().

◆ intra_predict_vert_dc_8x8_msa()

static void intra_predict_vert_dc_8x8_msa ( uint8_t *  src,
int32_t  stride 
)
static

Definition at line 345 of file h264pred_msa.c.

Referenced by ff_h264_intra_predict_vert_dc_8x8_msa().

◆ intra_predict_mad_cow_dc_l0t_8x8_msa()

static void intra_predict_mad_cow_dc_l0t_8x8_msa ( uint8_t *  src,
int32_t  stride 
)
static

Definition at line 365 of file h264pred_msa.c.

Referenced by ff_h264_intra_predict_mad_cow_dc_l0t_8x8_msa().

◆ intra_predict_mad_cow_dc_0lt_8x8_msa()

static void intra_predict_mad_cow_dc_0lt_8x8_msa ( uint8_t *  src,
int32_t  stride 
)
static

Definition at line 399 of file h264pred_msa.c.

Referenced by ff_h264_intra_predict_mad_cow_dc_0lt_8x8_msa().

◆ intra_predict_mad_cow_dc_l00_8x8_msa()

static void intra_predict_mad_cow_dc_l00_8x8_msa ( uint8_t *  src,
int32_t  stride 
)
static

Definition at line 435 of file h264pred_msa.c.

Referenced by ff_h264_intra_predict_mad_cow_dc_l00_8x8_msa().

◆ intra_predict_mad_cow_dc_0l0_8x8_msa()

static void intra_predict_mad_cow_dc_0l0_8x8_msa ( uint8_t *  src,
int32_t  stride 
)
static

Definition at line 453 of file h264pred_msa.c.

Referenced by ff_h264_intra_predict_mad_cow_dc_0l0_8x8_msa().

◆ ff_h264_intra_predict_plane_8x8_msa()

void ff_h264_intra_predict_plane_8x8_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 472 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_h264_intra_predict_dc_4blk_8x8_msa()

void ff_h264_intra_predict_dc_4blk_8x8_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 477 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_h264_intra_predict_hor_dc_8x8_msa()

void ff_h264_intra_predict_hor_dc_8x8_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 482 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_h264_intra_predict_vert_dc_8x8_msa()

void ff_h264_intra_predict_vert_dc_8x8_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 487 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_h264_intra_predict_mad_cow_dc_l0t_8x8_msa()

void ff_h264_intra_predict_mad_cow_dc_l0t_8x8_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 492 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_h264_intra_predict_mad_cow_dc_0lt_8x8_msa()

void ff_h264_intra_predict_mad_cow_dc_0lt_8x8_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 498 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_h264_intra_predict_mad_cow_dc_l00_8x8_msa()

void ff_h264_intra_predict_mad_cow_dc_l00_8x8_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 504 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_h264_intra_predict_mad_cow_dc_0l0_8x8_msa()

void ff_h264_intra_predict_mad_cow_dc_0l0_8x8_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 510 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_h264_intra_predict_plane_16x16_msa()

void ff_h264_intra_predict_plane_16x16_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 516 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_h264_intra_pred_vert_8x8_msa()

void ff_h264_intra_pred_vert_8x8_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 521 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_h264_intra_pred_horiz_8x8_msa()

void ff_h264_intra_pred_horiz_8x8_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 528 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_h264_intra_pred_dc_16x16_msa()

void ff_h264_intra_pred_dc_16x16_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 535 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_h264_intra_pred_vert_16x16_msa()

void ff_h264_intra_pred_vert_16x16_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 578 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_h264_intra_pred_horiz_16x16_msa()

void ff_h264_intra_pred_horiz_16x16_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 585 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_h264_intra_pred_dc_left_16x16_msa()

void ff_h264_intra_pred_dc_left_16x16_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 592 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_h264_intra_pred_dc_top_16x16_msa()

void ff_h264_intra_pred_dc_top_16x16_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 624 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_h264_intra_pred_dc_128_8x8_msa()

void ff_h264_intra_pred_dc_128_8x8_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 648 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_h264_intra_pred_dc_128_16x16_msa()

void ff_h264_intra_pred_dc_128_16x16_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 661 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_vp8_pred8x8_127_dc_8_msa()

void ff_vp8_pred8x8_127_dc_8_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 672 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_vp8_pred8x8_129_dc_8_msa()

void ff_vp8_pred8x8_129_dc_8_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 677 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_vp8_pred16x16_127_dc_8_msa()

void ff_vp8_pred16x16_127_dc_8_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 682 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

◆ ff_vp8_pred16x16_129_dc_8_msa()

void ff_vp8_pred16x16_129_dc_8_msa ( uint8_t *  src,
ptrdiff_t  stride 
)

Definition at line 687 of file h264pred_msa.c.

Referenced by ff_h264_pred_init_mips().

out
FILE * out
Definition: movenc.c:54
ST_UB8
#define ST_UB8(...)
Definition: generic_macros_msa.h:391
val
static double val(void *priv, double ch)
Definition: aeval.c:76
SD4
#define SD4(in0, in1, in2, in3, pdst, stride)
Definition: generic_macros_msa.h:256
int32_t
int32_t
Definition: audioconvert.c:56