#include "mathops.h"
#include "bit_depth_template.c"
Go to the source code of this file.
Defines | |
#define | LOAD_TOP_RIGHT_EDGE |
#define | LOAD_DOWN_LEFT_EDGE |
#define | LOAD_LEFT_EDGE |
#define | LOAD_TOP_EDGE |
#define | PREDICT_16x16_DC(v) |
#define | PRED16x16_X(n, v) |
#define | PRED8x8_X(n, v) |
#define | SRC(x, y) src[(x)+(y)*stride] |
#define | PL(y) const int l##y = (SRC(-1,y-1) + 2*SRC(-1,y) + SRC(-1,y+1) + 2) >> 2; |
#define | PREDICT_8x8_LOAD_LEFT |
#define | PT(x) const int t##x = (SRC(x-1,-1) + 2*SRC(x,-1) + SRC(x+1,-1) + 2) >> 2; |
#define | PREDICT_8x8_LOAD_TOP |
#define | PTR(x) t##x = (SRC(x-1,-1) + 2*SRC(x,-1) + SRC(x+1,-1) + 2) >> 2; |
#define | PREDICT_8x8_LOAD_TOPRIGHT |
#define | PREDICT_8x8_LOAD_TOPLEFT const int lt = (SRC(-1,0) + 2*SRC(-1,-1) + SRC(0,-1) + 2) >> 2 |
#define | PREDICT_8x8_DC(v) |
#define | ROW(y) |
Functions | |
static void FUNCC() | pred4x4_vertical (uint8_t *_src, const uint8_t *topright, int _stride) |
static void FUNCC() | pred4x4_horizontal (uint8_t *_src, const uint8_t *topright, int _stride) |
static void FUNCC() | pred4x4_dc (uint8_t *_src, const uint8_t *topright, int _stride) |
static void FUNCC() | pred4x4_left_dc (uint8_t *_src, const uint8_t *topright, int _stride) |
static void FUNCC() | pred4x4_top_dc (uint8_t *_src, const uint8_t *topright, int _stride) |
static void FUNCC() | pred4x4_128_dc (uint8_t *_src, const uint8_t *topright, int _stride) |
static void FUNCC() | pred4x4_127_dc (uint8_t *_src, const uint8_t *topright, int _stride) |
static void FUNCC() | pred4x4_129_dc (uint8_t *_src, const uint8_t *topright, int _stride) |
static void FUNCC() | pred4x4_down_right (uint8_t *_src, const uint8_t *topright, int _stride) |
static void FUNCC() | pred4x4_down_left (uint8_t *_src, const uint8_t *_topright, int _stride) |
static void FUNCC() | pred4x4_vertical_right (uint8_t *_src, const uint8_t *topright, int _stride) |
static void FUNCC() | pred4x4_vertical_left (uint8_t *_src, const uint8_t *_topright, int _stride) |
static void FUNCC() | pred4x4_horizontal_up (uint8_t *_src, const uint8_t *topright, int _stride) |
static void FUNCC() | pred4x4_horizontal_down (uint8_t *_src, const uint8_t *topright, int _stride) |
static void FUNCC() | pred16x16_vertical (uint8_t *_src, int _stride) |
static void FUNCC() | pred16x16_horizontal (uint8_t *_src, int stride) |
static void FUNCC() | pred16x16_dc (uint8_t *_src, int stride) |
static void FUNCC() | pred16x16_left_dc (uint8_t *_src, int stride) |
static void FUNCC() | pred16x16_top_dc (uint8_t *_src, int stride) |
PRED16x16_X (127,(1<<(BIT_DEPTH-1))-1) PRED16x16_X(128 | |
for (j=16;j >0;--j) | |
static void FUNCC() | pred16x16_plane (uint8_t *src, int stride) |
static void FUNCC() | pred8x8_vertical (uint8_t *_src, int _stride) |
static void FUNCC() | pred8x16_vertical (uint8_t *_src, int _stride) |
static void FUNCC() | pred8x8_horizontal (uint8_t *_src, int stride) |
static void FUNCC() | pred8x16_horizontal (uint8_t *_src, int stride) |
PRED8x8_X (127,(1<<(BIT_DEPTH-1))-1) PRED8x8_X(128 | |
for (i=0;i< 4;i++) | |
static void FUNCC() | pred8x16_left_dc (uint8_t *_src, int stride) |
static void FUNCC() | pred8x8_top_dc (uint8_t *_src, int stride) |
static void FUNCC() | pred8x16_top_dc (uint8_t *_src, int stride) |
static void FUNCC() | pred8x8_dc (uint8_t *_src, int stride) |
static void FUNCC() | pred8x16_dc (uint8_t *_src, int stride) |
static void FUNC() | pred8x8_mad_cow_dc_l0t (uint8_t *src, int stride) |
static void FUNC() | pred8x16_mad_cow_dc_l0t (uint8_t *src, int stride) |
static void FUNC() | pred8x8_mad_cow_dc_0lt (uint8_t *src, int stride) |
static void FUNC() | pred8x16_mad_cow_dc_0lt (uint8_t *src, int stride) |
static void FUNC() | pred8x8_mad_cow_dc_l00 (uint8_t *src, int stride) |
static void FUNC() | pred8x16_mad_cow_dc_l00 (uint8_t *src, int stride) |
static void FUNC() | pred8x8_mad_cow_dc_0l0 (uint8_t *src, int stride) |
static void FUNC() | pred8x16_mad_cow_dc_0l0 (uint8_t *src, int stride) |
static void FUNCC() | pred8x8_plane (uint8_t *_src, int _stride) |
static void FUNCC() | pred8x16_plane (uint8_t *_src, int _stride) |
static void FUNCC() | pred8x8l_128_dc (uint8_t *_src, int has_topleft, int has_topright, int _stride) |
static void FUNCC() | pred8x8l_left_dc (uint8_t *_src, int has_topleft, int has_topright, int _stride) |
static void FUNCC() | pred8x8l_top_dc (uint8_t *p_src, int has_topleft, int has_topright, int p_stride) |
static void FUNCC() | pred8x8l_dc (uint8_t *p_src, int has_topleft, int has_topright, int p_stride) |
static void FUNCC() | pred8x8l_horizontal (uint8_t *p_src, int has_topleft, int has_topright, int p_stride) |
static void FUNCC() | pred8x8l_vertical (uint8_t *_src, int has_topleft, int has_topright, int _stride) |
static void FUNCC() | pred8x8l_down_left (uint8_t *p_src, int has_topleft, int has_topright, int p_stride) |
static void FUNCC() | pred8x8l_down_right (uint8_t *p_src, int has_topleft, int has_topright, int p_stride) |
static void FUNCC() | pred8x8l_vertical_right (uint8_t *p_src, int has_topleft, int has_topright, int p_stride) |
static void FUNCC() | pred8x8l_horizontal_down (uint8_t *p_src, int has_topleft, int has_topright, int p_stride) |
static void FUNCC() | pred8x8l_vertical_left (uint8_t *p_src, int has_topleft, int has_topright, int p_stride) |
static void FUNCC() | pred8x8l_horizontal_up (uint8_t *p_src, int has_topleft, int has_topright, int p_stride) |
static void FUNCC() | pred4x4_vertical_add (uint8_t *p_pix, const DCTELEM *p_block, int stride) |
static void FUNCC() | pred4x4_horizontal_add (uint8_t *p_pix, const DCTELEM *p_block, int stride) |
static void FUNCC() | pred8x8l_vertical_add (uint8_t *p_pix, const DCTELEM *p_block, int stride) |
static void FUNCC() | pred8x8l_horizontal_add (uint8_t *p_pix, const DCTELEM *p_block, int stride) |
static void FUNCC() | pred16x16_vertical_add (uint8_t *pix, const int *block_offset, const DCTELEM *block, int stride) |
static void FUNCC() | pred16x16_horizontal_add (uint8_t *pix, const int *block_offset, const DCTELEM *block, int stride) |
static void FUNCC() | pred8x8_vertical_add (uint8_t *pix, const int *block_offset, const DCTELEM *block, int stride) |
static void FUNCC() | pred8x16_vertical_add (uint8_t *pix, const int *block_offset, const DCTELEM *block, int stride) |
static void FUNCC() | pred8x8_horizontal_add (uint8_t *pix, const int *block_offset, const DCTELEM *block, int stride) |
static void FUNCC() | pred8x16_horizontal_add (uint8_t *pix, const int *block_offset, const DCTELEM *block, int stride) |
Variables | |
<<(BIT_DEPTH-1))+0) PRED16x16_X(129,(1<<(BIT_DEPTH-1))+1) staticinlinevoidFUNCC(pred16x16_plane_compat)(uint8_t *p_src, intp_stride, constintsvq3, constintrv40){inti, j, k;inta;INIT_CLIPpixel *src=(pixel *) p_src;intstride=p_stride > >(sizeof(pixel)-1);constpixel *constsrc0=src+7-stride;constpixel *src1=src+8 *stride-1;constpixel *src2=src1-2 *stride;intH=src0[1]-src0[-1];intV=src1[0]-src2[0];for(k=2;k <=8;++k){src1+=stride;src2-=stride;H+=k *(src0[k]-src0[-k]);V+=k *(src1[0]-src2[0]);}if(svq3){H=(5 *(H/4))/16;V=(5 *(V/4))/16;i=H;H=V;V=i;}elseif(rv40){H=(H+(H >> | V = ( V + (V>>2) ) >> 4 |
<<(BIT_DEPTH-1))+0) PRED8x8_X(129,(1 <<(BIT_DEPTH-1))+1) staticvoidFUNCC(pred8x16_128_dc)(uint8_t *_src, intstride){FUNCC(pred8x8_128_dc)(_src, stride);FUNCC(pred8x8_128_dc)(_src+8 *stride, stride);}staticvoidFUNCC(pred8x8_left_dc)(uint8_t *_src, intstride){inti;intdc0, dc2;pixel4dc0splat, dc2splat;pixel *src=(pixel *) _src;stride > >=sizeof(pixel)-1;dc0=dc2=0;for(i=0;i < 4;i++){dc0+=src[-1+i *stride];dc2+=src[-1+(i+4)*stride];}dc0splat=PIXEL_SPLAT_X4((dc0+2)>> | dc2splat = PIXEL_SPLAT_X4((dc2 + 2)>>2) |
Definition in file h264pred_template.c.
#define LOAD_DOWN_LEFT_EDGE |
Value:
const unsigned av_unused l4 = src[-1+4*stride];\ const unsigned av_unused l5 = src[-1+5*stride];\ const unsigned av_unused l6 = src[-1+6*stride];\ const unsigned av_unused l7 = src[-1+7*stride];\
Definition at line 129 of file h264pred_template.c.
Referenced by pred4x4_down_left_rv40_c(), pred4x4_horizontal_up_rv40_c(), and pred4x4_vertical_left_rv40_c().
#define LOAD_LEFT_EDGE |
Value:
const unsigned av_unused l0 = src[-1+0*stride];\ const unsigned av_unused l1 = src[-1+1*stride];\ const unsigned av_unused l2 = src[-1+2*stride];\ const unsigned av_unused l3 = src[-1+3*stride];\
Definition at line 135 of file h264pred_template.c.
Referenced by pred4x4_down_left_rv40_c(), pred4x4_down_left_rv40_nodown_c(), pred4x4_down_left_svq3_c(), pred4x4_down_right(), pred4x4_horizontal_down(), pred4x4_horizontal_up(), pred4x4_horizontal_up_rv40_c(), pred4x4_horizontal_up_rv40_nodown_c(), pred4x4_horizontal_vp8_c(), pred4x4_vertical_left_rv40_c(), pred4x4_vertical_left_rv40_nodown_c(), and pred4x4_vertical_right().
#define LOAD_TOP_EDGE |
Value:
const unsigned av_unused t0 = src[ 0-1*stride];\ const unsigned av_unused t1 = src[ 1-1*stride];\ const unsigned av_unused t2 = src[ 2-1*stride];\ const unsigned av_unused t3 = src[ 3-1*stride];\
Definition at line 141 of file h264pred_template.c.
Referenced by pred4x4_down_left(), pred4x4_down_left_rv40_c(), pred4x4_down_left_rv40_nodown_c(), pred4x4_down_left_svq3_c(), pred4x4_down_right(), pred4x4_horizontal_down(), pred4x4_horizontal_up_rv40_c(), pred4x4_horizontal_up_rv40_nodown_c(), pred4x4_vertical_left(), pred4x4_vertical_left_rv40(), pred4x4_vertical_left_vp8_c(), pred4x4_vertical_right(), and pred4x4_vertical_vp8_c().
#define LOAD_TOP_RIGHT_EDGE |
Value:
const unsigned av_unused t4 = topright[0];\ const unsigned av_unused t5 = topright[1];\ const unsigned av_unused t6 = topright[2];\ const unsigned av_unused t7 = topright[3];\
Definition at line 123 of file h264pred_template.c.
Referenced by pred4x4_down_left(), pred4x4_down_left_rv40_c(), pred4x4_down_left_rv40_nodown_c(), pred4x4_horizontal_up_rv40_c(), pred4x4_horizontal_up_rv40_nodown_c(), pred4x4_vertical_left(), pred4x4_vertical_left_rv40(), pred4x4_vertical_left_vp8_c(), and pred4x4_vertical_vp8_c().
#define PL | ( | y | ) | const int l##y = (SRC(-1,y-1) + 2*SRC(-1,y) + SRC(-1,y+1) + 2) >> 2; |
#define PRED16x16_X | ( | n, | |||
v | ) |
Value:
static void FUNCC(pred16x16_##n##_dc)(uint8_t *_src, int stride){\ int i;\ pixel *src = (pixel*)_src;\ stride >>= sizeof(pixel)-1;\ PREDICT_16x16_DC(PIXEL_SPLAT_X4(v));\ }
Definition at line 383 of file h264pred_template.c.
#define PRED8x8_X | ( | n, | |||
v | ) |
Value:
static void FUNCC(pred8x8_##n##_dc)(uint8_t *_src, int stride){\ int i;\ const pixel4 a = PIXEL_SPLAT_X4(v);\ pixel *src = (pixel*)_src;\ stride >>= sizeof(pixel)-1;\ for(i=0; i<8; i++){\ AV_WN4PA(((pixel4*)(src+i*stride))+0, a);\ AV_WN4PA(((pixel4*)(src+i*stride))+1, a);\ }\ }
Definition at line 493 of file h264pred_template.c.
#define PREDICT_16x16_DC | ( | v | ) |
Value:
for(i=0; i<16; i++){\ AV_WN4PA(src+ 0, v);\ AV_WN4PA(src+ 4, v);\ AV_WN4PA(src+ 8, v);\ AV_WN4PA(src+12, v);\ src += stride;\ }
Definition at line 328 of file h264pred_template.c.
Referenced by pred16x16_dc(), pred16x16_left_dc(), and pred16x16_top_dc().
#define PREDICT_8x8_DC | ( | v | ) |
Value:
int y; \ for( y = 0; y < 8; y++ ) { \ AV_WN4PA(((pixel4*)src)+0, v); \ AV_WN4PA(((pixel4*)src)+1, v); \ src += stride; \ }
Definition at line 811 of file h264pred_template.c.
Referenced by pred8x8l_128_dc(), pred8x8l_dc(), pred8x8l_left_dc(), and pred8x8l_top_dc().
#define PREDICT_8x8_LOAD_LEFT |
Value:
const int l0 = ((has_topleft ? SRC(-1,-1) : SRC(-1,0)) \ + 2*SRC(-1,0) + SRC(-1,1) + 2) >> 2; \ PL(1) PL(2) PL(3) PL(4) PL(5) PL(6) \ const int l7 av_unused = (SRC(-1,6) + 3*SRC(-1,7) + 2) >> 2
Definition at line 784 of file h264pred_template.c.
Referenced by pred8x8l_dc(), pred8x8l_down_right(), pred8x8l_horizontal(), pred8x8l_horizontal_down(), pred8x8l_horizontal_up(), pred8x8l_left_dc(), and pred8x8l_vertical_right().
#define PREDICT_8x8_LOAD_TOP |
Value:
const int t0 = ((has_topleft ? SRC(-1,-1) : SRC(0,-1)) \ + 2*SRC(0,-1) + SRC(1,-1) + 2) >> 2; \ PT(1) PT(2) PT(3) PT(4) PT(5) PT(6) \ const int t7 av_unused = ((has_topright ? SRC(8,-1) : SRC(7,-1)) \ + 2*SRC(7,-1) + SRC(6,-1) + 2) >> 2
Definition at line 792 of file h264pred_template.c.
Referenced by pred8x8l_dc(), pred8x8l_down_left(), pred8x8l_down_right(), pred8x8l_horizontal_down(), pred8x8l_top_dc(), pred8x8l_vertical(), pred8x8l_vertical_left(), and pred8x8l_vertical_right().
#define PREDICT_8x8_LOAD_TOPLEFT const int lt = (SRC(-1,0) + 2*SRC(-1,-1) + SRC(0,-1) + 2) >> 2 |
Definition at line 808 of file h264pred_template.c.
Referenced by pred8x8l_down_right(), pred8x8l_horizontal_down(), and pred8x8l_vertical_right().
#define PREDICT_8x8_LOAD_TOPRIGHT |
Value:
int t8, t9, t10, t11, t12, t13, t14, t15; \ if(has_topright) { \ PTR(8) PTR(9) PTR(10) PTR(11) PTR(12) PTR(13) PTR(14) \ t15 = (SRC(14,-1) + 3*SRC(15,-1) + 2) >> 2; \ } else t8=t9=t10=t11=t12=t13=t14=t15= SRC(7,-1);
Definition at line 801 of file h264pred_template.c.
Referenced by pred8x8l_down_left(), and pred8x8l_vertical_left().
#define PT | ( | x | ) | const int t##x = (SRC(x-1,-1) + 2*SRC(x,-1) + SRC(x+1,-1) + 2) >> 2; |
Definition at line 790 of file h264pred_template.c.
#define PTR | ( | x | ) | t##x = (SRC(x-1,-1) + 2*SRC(x,-1) + SRC(x+1,-1) + 2) >> 2; |
Definition at line 799 of file h264pred_template.c.
#define ROW | ( | y | ) |
Value:
a = PIXEL_SPLAT_X4(l##y); \ AV_WN4PA(src+y*stride, a); \ AV_WN4PA(src+y*stride+4, a);
Referenced by pred8x8l_horizontal().
#define SRC | ( | x, | |||
y | ) | src[(x)+(y)*stride] |
Definition at line 781 of file h264pred_template.c.
Referenced by pred8x8l_down_left(), pred8x8l_down_right(), pred8x8l_horizontal_down(), pred8x8l_horizontal_up(), pred8x8l_vertical_left(), and pred8x8l_vertical_right().
for | ( | ) |
Definition at line 529 of file h264pred_template.c.
for | ( | j | = 16; j , |
|
0;-- | j | |||
) |
Definition at line 426 of file h264pred_template.c.
Referenced by ac3_decode_frame(), ac3_decode_transform_coeffs_ch(), add_frame_default(), adpcm_decode_frame(), alac_decode_frame(), ape_decode_frame(), atrac1_decode_frame(), audio_read_packet(), av_image_fill_pointers(), av_solve_lls(), bfi_decode_frame(), blend_slice(), bmv_aud_decode_frame(), cdg_load_palette(), compute_stereo(), copy_frame_default(), dca_parse_audio_coding_header(), decode_block(), decode_frame(), decode_subframe(), dnxhd_unquantize_c(), draw_slice(), eightsvx_decode_frame(), encode_frame(), ff_draw_horiz_band(), ff_h264_decode_mb_cabac(), ff_rv34_decode_frame(), fill_picture(), fill_quantization_matrices(), fill_scaling_lists(), fill_yuv_image(), filter_samples(), flashsv_decode_frame(), generate_intervals(), idcin_decode_init(), init_image(), ipvideo_decode_block_opcode_0x9_16(), ipvideo_decode_block_opcode_0xA_16(), ipvideo_decode_block_opcode_0xB_16(), ipvideo_decode_block_opcode_0xC_16(), ipvideo_decode_block_opcode_0xD_16(), is_yuv_planar(), lag_decode_frame(), lavfi_read_header(), libgsm_decode_frame(), libopenjpeg_copy_packed16(), libopenjpeg_copy_unpacked16(), mclms_predict(), mclms_update(), mct_decode(), msvideo1_decode_16bit(), mxf_compute_ptses_fake_index(), mxf_get_sorted_table_segments(), mxf_read_close(), pcm_decode_frame(), pitch_sharpening(), pnm_decode_frame(), process_callback(), put_image(), qdm2_decode_fft_packets(), qdm2_decode_frame(), qmf_32_subbands(), recheck_discard_flags(), request_frame(), s302m_decode_frame(), shorten_decode_frame(), sws_diffVec(), sws_init_context(), sws_sumVec(), synth_superframe(), tta_decode_frame(), txd_decode_frame(), use_normal_update_speed(), v410_decode_frame(), v410_encode_frame(), vcr1_decode_frame(), vmd_decode(), vmdvideo_decode_init(), vorbis_encode_frame(), vp56_parse_mb_type_models(), wavesynth_decode(), xwd_decode_frame(), and yop_decode_frame().
static void FUNCC() pred16x16_dc | ( | uint8_t * | _src, | |
int | stride | |||
) | [static] |
Definition at line 337 of file h264pred_template.c.
static void FUNCC() pred16x16_horizontal | ( | uint8_t * | _src, | |
int | stride | |||
) | [static] |
Definition at line 313 of file h264pred_template.c.
static void FUNCC() pred16x16_horizontal_add | ( | uint8_t * | pix, | |
const int * | block_offset, | |||
const DCTELEM * | block, | |||
int | stride | |||
) | [static] |
Definition at line 1139 of file h264pred_template.c.
static void FUNCC() pred16x16_left_dc | ( | uint8_t * | _src, | |
int | stride | |||
) | [static] |
Definition at line 355 of file h264pred_template.c.
static void FUNCC() pred16x16_plane | ( | uint8_t * | src, | |
int | stride | |||
) | [static] |
Definition at line 440 of file h264pred_template.c.
static void FUNCC() pred16x16_top_dc | ( | uint8_t * | _src, | |
int | stride | |||
) | [static] |
Definition at line 369 of file h264pred_template.c.
static void FUNCC() pred16x16_vertical | ( | uint8_t * | _src, | |
int | _stride | |||
) | [static] |
Definition at line 296 of file h264pred_template.c.
static void FUNCC() pred16x16_vertical_add | ( | uint8_t * | pix, | |
const int * | block_offset, | |||
const DCTELEM * | block, | |||
int | stride | |||
) | [static] |
Definition at line 1133 of file h264pred_template.c.
PRED16x16_X | ( | 127 | , | |
(1<<(BIT_DEPTH-1))- | 1 | |||
) |
static void FUNCC() pred4x4_127_dc | ( | uint8_t * | _src, | |
const uint8_t * | topright, | |||
int | _stride | |||
) | [static] |
Definition at line 100 of file h264pred_template.c.
static void FUNCC() pred4x4_128_dc | ( | uint8_t * | _src, | |
const uint8_t * | topright, | |||
int | _stride | |||
) | [static] |
Definition at line 89 of file h264pred_template.c.
Referenced by pred8x16_mad_cow_dc_0l0(), pred8x16_mad_cow_dc_l00(), pred8x8_mad_cow_dc_0l0(), and pred8x8_mad_cow_dc_l00().
static void FUNCC() pred4x4_129_dc | ( | uint8_t * | _src, | |
const uint8_t * | topright, | |||
int | _stride | |||
) | [static] |
Definition at line 111 of file h264pred_template.c.
Definition at line 52 of file h264pred_template.c.
Referenced by pred8x16_mad_cow_dc_l0t(), and pred8x8_mad_cow_dc_l0t().
static void FUNCC() pred4x4_down_left | ( | uint8_t * | _src, | |
const uint8_t * | _topright, | |||
int | _stride | |||
) | [static] |
Definition at line 172 of file h264pred_template.c.
static void FUNCC() pred4x4_down_right | ( | uint8_t * | _src, | |
const uint8_t * | topright, | |||
int | _stride | |||
) | [static] |
Definition at line 147 of file h264pred_template.c.
static void FUNCC() pred4x4_horizontal | ( | uint8_t * | _src, | |
const uint8_t * | topright, | |||
int | _stride | |||
) | [static] |
Definition at line 43 of file h264pred_template.c.
static void FUNCC() pred4x4_horizontal_add | ( | uint8_t * | p_pix, | |
const DCTELEM * | p_block, | |||
int | stride | |||
) | [static] |
Definition at line 1076 of file h264pred_template.c.
Referenced by pred16x16_horizontal_add(), pred8x16_horizontal_add(), and pred8x8_horizontal_add().
static void FUNCC() pred4x4_horizontal_down | ( | uint8_t * | _src, | |
const uint8_t * | topright, | |||
int | _stride | |||
) | [static] |
Definition at line 271 of file h264pred_template.c.
static void FUNCC() pred4x4_horizontal_up | ( | uint8_t * | _src, | |
const uint8_t * | topright, | |||
int | _stride | |||
) | [static] |
Definition at line 248 of file h264pred_template.c.
static void FUNCC() pred4x4_left_dc | ( | uint8_t * | _src, | |
const uint8_t * | topright, | |||
int | _stride | |||
) | [static] |
Definition at line 65 of file h264pred_template.c.
static void FUNCC() pred4x4_top_dc | ( | uint8_t * | _src, | |
const uint8_t * | topright, | |||
int | _stride | |||
) | [static] |
Definition at line 77 of file h264pred_template.c.
Referenced by pred8x16_mad_cow_dc_0lt(), and pred8x8_mad_cow_dc_0lt().
static void FUNCC() pred4x4_vertical | ( | uint8_t * | _src, | |
const uint8_t * | topright, | |||
int | _stride | |||
) | [static] |
Definition at line 32 of file h264pred_template.c.
static void FUNCC() pred4x4_vertical_add | ( | uint8_t * | p_pix, | |
const DCTELEM * | p_block, | |||
int | stride | |||
) | [static] |
Definition at line 1059 of file h264pred_template.c.
Referenced by pred16x16_vertical_add(), pred8x16_vertical_add(), and pred8x8_vertical_add().
static void FUNCC() pred4x4_vertical_left | ( | uint8_t * | _src, | |
const uint8_t * | _topright, | |||
int | _stride | |||
) | [static] |
Definition at line 223 of file h264pred_template.c.
static void FUNCC() pred4x4_vertical_right | ( | uint8_t * | _src, | |
const uint8_t * | topright, | |||
int | _stride | |||
) | [static] |
Definition at line 198 of file h264pred_template.c.
static void FUNCC() pred8x16_dc | ( | uint8_t * | _src, | |
int | stride | |||
) | [static] |
static void FUNCC() pred8x16_horizontal | ( | uint8_t * | _src, | |
int | stride | |||
) | [static] |
Definition at line 482 of file h264pred_template.c.
static void FUNCC() pred8x16_horizontal_add | ( | uint8_t * | pix, | |
const int * | block_offset, | |||
const DCTELEM * | block, | |||
int | stride | |||
) | [static] |
Definition at line 1165 of file h264pred_template.c.
static void FUNCC() pred8x16_left_dc | ( | uint8_t * | _src, | |
int | stride | |||
) | [static] |
Definition at line 539 of file h264pred_template.c.
Referenced by pred8x16_mad_cow_dc_0l0(), and pred8x16_mad_cow_dc_l00().
static void FUNC() pred8x16_mad_cow_dc_0l0 | ( | uint8_t * | src, | |
int | stride | |||
) | [static] |
Definition at line 699 of file h264pred_template.c.
static void FUNC() pred8x16_mad_cow_dc_0lt | ( | uint8_t * | src, | |
int | stride | |||
) | [static] |
Definition at line 676 of file h264pred_template.c.
static void FUNC() pred8x16_mad_cow_dc_l00 | ( | uint8_t * | src, | |
int | stride | |||
) | [static] |
Definition at line 687 of file h264pred_template.c.
static void FUNC() pred8x16_mad_cow_dc_l0t | ( | uint8_t * | src, | |
int | stride | |||
) | [static] |
Definition at line 666 of file h264pred_template.c.
static void FUNCC() pred8x16_plane | ( | uint8_t * | _src, | |
int | _stride | |||
) | [static] |
Definition at line 740 of file h264pred_template.c.
static void FUNCC() pred8x16_top_dc | ( | uint8_t * | _src, | |
int | stride | |||
) | [static] |
static void FUNCC() pred8x16_vertical | ( | uint8_t * | _src, | |
int | _stride | |||
) | [static] |
Definition at line 457 of file h264pred_template.c.
static void FUNCC() pred8x16_vertical_add | ( | uint8_t * | pix, | |
const int * | block_offset, | |||
const DCTELEM * | block, | |||
int | stride | |||
) | [static] |
Definition at line 1151 of file h264pred_template.c.
static void FUNCC() pred8x8_dc | ( | uint8_t * | _src, | |
int | stride | |||
) | [static] |
static void FUNCC() pred8x8_horizontal | ( | uint8_t * | _src, | |
int | stride | |||
) | [static] |
Definition at line 470 of file h264pred_template.c.
static void FUNCC() pred8x8_horizontal_add | ( | uint8_t * | pix, | |
const int * | block_offset, | |||
const DCTELEM * | block, | |||
int | stride | |||
) | [static] |
Definition at line 1159 of file h264pred_template.c.
static void FUNC() pred8x8_mad_cow_dc_0l0 | ( | uint8_t * | src, | |
int | stride | |||
) | [static] |
Definition at line 693 of file h264pred_template.c.
static void FUNC() pred8x8_mad_cow_dc_0lt | ( | uint8_t * | src, | |
int | stride | |||
) | [static] |
Definition at line 671 of file h264pred_template.c.
static void FUNC() pred8x8_mad_cow_dc_l00 | ( | uint8_t * | src, | |
int | stride | |||
) | [static] |
Definition at line 681 of file h264pred_template.c.
static void FUNC() pred8x8_mad_cow_dc_l0t | ( | uint8_t * | src, | |
int | stride | |||
) | [static] |
Definition at line 661 of file h264pred_template.c.
static void FUNCC() pred8x8_plane | ( | uint8_t * | _src, | |
int | _stride | |||
) | [static] |
Definition at line 705 of file h264pred_template.c.
static void FUNCC() pred8x8_top_dc | ( | uint8_t * | _src, | |
int | stride | |||
) | [static] |
static void FUNCC() pred8x8_vertical | ( | uint8_t * | _src, | |
int | _stride | |||
) | [static] |
Definition at line 444 of file h264pred_template.c.
static void FUNCC() pred8x8_vertical_add | ( | uint8_t * | pix, | |
const int * | block_offset, | |||
const DCTELEM * | block, | |||
int | stride | |||
) | [static] |
Definition at line 1145 of file h264pred_template.c.
PRED8x8_X | ( | 127 | , | |
(1<<(BIT_DEPTH-1))- | 1 | |||
) |
static void FUNCC() pred8x8l_128_dc | ( | uint8_t * | _src, | |
int | has_topleft, | |||
int | has_topright, | |||
int | _stride | |||
) | [static] |
Definition at line 819 of file h264pred_template.c.
static void FUNCC() pred8x8l_dc | ( | uint8_t * | p_src, | |
int | has_topleft, | |||
int | has_topright, | |||
int | p_stride | |||
) | [static] |
Definition at line 844 of file h264pred_template.c.
static void FUNCC() pred8x8l_down_left | ( | uint8_t * | p_src, | |
int | has_topleft, | |||
int | has_topright, | |||
int | p_stride | |||
) | [static] |
Definition at line 891 of file h264pred_template.c.
static void FUNCC() pred8x8l_down_right | ( | uint8_t * | p_src, | |
int | has_topleft, | |||
int | has_topright, | |||
int | p_stride | |||
) | [static] |
Definition at line 913 of file h264pred_template.c.
static void FUNCC() pred8x8l_horizontal | ( | uint8_t * | p_src, | |
int | has_topleft, | |||
int | has_topright, | |||
int | p_stride | |||
) | [static] |
Definition at line 855 of file h264pred_template.c.
static void FUNCC() pred8x8l_horizontal_add | ( | uint8_t * | p_pix, | |
const DCTELEM * | p_block, | |||
int | stride | |||
) | [static] |
Definition at line 1113 of file h264pred_template.c.
static void FUNCC() pred8x8l_horizontal_down | ( | uint8_t * | p_src, | |
int | has_topleft, | |||
int | has_topright, | |||
int | p_stride | |||
) | [static] |
Definition at line 966 of file h264pred_template.c.
static void FUNCC() pred8x8l_horizontal_up | ( | uint8_t * | p_src, | |
int | has_topleft, | |||
int | has_topright, | |||
int | p_stride | |||
) | [static] |
Definition at line 1025 of file h264pred_template.c.
static void FUNCC() pred8x8l_left_dc | ( | uint8_t * | _src, | |
int | has_topleft, | |||
int | has_topright, | |||
int | _stride | |||
) | [static] |
Definition at line 826 of file h264pred_template.c.
static void FUNCC() pred8x8l_top_dc | ( | uint8_t * | p_src, | |
int | has_topleft, | |||
int | has_topright, | |||
int | p_stride | |||
) | [static] |
Definition at line 835 of file h264pred_template.c.
static void FUNCC() pred8x8l_vertical | ( | uint8_t * | _src, | |
int | has_topleft, | |||
int | has_topright, | |||
int | _stride | |||
) | [static] |
Definition at line 868 of file h264pred_template.c.
static void FUNCC() pred8x8l_vertical_add | ( | uint8_t * | p_pix, | |
const DCTELEM * | p_block, | |||
int | stride | |||
) | [static] |
Definition at line 1092 of file h264pred_template.c.
static void FUNCC() pred8x8l_vertical_left | ( | uint8_t * | p_src, | |
int | has_topleft, | |||
int | has_topright, | |||
int | p_stride | |||
) | [static] |
Definition at line 996 of file h264pred_template.c.
static void FUNCC() pred8x8l_vertical_right | ( | uint8_t * | p_src, | |
int | has_topleft, | |||
int | has_topright, | |||
int | p_stride | |||
) | [static] |
Definition at line 936 of file h264pred_template.c.
<<(BIT_DEPTH-1))+0)PRED8x8_X(129,(1<<(BIT_DEPTH-1))+1)staticvoidFUNCC(pred8x16_128_dc)(uint8_t*_src,intstride){FUNCC(pred8x8_128_dc)(_src,stride);FUNCC(pred8x8_128_dc)(_src+8*stride,stride);}staticvoidFUNCC(pred8x8_left_dc)(uint8_t*_src,intstride){inti;intdc0,dc2;pixel4dc0splat,dc2splat;pixel*src=(pixel*)_src;stride>>=sizeof(pixel)-1;dc0=dc2=0;for(i=0;i<4;i++){dc0+=src[-1+i*stride];dc2+=src[-1+(i+4)*stride];}dc0splat=PIXEL_SPLAT_X4((dc0+2)>> dc2splat = PIXEL_SPLAT_X4((dc2 + 2)>>2) |
Definition at line 527 of file h264pred_template.c.
<<(BIT_DEPTH-1))+0)PRED16x16_X(129,(1<<(BIT_DEPTH-1))+1)staticinlinevoidFUNCC(pred16x16_plane_compat)(uint8_t*p_src,intp_stride,constintsvq3,constintrv40){inti,j,k;inta;INIT_CLIPpixel*src=(pixel*)p_src;intstride=p_stride>>(sizeof(pixel)-1);constpixel*constsrc0=src+7-stride;constpixel*src1=src+8*stride-1;constpixel*src2=src1-2*stride;intH=src0[1]-src0[-1];intV=src1[0]-src2[0];for(k=2;k<=8;++k){src1+=stride;src2-=stride;H+=k*(src0[k]-src0[-k]);V+=k*(src1[0]-src2[0]);}if(svq3){H=(5*(H/4))/16;V=(5*(V/4))/16;i=H;H=V;V=i;}elseif(rv40){H=(H+(H>> V = ( V + (V>>2) ) >> 4 |
Definition at line 419 of file h264pred_template.c.