Home
last modified time | relevance | path

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

/external/webp/src/dsp/
Ddec.c60 dst[x + y * BPS] = clip_8b(dst[x + y * BPS] + ((v) >> 3))
101 dst += BPS; in TransformOne()
115 VP8Transform(in + 2 * 16, dst + 4 * BPS, 1); in TransformUV()
131 if (in[2 * 16]) TransformDC(in + 2 * 16, dst + 4 * BPS); in TransformDCUV()
132 if (in[3 * 16]) TransformDC(in + 3 * 16, dst + 4 * BPS + 4); in TransformDCUV()
172 #define DST(x, y) dst[(x) + (y) * BPS]
175 const uint8_t* top = dst - BPS; in TrueMotion()
184 dst += BPS; in TrueMotion()
197 memcpy(dst + j * BPS, dst - BPS, 16); in VE16()
205 dst += BPS; in HE16()
[all …]
Denc.c47 0 + 0 * BPS, 4 + 0 * BPS, 8 + 0 * BPS, 12 + 0 * BPS,
48 0 + 4 * BPS, 4 + 4 * BPS, 8 + 4 * BPS, 12 + 4 * BPS,
49 0 + 8 * BPS, 4 + 8 * BPS, 8 + 8 * BPS, 12 + 8 * BPS,
50 0 + 12 * BPS, 4 + 12 * BPS, 8 + 12 * BPS, 12 + 12 * BPS,
52 0 + 0 * BPS, 4 + 0 * BPS, 0 + 4 * BPS, 4 + 4 * BPS, // U
53 8 + 0 * BPS, 12 + 0 * BPS, 8 + 4 * BPS, 12 + 4 * BPS // V
106 dst[(x) + (y) * BPS] = clip_8b(ref[(x) + (y) * BPS] + ((v) >> 3))
156 for (i = 0; i < 4; ++i, src += BPS, ref += BPS) { in FTransform()
244 #define DST(x, y) dst[(x) + (y) * BPS]
249 memset(dst + j * BPS, value, size); in Fill()
[all …]
Denc_sse2.c251 ref0 = _mm_loadl_epi64((__m128i*)&ref[0 * BPS]); in ITransformSSE2()
252 ref1 = _mm_loadl_epi64((__m128i*)&ref[1 * BPS]); in ITransformSSE2()
253 ref2 = _mm_loadl_epi64((__m128i*)&ref[2 * BPS]); in ITransformSSE2()
254 ref3 = _mm_loadl_epi64((__m128i*)&ref[3 * BPS]); in ITransformSSE2()
257 ref0 = _mm_cvtsi32_si128(*(int*)&ref[0 * BPS]); in ITransformSSE2()
258 ref1 = _mm_cvtsi32_si128(*(int*)&ref[1 * BPS]); in ITransformSSE2()
259 ref2 = _mm_cvtsi32_si128(*(int*)&ref[2 * BPS]); in ITransformSSE2()
260 ref3 = _mm_cvtsi32_si128(*(int*)&ref[3 * BPS]); in ITransformSSE2()
280 _mm_storel_epi64((__m128i*)&dst[0 * BPS], ref0); in ITransformSSE2()
281 _mm_storel_epi64((__m128i*)&dst[1 * BPS], ref1); in ITransformSSE2()
[all …]
Ddec_sse2.c202 dst0 = _mm_loadl_epi64((__m128i*)&dst[0 * BPS]); in TransformSSE2()
203 dst1 = _mm_loadl_epi64((__m128i*)&dst[1 * BPS]); in TransformSSE2()
204 dst2 = _mm_loadl_epi64((__m128i*)&dst[2 * BPS]); in TransformSSE2()
205 dst3 = _mm_loadl_epi64((__m128i*)&dst[3 * BPS]); in TransformSSE2()
208 dst0 = _mm_cvtsi32_si128(*(int*)&dst[0 * BPS]); in TransformSSE2()
209 dst1 = _mm_cvtsi32_si128(*(int*)&dst[1 * BPS]); in TransformSSE2()
210 dst2 = _mm_cvtsi32_si128(*(int*)&dst[2 * BPS]); in TransformSSE2()
211 dst3 = _mm_cvtsi32_si128(*(int*)&dst[3 * BPS]); in TransformSSE2()
231 _mm_storel_epi64((__m128i*)&dst[0 * BPS], dst0); in TransformSSE2()
232 _mm_storel_epi64((__m128i*)&dst[1 * BPS], dst1); in TransformSSE2()
[all …]
Ddec_neon.c159 const int kBPS = BPS; in TransformOneNEON()
/external/webp/src/enc/
Dvp8enci.h113 #define BPS 16 // this is the common stride macro
114 #define Y_SIZE (BPS * 16)
115 #define UV_SIZE (BPS * 8)
117 #define PRED_SIZE (6 * 16 * BPS + 12 * BPS)
131 #define I16DC16 (0 * 16 * BPS)
132 #define I16TM16 (1 * 16 * BPS)
133 #define I16VE16 (2 * 16 * BPS)
134 #define I16HE16 (3 * 16 * BPS)
136 #define C8DC8 (4 * 16 * BPS)
137 #define C8TM8 (4 * 16 * BPS + 8 * BPS)
[all …]
Dquant.c335 0 + 0 * BPS, 4 + 0 * BPS, 8 + 0 * BPS, 12 + 0 * BPS,
336 0 + 4 * BPS, 4 + 4 * BPS, 8 + 4 * BPS, 12 + 4 * BPS,
337 0 + 8 * BPS, 4 + 8 * BPS, 8 + 8 * BPS, 12 + 8 * BPS,
338 0 + 12 * BPS, 4 + 12 * BPS, 8 + 12 * BPS, 12 + 12 * BPS,
340 0 + 0 * BPS, 4 + 0 * BPS, 0 + 4 * BPS, 4 + 4 * BPS, // U
341 8 + 0 * BPS, 12 + 0 * BPS, 8 + 4 * BPS, 12 + 4 * BPS // V
Diterator.c95 dst += BPS; in ImportBlock()
99 memcpy(dst, dst - BPS, size); in ImportBlock()
100 dst += BPS; in ImportBlock()
139 src += BPS; in ExportBlock()
255 enc->y_left_[i] = ysrc[15 + i * BPS]; in VP8IteratorNext()
258 enc->u_left_[i] = usrc[7 + i * BPS]; in VP8IteratorNext()
259 enc->v_left_[i] = usrc[15 + i * BPS]; in VP8IteratorNext()
267 memcpy(enc->y_top_ + x * 16, ysrc + 15 * BPS, 16); in VP8IteratorNext()
268 memcpy(enc->uv_top_ + x * 16, usrc + 7 * BPS, 8 + 8); in VP8IteratorNext()
397 top[-4 + i] = blk[i + 3 * BPS]; // store future top samples in VP8IteratorRotateI4()
[all …]
Dfilter.c222 VP8EncSimpleHFilter16i(y_dst, BPS, limit); in DoFilter()
223 VP8EncSimpleVFilter16i(y_dst, BPS, limit); in DoFilter()
226 VP8EncHFilter16i(y_dst, BPS, limit, ilevel, hev_thresh); in DoFilter()
227 VP8EncHFilter8i(u_dst, v_dst, BPS, limit, ilevel, hev_thresh); in DoFilter()
228 VP8EncVFilter16i(y_dst, BPS, limit, ilevel, hev_thresh); in DoFilter()
229 VP8EncVFilter8i(u_dst, v_dst, BPS, limit, ilevel, hev_thresh); in DoFilter()
324 VP8SSIMAccumulate(yuv1 + Y_OFF, BPS, yuv2 + Y_OFF, BPS, x, y, 16, 16, &s); in GetMBSSIM()
329 VP8SSIMAccumulate(yuv1 + U_OFF, BPS, yuv2 + U_OFF, BPS, x, y, 8, 8, &s); in GetMBSSIM()
330 VP8SSIMAccumulate(yuv1 + V_OFF, BPS, yuv2 + V_OFF, BPS, x, y, 8, 8, &s); in GetMBSSIM()
Dframe.c694 p += BPS; in SetBlock()
/external/webp/src/dec/
Dframe.c140 dec->yuv_b_ + Y_OFF + y * BPS, 16); in VP8StoreBlock()
144 dec->yuv_b_ + U_OFF + y * BPS, 8); in VP8StoreBlock()
146 dec->yuv_b_ + V_OFF + y * BPS, 8); in VP8StoreBlock()
532 0 + 0 * BPS, 4 + 0 * BPS, 8 + 0 * BPS, 12 + 0 * BPS,
533 0 + 4 * BPS, 4 + 4 * BPS, 8 + 4 * BPS, 12 + 4 * BPS,
534 0 + 8 * BPS, 4 + 8 * BPS, 8 + 8 * BPS, 12 + 8 * BPS,
535 0 + 12 * BPS, 4 + 12 * BPS, 8 + 12 * BPS, 12 + 12 * BPS
563 Copy32b(&y_dst[j * BPS - 4], &y_dst[j * BPS + 12]); in VP8ReconstructBlock()
566 Copy32b(&u_dst[j * BPS - 4], &u_dst[j * BPS + 4]); in VP8ReconstructBlock()
567 Copy32b(&v_dst[j * BPS - 4], &v_dst[j * BPS + 4]); in VP8ReconstructBlock()
[all …]
Dvp8i.h94 #define BPS 32 // this is the common stride used by yuv[] macro
95 #define YUV_SIZE (BPS * 17 + BPS * 9)
96 #define Y_SIZE (BPS * 17)
97 #define Y_OFF (BPS * 1 + 8)
98 #define U_OFF (Y_OFF + BPS * 16 + BPS)
/external/iptables/extensions/
Dlibxt_rateest.man33 BPS/PPS options. If the flow rate is higher than the specified BPS/PPS, 0 will