Home
last modified time | relevance | path

Searched refs:BPS (Results 1 – 17 of 17) sorted by relevance

/external/webp/src/dsp/
Ddec.c27 dst[x + y * BPS] = clip_8b(dst[x + y * BPS] + ((v) >> 3))
76 dst += BPS; in TransformOne()
104 VP8Transform(in + 2 * 16, dst + 4 * BPS, 1); in TransformUV()
120 if (in[2 * 16]) VP8TransformDC(in + 2 * 16, dst + 4 * BPS); in TransformDCUV()
121 if (in[3 * 16]) VP8TransformDC(in + 3 * 16, dst + 4 * BPS + 4); in TransformDCUV()
161 #define DST(x, y) dst[(x) + (y) * BPS]
164 const uint8_t* top = dst - BPS; in TrueMotion()
173 dst += BPS; in TrueMotion()
186 memcpy(dst + j * BPS, dst - BPS, 16); in VE16()
194 dst += BPS; in HE16()
[all …]
Denc.c34 0 + 0 * BPS, 4 + 0 * BPS, 8 + 0 * BPS, 12 + 0 * BPS,
35 0 + 4 * BPS, 4 + 4 * BPS, 8 + 4 * BPS, 12 + 4 * BPS,
36 0 + 8 * BPS, 4 + 8 * BPS, 8 + 8 * BPS, 12 + 8 * BPS,
37 0 + 12 * BPS, 4 + 12 * BPS, 8 + 12 * BPS, 12 + 12 * BPS,
39 0 + 0 * BPS, 4 + 0 * BPS, 0 + 4 * BPS, 4 + 4 * BPS, // U
40 8 + 0 * BPS, 12 + 0 * BPS, 8 + 4 * BPS, 12 + 4 * BPS // V
86 dst[(x) + (y) * BPS] = clip_8b(ref[(x) + (y) * BPS] + ((v) >> 3))
136 for (i = 0; i < 4; ++i, src += BPS, ref += BPS) { in FTransform()
198 #define DST(x, y) dst[(x) + (y) * BPS]
203 memset(dst + j * BPS, value, size); in Fill()
[all …]
Denc_sse2.c280 ref0 = _mm_loadl_epi64((__m128i*)&ref[0 * BPS]); in ITransform()
281 ref1 = _mm_loadl_epi64((__m128i*)&ref[1 * BPS]); in ITransform()
282 ref2 = _mm_loadl_epi64((__m128i*)&ref[2 * BPS]); in ITransform()
283 ref3 = _mm_loadl_epi64((__m128i*)&ref[3 * BPS]); in ITransform()
286 ref0 = _mm_cvtsi32_si128(*(int*)&ref[0 * BPS]); in ITransform()
287 ref1 = _mm_cvtsi32_si128(*(int*)&ref[1 * BPS]); in ITransform()
288 ref2 = _mm_cvtsi32_si128(*(int*)&ref[2 * BPS]); in ITransform()
289 ref3 = _mm_cvtsi32_si128(*(int*)&ref[3 * BPS]); in ITransform()
309 _mm_storel_epi64((__m128i*)&dst[0 * BPS], ref0); in ITransform()
310 _mm_storel_epi64((__m128i*)&dst[1 * BPS], ref1); in ITransform()
[all …]
Denc_neon.c54 vst1_lane_u32((uint32_t*)(dst + 0 * BPS), vreinterpret_u32_u8(dst01_u8), 0); in SaturateAndStore4x4()
55 vst1_lane_u32((uint32_t*)(dst + 1 * BPS), vreinterpret_u32_u8(dst01_u8), 1); in SaturateAndStore4x4()
56 vst1_lane_u32((uint32_t*)(dst + 2 * BPS), vreinterpret_u32_u8(dst23_u8), 0); in SaturateAndStore4x4()
57 vst1_lane_u32((uint32_t*)(dst + 3 * BPS), vreinterpret_u32_u8(dst23_u8), 1); in SaturateAndStore4x4()
66 dst01 = vld1_lane_u32((uint32_t*)(ref + 0 * BPS), dst01, 0); in Add4x4()
67 dst23 = vld1_lane_u32((uint32_t*)(ref + 2 * BPS), dst23, 0); in Add4x4()
68 dst01 = vld1_lane_u32((uint32_t*)(ref + 1 * BPS), dst01, 1); in Add4x4()
69 dst23 = vld1_lane_u32((uint32_t*)(ref + 3 * BPS), dst23, 1); in Add4x4()
132 const int kBPS = BPS; in ITransformOne()
257 out = vld1q_lane_u32((const uint32_t*)(src + 0 * BPS), out, 0); in Load4x4()
[all …]
Ddec_sse2.c204 dst0 = _mm_loadl_epi64((__m128i*)(dst + 0 * BPS)); in Transform()
205 dst1 = _mm_loadl_epi64((__m128i*)(dst + 1 * BPS)); in Transform()
206 dst2 = _mm_loadl_epi64((__m128i*)(dst + 2 * BPS)); in Transform()
207 dst3 = _mm_loadl_epi64((__m128i*)(dst + 3 * BPS)); in Transform()
210 dst0 = _mm_cvtsi32_si128(*(int*)(dst + 0 * BPS)); in Transform()
211 dst1 = _mm_cvtsi32_si128(*(int*)(dst + 1 * BPS)); in Transform()
212 dst2 = _mm_cvtsi32_si128(*(int*)(dst + 2 * BPS)); in Transform()
213 dst3 = _mm_cvtsi32_si128(*(int*)(dst + 3 * BPS)); in Transform()
233 _mm_storel_epi64((__m128i*)(dst + 0 * BPS), dst0); in Transform()
234 _mm_storel_epi64((__m128i*)(dst + 1 * BPS), dst1); in Transform()
[all …]
Ddec_neon.c407 vst1_lane_u32((uint32_t*)(dst + 0 * BPS), vreinterpret_u32_u8(dst01_u8), 0); in SaturateAndStore4x4()
408 vst1_lane_u32((uint32_t*)(dst + 1 * BPS), vreinterpret_u32_u8(dst01_u8), 1); in SaturateAndStore4x4()
409 vst1_lane_u32((uint32_t*)(dst + 2 * BPS), vreinterpret_u32_u8(dst23_u8), 0); in SaturateAndStore4x4()
410 vst1_lane_u32((uint32_t*)(dst + 3 * BPS), vreinterpret_u32_u8(dst23_u8), 1); in SaturateAndStore4x4()
419 dst01 = vld1_lane_u32((uint32_t*)(dst + 0 * BPS), dst01, 0); in Add4x4()
420 dst23 = vld1_lane_u32((uint32_t*)(dst + 2 * BPS), dst23, 0); in Add4x4()
421 dst01 = vld1_lane_u32((uint32_t*)(dst + 1 * BPS), dst01, 1); in Add4x4()
422 dst23 = vld1_lane_u32((uint32_t*)(dst + 3 * BPS), dst23, 1); in Add4x4()
1036 const int kBPS = BPS; in TransformOne()
Denc_mips32.c398 for (y = 0; y < 16 * BPS; y += 4 * BPS) { in Disto16x16()
/external/webp/src/enc/
Dvp8enci.h122 #define BPS 16 // this is the common stride macro
123 #define Y_SIZE (BPS * 16)
124 #define UV_SIZE (BPS * 8)
126 #define PRED_SIZE (6 * 16 * BPS + 12 * BPS)
140 #define I16DC16 (0 * 16 * BPS)
141 #define I16TM16 (1 * 16 * BPS)
142 #define I16VE16 (2 * 16 * BPS)
143 #define I16HE16 (3 * 16 * BPS)
145 #define C8DC8 (4 * 16 * BPS)
146 #define C8TM8 (4 * 16 * BPS + 8 * BPS)
[all …]
Dfilter.c96 VP8SimpleHFilter16i(y_dst, BPS, limit); in DoFilter()
97 VP8SimpleVFilter16i(y_dst, BPS, limit); in DoFilter()
100 VP8HFilter16i(y_dst, BPS, limit, ilevel, hev_thresh); in DoFilter()
101 VP8HFilter8i(u_dst, v_dst, BPS, limit, ilevel, hev_thresh); in DoFilter()
102 VP8VFilter16i(y_dst, BPS, limit, ilevel, hev_thresh); in DoFilter()
103 VP8VFilter8i(u_dst, v_dst, BPS, limit, ilevel, hev_thresh); in DoFilter()
198 VP8SSIMAccumulate(yuv1 + Y_OFF, BPS, yuv2 + Y_OFF, BPS, x, y, 16, 16, &s); in GetMBSSIM()
203 VP8SSIMAccumulate(yuv1 + U_OFF, BPS, yuv2 + U_OFF, BPS, x, y, 8, 8, &s); in GetMBSSIM()
204 VP8SSIMAccumulate(yuv1 + V_OFF, BPS, yuv2 + V_OFF, BPS, x, y, 8, 8, &s); in GetMBSSIM()
Dquant.c60 for (i = 0; i < 16; ++i) printf("%3d ", it->yuv_in_[i + j * BPS]); in PrintBlockInfo()
62 for (i = 0; i < 16; ++i) printf("%3d ", it->yuv_out_[i + j * BPS]); in PrintBlockInfo()
65 printf("%1d ", abs(it->yuv_out_[i + j * BPS] - it->yuv_in_[i + j * BPS])); in PrintBlockInfo()
458 0 + 0 * BPS, 4 + 0 * BPS, 8 + 0 * BPS, 12 + 0 * BPS,
459 0 + 4 * BPS, 4 + 4 * BPS, 8 + 4 * BPS, 12 + 4 * BPS,
460 0 + 8 * BPS, 4 + 8 * BPS, 8 + 8 * BPS, 12 + 8 * BPS,
461 0 + 12 * BPS, 4 + 12 * BPS, 8 + 12 * BPS, 12 + 12 * BPS,
465 0 + 0 * BPS, 4 + 0 * BPS, 0 + 4 * BPS, 4 + 4 * BPS, // U
466 8 + 0 * BPS, 12 + 0 * BPS, 8 + 4 * BPS, 12 + 4 * BPS // V
Diterator.c111 dst += BPS; in ImportBlock()
115 memcpy(dst, dst - BPS, size); in ImportBlock()
116 dst += BPS; in ImportBlock()
180 src += BPS; in ExportBlock()
294 it->y_left_[i] = ysrc[15 + i * BPS]; in VP8IteratorSaveBoundary()
297 it->u_left_[i] = uvsrc[7 + i * BPS]; in VP8IteratorSaveBoundary()
298 it->v_left_[i] = uvsrc[15 + i * BPS]; in VP8IteratorSaveBoundary()
306 memcpy(it->y_top_, ysrc + 15 * BPS, 16); in VP8IteratorSaveBoundary()
307 memcpy(it->uv_top_, uvsrc + 7 * BPS, 8 + 8); in VP8IteratorSaveBoundary()
434 top[-4 + i] = blk[i + 3 * BPS]; // store future top samples in VP8IteratorRotateI4()
[all …]
Dframe.c461 p += BPS; in SetBlock()
/external/webp/src/dec/
Dframe.c659 0 + 0 * BPS, 4 + 0 * BPS, 8 + 0 * BPS, 12 + 0 * BPS,
660 0 + 4 * BPS, 4 + 4 * BPS, 8 + 4 * BPS, 12 + 4 * BPS,
661 0 + 8 * BPS, 4 + 8 * BPS, 8 + 8 * BPS, 12 + 8 * BPS,
662 0 + 12 * BPS, 4 + 12 * BPS, 8 + 12 * BPS, 12 + 12 * BPS
724 Copy32b(&y_dst[j * BPS - 4], &y_dst[j * BPS + 12]); in ReconstructRow()
727 Copy32b(&u_dst[j * BPS - 4], &u_dst[j * BPS + 4]); in ReconstructRow()
728 Copy32b(&v_dst[j * BPS - 4], &v_dst[j * BPS + 4]); in ReconstructRow()
732 y_dst[j * BPS - 1] = 129; in ReconstructRow()
735 u_dst[j * BPS - 1] = 129; in ReconstructRow()
736 v_dst[j * BPS - 1] = 129; in ReconstructRow()
[all …]
Dvp8i.h95 #define BPS 32 // this is the common stride used by yuv[] macro
96 #define YUV_SIZE (BPS * 17 + BPS * 9)
97 #define Y_SIZE (BPS * 17)
98 #define Y_OFF (BPS * 1 + 8)
99 #define U_OFF (Y_OFF + BPS * 16 + BPS)
/external/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp212 BranchInst *BPS = dyn_cast<BranchInst>(PS->getTerminator()); in FlattenParallelAndOr() local
213 if (BPS && BPS->isUnconditional()) { in FlattenParallelAndOr()
/external/iptables/extensions/
Dlibxt_rateest.man33 BPS/PPS options. If the flow rate is higher than the specified BPS/PPS, 0 will
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp1921 BitPermutationSelector BPS(CurDAG); in SelectBitPermutation() local
1922 return BPS.Select(N); in SelectBitPermutation()