Home
last modified time | relevance | path

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

/external/webp/src/dec/
Ddsp.c59 dst[x + y * BPS] = clip_8b(dst[x + y * BPS] + ((v) >> 3))
100 dst += BPS; in TransformOne()
114 VP8Transform(in + 2 * 16, dst + 4 * BPS, 1); in TransformUV()
130 if (in[2 * 16]) TransformDC(in + 2 * 16, dst + 4 * BPS); in TransformDCUV()
131 if (in[3 * 16]) TransformDC(in + 3 * 16, dst + 4 * BPS + 4); in TransformDCUV()
177 #define OUT(x, y) dst[(x) + (y) * BPS]
180 const uint8_t* top = dst - BPS; in TrueMotion()
189 dst += BPS; in TrueMotion()
202 memcpy(dst + j * BPS, dst - BPS, 16); in VE16()
210 dst += BPS; in HE16()
[all …]
Dframe.c228 dec->yuv_b_ + Y_OFF + y * BPS, 16); in VP8StoreBlock()
232 dec->yuv_b_ + U_OFF + y * BPS, 8); in VP8StoreBlock()
234 dec->yuv_b_ + V_OFF + y * BPS, 8); in VP8StoreBlock()
383 0 + 0 * BPS, 4 + 0 * BPS, 8 + 0 * BPS, 12 + 0 * BPS,
384 0 + 4 * BPS, 4 + 4 * BPS, 8 + 4 * BPS, 12 + 4 * BPS,
385 0 + 8 * BPS, 4 + 8 * BPS, 8 + 8 * BPS, 12 + 8 * BPS,
386 0 + 12 * BPS, 4 + 12 * BPS, 8 + 12 * BPS, 12 + 12 * BPS
414 Copy32b(&y_dst[j * BPS - 4], &y_dst[j * BPS + 12]); in VP8ReconstructBlock()
417 Copy32b(&u_dst[j * BPS - 4], &u_dst[j * BPS + 4]); in VP8ReconstructBlock()
418 Copy32b(&v_dst[j * BPS - 4], &v_dst[j * BPS + 4]); in VP8ReconstructBlock()
[all …]
Dvp8i.h91 #define BPS 32 // this is the common stride used by yuv[] macro
92 #define YUV_SIZE (BPS * 17 + BPS * 9)
93 #define Y_SIZE (BPS * 17)
94 #define Y_OFF (BPS * 1 + 8)
95 #define U_OFF (Y_OFF + BPS * 16 + BPS)
Ddsp_sse2.c200 dst0 = _mm_loadl_epi64((__m128i*)&dst[0 * BPS]); in TransformSSE2()
201 dst1 = _mm_loadl_epi64((__m128i*)&dst[1 * BPS]); in TransformSSE2()
202 dst2 = _mm_loadl_epi64((__m128i*)&dst[2 * BPS]); in TransformSSE2()
203 dst3 = _mm_loadl_epi64((__m128i*)&dst[3 * BPS]); in TransformSSE2()
206 dst0 = _mm_cvtsi32_si128(*(int*)&dst[0 * BPS]); in TransformSSE2()
207 dst1 = _mm_cvtsi32_si128(*(int*)&dst[1 * BPS]); in TransformSSE2()
208 dst2 = _mm_cvtsi32_si128(*(int*)&dst[2 * BPS]); in TransformSSE2()
209 dst3 = _mm_cvtsi32_si128(*(int*)&dst[3 * BPS]); in TransformSSE2()
229 _mm_storel_epi64((__m128i*)&dst[0 * BPS], dst0); in TransformSSE2()
230 _mm_storel_epi64((__m128i*)&dst[1 * BPS], dst1); in TransformSSE2()
[all …]
/external/webp/src/enc/
Dvp8enci.h112 #define BPS 16 // this is the common stride macro
113 #define Y_SIZE (BPS * 16)
114 #define UV_SIZE (BPS * 8)
116 #define PRED_SIZE (6 * 16 * BPS + 12 * BPS)
130 #define I16DC16 (0 * 16 * BPS)
131 #define I16TM16 (1 * 16 * BPS)
132 #define I16VE16 (2 * 16 * BPS)
133 #define I16HE16 (3 * 16 * BPS)
135 #define C8DC8 (4 * 16 * BPS)
136 #define C8TM8 (4 * 16 * BPS + 8 * BPS)
[all …]
Ddsp_sse2.c248 ref0 = _mm_loadl_epi64((__m128i*)&ref[0 * BPS]); in ITransformSSE2()
249 ref1 = _mm_loadl_epi64((__m128i*)&ref[1 * BPS]); in ITransformSSE2()
250 ref2 = _mm_loadl_epi64((__m128i*)&ref[2 * BPS]); in ITransformSSE2()
251 ref3 = _mm_loadl_epi64((__m128i*)&ref[3 * BPS]); in ITransformSSE2()
254 ref0 = _mm_cvtsi32_si128(*(int*)&ref[0 * BPS]); in ITransformSSE2()
255 ref1 = _mm_cvtsi32_si128(*(int*)&ref[1 * BPS]); in ITransformSSE2()
256 ref2 = _mm_cvtsi32_si128(*(int*)&ref[2 * BPS]); in ITransformSSE2()
257 ref3 = _mm_cvtsi32_si128(*(int*)&ref[3 * BPS]); in ITransformSSE2()
277 _mm_storel_epi64((__m128i*)&dst[0 * BPS], ref0); in ITransformSSE2()
278 _mm_storel_epi64((__m128i*)&dst[1 * BPS], ref1); in ITransformSSE2()
[all …]
Diterator.c95 ydst += BPS; in VP8IteratorImport()
99 memcpy(ydst, ydst - BPS, 16); in VP8IteratorImport()
100 ydst += BPS; in VP8IteratorImport()
112 udst += BPS; in VP8IteratorImport()
113 vdst += BPS; in VP8IteratorImport()
118 memcpy(udst, udst - BPS, 8); in VP8IteratorImport()
119 memcpy(vdst, vdst - BPS, 8); in VP8IteratorImport()
120 udst += BPS; in VP8IteratorImport()
121 vdst += BPS; in VP8IteratorImport()
148 memcpy(ydst + i * pic->y_stride, ysrc + i * BPS, w); in VP8IteratorExport()
[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
Ddsp.c94 dst[(x) + (y) * BPS] = clip_8b(ref[(x) + (y) * BPS] + ((v) >> 3))
144 for (i = 0; i < 4; ++i, src += BPS, ref += BPS) { in FTransform()
232 #define OUT(x, y) dst[(x) + (y) * BPS]
237 memset(dst + j * BPS, value, size); in Fill()
244 for (j = 0; j < size; ++j) memcpy(dst + j * BPS, top, size); in VerticalPred()
254 memset(dst + j * BPS, left[j], size); in HorizontalPred()
273 dst += BPS; in TrueMotion()
360 memcpy(dst + i * BPS, vals, 4); in VE4()
370 *(uint32_t*)(dst + 0 * BPS) = 0x01010101U * AVG3(X, I, J); in HE4()
371 *(uint32_t*)(dst + 1 * BPS) = 0x01010101U * AVG3(I, J, K); in HE4()
[all …]
Dfilter.c221 VP8EncSimpleHFilter16i(y_dst, BPS, limit); in DoFilter()
222 VP8EncSimpleVFilter16i(y_dst, BPS, limit); in DoFilter()
225 VP8EncHFilter16i(y_dst, BPS, limit, ilevel, hev_thresh); in DoFilter()
226 VP8EncHFilter8i(u_dst, v_dst, BPS, limit, ilevel, hev_thresh); in DoFilter()
227 VP8EncVFilter16i(y_dst, BPS, limit, ilevel, hev_thresh); in DoFilter()
228 VP8EncVFilter8i(u_dst, v_dst, BPS, limit, ilevel, hev_thresh); in DoFilter()
293 Accumulate(yuv1 + Y_OFF, BPS, yuv2 + Y_OFF, BPS, x, y, 16, 16, &s); in GetMBSSIM()
298 Accumulate(yuv1 + U_OFF, BPS, yuv2 + U_OFF, BPS, x, y, 8, 8, &s); in GetMBSSIM()
299 Accumulate(yuv1 + V_OFF, BPS, yuv2 + V_OFF, BPS, x, y, 8, 8, &s); in GetMBSSIM()
Dframe.c492 p += BPS; in SetBlock()
/external/iptables/extensions/
Dlibxt_rateest.man33 BPS/PPS options. If the flow rate is higher than the specified BPS/PPS, 0 will