Home
last modified time | relevance | path

Searched refs:pred_ptr (Results 1 – 25 of 38) sorted by relevance

12

/external/libaom/aom_dsp/x86/
Dsubtract_avx2.c16 const uint8_t *pred_ptr) { in subtract32_avx2() argument
18 __m256i p = _mm256_lddqu_si256((__m256i *)(pred_ptr)); in subtract32_avx2()
32 ptrdiff_t src_stride, const uint8_t *pred_ptr, ptrdiff_t pred_stride) { in subtract_block_16xn_avx2() argument
35 __m128i p = _mm_lddqu_si128((__m128i *)(pred_ptr)); in subtract_block_16xn_avx2()
41 pred_ptr += pred_stride; in subtract_block_16xn_avx2()
48 ptrdiff_t src_stride, const uint8_t *pred_ptr, ptrdiff_t pred_stride) { in subtract_block_32xn_avx2() argument
50 subtract32_avx2(diff_ptr, src_ptr, pred_ptr); in subtract_block_32xn_avx2()
52 pred_ptr += pred_stride; in subtract_block_32xn_avx2()
59 ptrdiff_t src_stride, const uint8_t *pred_ptr, ptrdiff_t pred_stride) { in subtract_block_64xn_avx2() argument
61 subtract32_avx2(diff_ptr, src_ptr, pred_ptr); in subtract_block_64xn_avx2()
[all …]
/external/libvpx/vpx_dsp/x86/
Dsubtract_avx2.c19 const uint8_t *pred_ptr) { in subtract32_avx2() argument
21 const __m256i p = _mm256_lddqu_si256((const __m256i *)pred_ptr); in subtract32_avx2()
34 ptrdiff_t src_stride, const uint8_t *pred_ptr, ptrdiff_t pred_stride) { in subtract_block_16xn_avx2() argument
38 const __m128i p = _mm_lddqu_si128((const __m128i *)pred_ptr); in subtract_block_16xn_avx2()
44 pred_ptr += pred_stride; in subtract_block_16xn_avx2()
51 ptrdiff_t src_stride, const uint8_t *pred_ptr, ptrdiff_t pred_stride) { in subtract_block_32xn_avx2() argument
54 subtract32_avx2(diff_ptr, src_ptr, pred_ptr); in subtract_block_32xn_avx2()
56 pred_ptr += pred_stride; in subtract_block_32xn_avx2()
63 ptrdiff_t src_stride, const uint8_t *pred_ptr, ptrdiff_t pred_stride) { in subtract_block_64xn_avx2() argument
66 subtract32_avx2(diff_ptr, src_ptr, pred_ptr); in subtract_block_64xn_avx2()
[all …]
/external/libvpx/vp8/common/mips/mmi/
Didctllm_mmi.c40 void vp8_short_idct4x4llm_mmi(int16_t *input, unsigned char *pred_ptr, in vp8_short_idct4x4llm_mmi() argument
143 MMI_ADDU(%[pred_ptr], %[pred_ptr], %[pred_stride]) in vp8_short_idct4x4llm_mmi()
158 MMI_ADDU(%[pred_ptr], %[pred_ptr], %[pred_stride]) in vp8_short_idct4x4llm_mmi()
173 MMI_ADDU(%[pred_ptr], %[pred_ptr], %[pred_stride]) in vp8_short_idct4x4llm_mmi()
193 [pred_ptr]"+&r"(pred_ptr), [dst_ptr]"+&r"(dst_ptr), in vp8_short_idct4x4llm_mmi()
203 void vp8_dc_only_idct_add_mmi(int16_t input_dc, unsigned char *pred_ptr, in vp8_dc_only_idct_add_mmi() argument
222 MMI_ADDU(%[pred_ptr], %[pred_ptr], %[pred_stride]) in vp8_dc_only_idct_add_mmi()
232 MMI_ADDU(%[pred_ptr], %[pred_ptr], %[pred_stride]) in vp8_dc_only_idct_add_mmi()
242 MMI_ADDU(%[pred_ptr], %[pred_ptr], %[pred_stride]) in vp8_dc_only_idct_add_mmi()
253 [dst_ptr]"+&r"(dst_ptr), [pred_ptr]"+&r"(pred_ptr), [a1]"=&f"(a1) in vp8_dc_only_idct_add_mmi()
/external/libvpx/vp8/common/arm/neon/
Ddc_only_idct_add_neon.c15 void vp8_dc_only_idct_add_neon(int16_t input_dc, unsigned char *pred_ptr, in vp8_dc_only_idct_add_neon() argument
28 d2u32 = vld1_lane_u32((const uint32_t *)pred_ptr, d2u32, 0); in vp8_dc_only_idct_add_neon()
29 pred_ptr += pred_stride; in vp8_dc_only_idct_add_neon()
30 d2u32 = vld1_lane_u32((const uint32_t *)pred_ptr, d2u32, 1); in vp8_dc_only_idct_add_neon()
31 pred_ptr += pred_stride; in vp8_dc_only_idct_add_neon()
Dshortidct4x4llm_neon.c22 void vp8_short_idct4x4llm_neon(int16_t *input, unsigned char *pred_ptr, in vp8_short_idct4x4llm_neon() argument
107 d6u32 = vld1_lane_u32((const uint32_t *)pred_ptr, d6u32, 0); in vp8_short_idct4x4llm_neon()
108 pred_ptr += pred_stride; in vp8_short_idct4x4llm_neon()
109 d6u32 = vld1_lane_u32((const uint32_t *)pred_ptr, d6u32, 1); in vp8_short_idct4x4llm_neon()
110 pred_ptr += pred_stride; in vp8_short_idct4x4llm_neon()
/external/ComputeLibrary/src/cpu/kernels/boundingboxtransform/generic/neon/
Dimpl.cpp41 …auto pred_ptr = reinterpret_cast<uint16_t *>(pred_boxes->buffer() + pred_boxes->info()->offset_fi… in bounding_box_transform_qsymm16() local
77pred_ptr[delta_id] = quantize_qasymm16(scale_after * utility::clamp<float>(pred_ctr_x - 0.5f *… in bounding_box_transform_qsymm16()
78pred_ptr[delta_id + 1] = quantize_qasymm16(scale_after * utility::clamp<float>(pred_ctr_y - 0.5f *… in bounding_box_transform_qsymm16()
79pred_ptr[delta_id + 2] = quantize_qasymm16(scale_after * utility::clamp<float>(pred_ctr_x + 0.5f *… in bounding_box_transform_qsymm16()
80pred_ptr[delta_id + 3] = quantize_qasymm16(scale_after * utility::clamp<float>(pred_ctr_y + 0.5f *… in bounding_box_transform_qsymm16()
99 …auto pred_ptr = reinterpret_cast<T *>(pred_boxes->buffer() + pred_boxes->info()->offset_first_ele… in bounding_box_transform() local
131pred_ptr[delta_id] = scale_after * utility::clamp<T>(pred_ctr_x - T(0.5f) * pred_w, T(0), T(im… in bounding_box_transform()
132pred_ptr[delta_id + 1] = scale_after * utility::clamp<T>(pred_ctr_y - T(0.5f) * pred_h, T(0), T(im… in bounding_box_transform()
133pred_ptr[delta_id + 2] = scale_after * utility::clamp<T>(pred_ctr_x + T(0.5f) * pred_w - offset, T… in bounding_box_transform()
134pred_ptr[delta_id + 3] = scale_after * utility::clamp<T>(pred_ctr_y + T(0.5f) * pred_h - offset, T… in bounding_box_transform()
/external/libvpx/vpx_dsp/loongarch/
Dsubtract_lsx.c15 const uint8_t *pred_ptr, int32_t pred_stride, in sub_blk_4x4_lsx() argument
31 DUP4_ARG2(__lsx_vldrepl_w, pred_ptr, 0, pred_ptr + pred_stride, 0, in sub_blk_4x4_lsx()
32 pred_ptr + pred_stride2, 0, pred_ptr + pred_stride3, 0, pred0, in sub_blk_4x4_lsx()
47 const uint8_t *pred_ptr, int32_t pred_stride, in sub_blk_8x8_lsx() argument
65 DUP4_ARG2(__lsx_vldrepl_d, pred_ptr, 0, pred_ptr + pred_stride, 0, in sub_blk_8x8_lsx()
66 pred_ptr + pred_stride2, 0, pred_ptr + pred_stride3, 0, pred0, in sub_blk_8x8_lsx()
69 pred_ptr += pred_stride4; in sub_blk_8x8_lsx()
74 DUP4_ARG2(__lsx_vldrepl_d, pred_ptr, 0, pred_ptr + pred_stride, 0, in sub_blk_8x8_lsx()
75 pred_ptr + pred_stride2, 0, pred_ptr + pred_stride3, 0, pred4, in sub_blk_8x8_lsx()
338 ptrdiff_t src_stride, const uint8_t *pred_ptr, in vpx_subtract_block_lsx() argument
[all …]
/external/libvpx/vpx_dsp/mips/
Dsubtract_msa.c15 const uint8_t *pred_ptr, int32_t pred_stride, in sub_blk_4x4_msa() argument
25 LW4(pred_ptr, pred_stride, pred0, pred1, pred2, pred3); in sub_blk_4x4_msa()
34 const uint8_t *pred_ptr, int32_t pred_stride, in sub_blk_8x8_msa() argument
46 LD2(pred_ptr, pred_stride, pred0, pred1); in sub_blk_8x8_msa()
47 pred_ptr += (2 * pred_stride); in sub_blk_8x8_msa()
231 ptrdiff_t src_stride, const uint8_t *pred_ptr, in vpx_subtract_block_msa() argument
236 sub_blk_4x4_msa(src_ptr, src_stride, pred_ptr, pred_stride, diff_ptr, in vpx_subtract_block_msa()
240 sub_blk_8x8_msa(src_ptr, src_stride, pred_ptr, pred_stride, diff_ptr, in vpx_subtract_block_msa()
244 sub_blk_16x16_msa(src_ptr, src_stride, pred_ptr, pred_stride, diff_ptr, in vpx_subtract_block_msa()
248 sub_blk_32x32_msa(src_ptr, src_stride, pred_ptr, pred_stride, diff_ptr, in vpx_subtract_block_msa()
[all …]
/external/libvpx/vp8/common/
Didctllm.c29 void vp8_short_idct4x4llm_c(short *input, unsigned char *pred_ptr, in vp8_short_idct4x4llm_c() argument
91 int a = ip[c] + pred_ptr[c]; in vp8_short_idct4x4llm_c()
101 pred_ptr += pred_stride; in vp8_short_idct4x4llm_c()
105 void vp8_dc_only_idct_add_c(short input_dc, unsigned char *pred_ptr, in vp8_dc_only_idct_add_c() argument
113 int a = a1 + pred_ptr[c]; in vp8_dc_only_idct_add_c()
123 pred_ptr += pred_stride; in vp8_dc_only_idct_add_c()
Dreconinter.c62 unsigned char *pred_ptr = d->predictor; in vp8_build_inter_predictors_b() local
69 pred_ptr, pitch); in vp8_build_inter_predictors_b()
72 pred_ptr[0] = ptr[0]; in vp8_build_inter_predictors_b()
73 pred_ptr[1] = ptr[1]; in vp8_build_inter_predictors_b()
74 pred_ptr[2] = ptr[2]; in vp8_build_inter_predictors_b()
75 pred_ptr[3] = ptr[3]; in vp8_build_inter_predictors_b()
76 pred_ptr += pitch; in vp8_build_inter_predictors_b()
Drtcd_defs.pl98 add_proto qw/void vp8_short_idct4x4llm/, "short *input, unsigned char *pred_ptr, int pred_stride, u…
110 add_proto qw/void vp8_dc_only_idct_add/, "short input_dc, unsigned char *pred_ptr, int pred_stride,…
/external/libvpx/vp8/common/mips/dspr2/
Didctllm_dspr2.c37 void vp8_short_idct4x4llm_dspr2(short *input, unsigned char *pred_ptr, in vp8_short_idct4x4llm_dspr2() argument
194 short a = ip[c] + pred_ptr[c]; in vp8_short_idct4x4llm_dspr2()
200 pred_ptr += pred_stride; in vp8_short_idct4x4llm_dspr2()
204 void vp8_dc_only_idct_add_dspr2(short input_dc, unsigned char *pred_ptr, in vp8_dc_only_idct_add_dspr2() argument
237 [dst_ptr] "+&r"(dst_ptr), [pred_ptr] "+&r"(pred_ptr) in vp8_dc_only_idct_add_dspr2()
257 [dst_ptr] "+&r"(dst_ptr), [pred_ptr] "+&r"(pred_ptr) in vp8_dc_only_idct_add_dspr2()
/external/libvpx/vpx_dsp/arm/
Dhighbd_sad_neon.c74 const uint16_t *pred_ptr = CONVERT_TO_SHORTPTR(second_pred); in highbd_sad4_avg_neon() local
79 const uint16x4_t c_u16 = vld1_u16(pred_ptr + j); in highbd_sad4_avg_neon()
85 pred_ptr += width; in highbd_sad4_avg_neon()
98 const uint16_t *pred_ptr = CONVERT_TO_SHORTPTR(second_pred); in highbd_sad8_avg_neon() local
103 const uint16x8_t c_u16 = vld1q_u16(pred_ptr + j); in highbd_sad8_avg_neon()
112 pred_ptr += width; in highbd_sad8_avg_neon()
/external/libvpx/vpx_dsp/
Dsubtract.c21 ptrdiff_t src_stride, const uint8_t *pred_ptr, in vpx_subtract_block_c() argument
26 for (c = 0; c < cols; c++) diff_ptr[c] = src_ptr[c] - pred_ptr[c]; in vpx_subtract_block_c()
29 pred_ptr += pred_stride; in vpx_subtract_block_c()
/external/libvpx/config/arm-neon/
Dvp8_rtcd.h64 void vp8_dc_only_idct_add_c(short input_dc, unsigned char *pred_ptr, int pred_stride, unsigned char…
65 void vp8_dc_only_idct_add_neon(short input_dc, unsigned char *pred_ptr, int pred_stride, unsigned c…
151 void vp8_short_idct4x4llm_c(short *input, unsigned char *pred_ptr, int pred_stride, unsigned char *…
152 void vp8_short_idct4x4llm_neon(short *input, unsigned char *pred_ptr, int pred_stride, unsigned cha…
/external/libvpx/config/arm64/
Dvp8_rtcd.h64 void vp8_dc_only_idct_add_c(short input_dc, unsigned char *pred_ptr, int pred_stride, unsigned char…
65 void vp8_dc_only_idct_add_neon(short input_dc, unsigned char *pred_ptr, int pred_stride, unsigned c…
151 void vp8_short_idct4x4llm_c(short *input, unsigned char *pred_ptr, int pred_stride, unsigned char *…
152 void vp8_short_idct4x4llm_neon(short *input, unsigned char *pred_ptr, int pred_stride, unsigned cha…
/external/libvpx/config/x86_64/
Dvp8_rtcd.h78 void vp8_dc_only_idct_add_c(short input_dc, unsigned char *pred_ptr, int pred_stride, unsigned char…
79 void vp8_dc_only_idct_add_mmx(short input_dc, unsigned char *pred_ptr, int pred_stride, unsigned ch…
182 void vp8_short_idct4x4llm_c(short *input, unsigned char *pred_ptr, int pred_stride, unsigned char *…
183 void vp8_short_idct4x4llm_mmx(short *input, unsigned char *pred_ptr, int pred_stride, unsigned char…
/external/libvpx/config/x86/
Dvp8_rtcd.h78 void vp8_dc_only_idct_add_c(short input_dc, unsigned char *pred_ptr, int pred_stride, unsigned char…
79 void vp8_dc_only_idct_add_mmx(short input_dc, unsigned char *pred_ptr, int pred_stride, unsigned ch…
182 void vp8_short_idct4x4llm_c(short *input, unsigned char *pred_ptr, int pred_stride, unsigned char *…
183 void vp8_short_idct4x4llm_mmx(short *input, unsigned char *pred_ptr, int pred_stride, unsigned char…
/external/libvpx/config/generic/
Dvp8_rtcd.h57 void vp8_dc_only_idct_add_c(short input_dc, unsigned char *pred_ptr, int pred_stride, unsigned char…
126 void vp8_short_idct4x4llm_c(short *input, unsigned char *pred_ptr, int pred_stride, unsigned char *…
/external/libvpx/vp8/common/mips/msa/
Didct_msa.c293 void vp8_short_idct4x4llm_msa(int16_t *input, uint8_t *pred_ptr, in vp8_short_idct4x4llm_msa() argument
296 idct4x4_addblk_msa(input, pred_ptr, pred_stride, dst_ptr, dst_stride); in vp8_short_idct4x4llm_msa()
299 void vp8_dc_only_idct_add_msa(int16_t input_dc, uint8_t *pred_ptr, in vp8_dc_only_idct_add_msa() argument
302 idct4x4_addconst_msa(input_dc, pred_ptr, pred_stride, dst_ptr, dst_stride); in vp8_dc_only_idct_add_msa()
/external/libvpx/test/
Dvp9_subtract_test.cc29 ptrdiff_t src_stride, const uint8_t *pred_ptr,
171 ptrdiff_t src_stride, const uint8_t *pred_ptr,
Didct_test.cc21 typedef void (*IdctFunc)(int16_t *input, unsigned char *pred_ptr,
/external/libvpx/vp8/common/x86/
Didctllm_mmx.asm224 ;unsigned char *pred_ptr,
237 mov rax, arg(1) ;pred_ptr
/external/libvpx/vp8/common/loongarch/
Didct_lsx.c148 void vp8_dc_only_idct_add_lsx(int16_t input_dc, uint8_t *pred_ptr, in vp8_dc_only_idct_add_lsx() argument
151 idct4x4_addconst_lsx(input_dc, pred_ptr, pred_stride, dst_ptr, dst_stride); in vp8_dc_only_idct_add_lsx()
/external/libvpx/vp8/encoder/
Dencodemb.c26 unsigned char *pred_ptr = bd->predictor; in vp8_subtract_b() local
29 vpx_subtract_block(4, 4, diff_ptr, pitch, src_ptr, src_stride, pred_ptr, in vp8_subtract_b()

12