FFmpeg
|
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/ppc/types_altivec.h"
#include "libavutil/ppc/util_altivec.h"
#include "libavcodec/h264data.h"
#include "libavcodec/h264dsp.h"
Go to the source code of this file.
Macros | |
#define | VEC_1D_DCT(vb0, vb1, vb2, vb3, va0, va1, va2, va3) |
#define | VEC_TRANSPOSE_4(a0, a1, a2, a3, b0, b1, b2, b3) |
#define | VEC_LOAD_U8_ADD_S16_STORE_U8(va) |
#define | IDCT8_1D_ALTIVEC(s0, s1, s2, s3, s4, s5, s6, s7, d0, d1, d2, d3, d4, d5, d6, d7) |
#define | ALTIVEC_STORE_SUM_CLIP(dest, idctv, perm_ldv, perm_stv, sel) |
#define | transpose4x16(r0, r1, r2, r3) |
#define | readAndTranspose16x6(src, src_stride, r8, r9, r10, r11, r12, r13) |
performs a 6x16 transpose of data in src, and stores it to dst More... | |
#define | h264_deblock_p0_q0(p0, p1, q0, q1, tc0masked) |
#define | h264_loop_filter_luma_altivec(p2, p1, p0, q0, q1, q2, alpha, beta, tc0) |
#define | H264_WEIGHT(W) |
Functions | |
static void | ff_h264_idct_add_altivec (uint8_t *dst, int16_t *block, int stride) |
static void | ff_h264_idct8_add_altivec (uint8_t *dst, int16_t *dct, int stride) |
static av_always_inline void | h264_idct_dc_add_internal (uint8_t *dst, int16_t *block, int stride, int size) |
static void | h264_idct_dc_add_altivec (uint8_t *dst, int16_t *block, int stride) |
static void | ff_h264_idct8_dc_add_altivec (uint8_t *dst, int16_t *block, int stride) |
static void | ff_h264_idct_add16_altivec (uint8_t *dst, const int *block_offset, int16_t *block, int stride, const uint8_t nnzc[15 *8]) |
static void | ff_h264_idct_add16intra_altivec (uint8_t *dst, const int *block_offset, int16_t *block, int stride, const uint8_t nnzc[15 *8]) |
static void | ff_h264_idct8_add4_altivec (uint8_t *dst, const int *block_offset, int16_t *block, int stride, const uint8_t nnzc[15 *8]) |
static void | ff_h264_idct_add8_altivec (uint8_t **dest, const int *block_offset, int16_t *block, int stride, const uint8_t nnzc[15 *8]) |
static void | write16x4 (uint8_t *dst, int dst_stride, register vec_u8 r0, register vec_u8 r1, register vec_u8 r2, register vec_u8 r3) |
static vec_u8 | diff_lt_altivec (register vec_u8 x, register vec_u8 y, register vec_u8 a) |
static vec_u8 | h264_deblock_mask (register vec_u8 p0, register vec_u8 p1, register vec_u8 q0, register vec_u8 q1, register vec_u8 alpha, register vec_u8 beta) |
static vec_u8 | h264_deblock_q1 (register vec_u8 p0, register vec_u8 p1, register vec_u8 p2, register vec_u8 q0, register vec_u8 tc0) |
static void | h264_v_loop_filter_luma_altivec (uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0) |
static void | h264_h_loop_filter_luma_altivec (uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0) |
static av_always_inline void | weight_h264_W_altivec (uint8_t *block, int stride, int height, int log2_denom, int weight, int offset, int w) |
static av_always_inline void | biweight_h264_W_altivec (uint8_t *dst, uint8_t *src, int stride, int height, int log2_denom, int weightd, int weights, int offset, int w) |
av_cold void | ff_h264dsp_init_ppc (H264DSPContext *c, const int bit_depth, const int chroma_format_idc) |
Macro Definition Documentation
#define ALTIVEC_STORE_SUM_CLIP | ( | dest, | |
idctv, | |||
perm_ldv, | |||
perm_stv, | |||
sel | |||
) |
Definition at line 164 of file h264_altivec.c.
Referenced by ff_h264_idct8_add_altivec().
#define h264_deblock_p0_q0 | ( | p0, | |
p1, | |||
q0, | |||
q1, | |||
tc0masked | |||
) |
Definition at line 495 of file h264_altivec.c.
#define h264_loop_filter_luma_altivec | ( | p2, | |
p1, | |||
p0, | |||
q0, | |||
q1, | |||
q2, | |||
alpha, | |||
beta, | |||
tc0 | |||
) |
Definition at line 527 of file h264_altivec.c.
Referenced by h264_h_loop_filter_luma_altivec(), and h264_v_loop_filter_luma_altivec().
#define H264_WEIGHT | ( | W | ) |
Definition at line 712 of file h264_altivec.c.
Definition at line 110 of file h264_altivec.c.
Referenced by ff_h264_idct8_add_altivec().
#define readAndTranspose16x6 | ( | src, | |
src_stride, | |||
r8, | |||
r9, | |||
r10, | |||
r11, | |||
r12, | |||
r13 | |||
) |
performs a 6x16 transpose of data in src, and stores it to dst
- Todo:
- FIXME: see if we can't spare some vec_lvsl() by them factorizing out of unaligned_load()
Definition at line 378 of file h264_altivec.c.
Referenced by h264_h_loop_filter_luma_altivec().
#define transpose4x16 | ( | r0, | |
r1, | |||
r2, | |||
r3 | |||
) |
Definition at line 328 of file h264_altivec.c.
Referenced by h264_h_loop_filter_luma_altivec().
#define VEC_1D_DCT | ( | vb0, | |
vb1, | |||
vb2, | |||
vb3, | |||
va0, | |||
va1, | |||
va2, | |||
va3 | |||
) |
Definition at line 33 of file h264_altivec.c.
Referenced by ff_h264_idct_add_altivec().
#define VEC_LOAD_U8_ADD_S16_STORE_U8 | ( | va | ) |
Definition at line 61 of file h264_altivec.c.
Referenced by ff_h264_idct_add_altivec().
Definition at line 47 of file h264_altivec.c.
Referenced by ff_h264_idct_add_altivec().
Function Documentation
|
static |
Definition at line 648 of file h264_altivec.c.
|
inlinestatic |
Definition at line 438 of file h264_altivec.c.
Referenced by h264_deblock_mask().
|
static |
Definition at line 305 of file h264_altivec.c.
Referenced by ff_h264dsp_init_ppc().
Definition at line 185 of file h264_altivec.c.
Referenced by ff_h264_idct8_add4_altivec(), and ff_h264dsp_init_ppc().
Definition at line 281 of file h264_altivec.c.
Referenced by ff_h264_idct8_add4_altivec(), and ff_h264dsp_init_ppc().
|
static |
Definition at line 286 of file h264_altivec.c.
Referenced by ff_h264dsp_init_ppc().
|
static |
Definition at line 297 of file h264_altivec.c.
Referenced by ff_h264dsp_init_ppc().
|
static |
Definition at line 316 of file h264_altivec.c.
Referenced by ff_h264dsp_init_ppc().
Definition at line 70 of file h264_altivec.c.
Referenced by ff_h264_idct_add16_altivec(), ff_h264_idct_add16intra_altivec(), ff_h264_idct_add8_altivec(), and ff_h264dsp_init_ppc().
av_cold void ff_h264dsp_init_ppc | ( | H264DSPContext * | c, |
const int | bit_depth, | ||
const int | chroma_format_idc | ||
) |
Definition at line 725 of file h264_altivec.c.
Referenced by ff_h264dsp_init().
|
inlinestatic |
Definition at line 449 of file h264_altivec.c.
|
inlinestatic |
Definition at line 469 of file h264_altivec.c.
|
static |
Definition at line 590 of file h264_altivec.c.
Referenced by ff_h264dsp_init_ppc().
Definition at line 276 of file h264_altivec.c.
Referenced by ff_h264_idct_add16_altivec(), ff_h264_idct_add16intra_altivec(), ff_h264_idct_add8_altivec(), and ff_h264dsp_init_ppc().
|
static |
Definition at line 230 of file h264_altivec.c.
Referenced by ff_h264_idct8_dc_add_altivec(), and h264_idct_dc_add_altivec().
|
static |
Definition at line 573 of file h264_altivec.c.
Referenced by ff_h264dsp_init_ppc().
|
static |
Definition at line 602 of file h264_altivec.c.
|
inlinestatic |
Definition at line 345 of file h264_altivec.c.
Referenced by h264_h_loop_filter_luma_altivec().
Generated on Fri Dec 20 2024 06:56:13 for FFmpeg by 1.8.11