Searched refs:BPS (Results 1 - 25 of 29) sorted by relevance

12

/external/chromium_org/third_party/libwebp/enc/
H A 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)
[all...]
H A Dfilter.c96 VP8SimpleHFilter16i(y_dst, BPS, limit);
97 VP8SimpleVFilter16i(y_dst, BPS, limit);
100 VP8HFilter16i(y_dst, BPS, limit, ilevel, hev_thresh);
101 VP8HFilter8i(u_dst, v_dst, BPS, limit, ilevel, hev_thresh);
102 VP8VFilter16i(y_dst, BPS, limit, ilevel, hev_thresh);
103 VP8VFilter8i(u_dst, v_dst, BPS, limit, ilevel, hev_thresh);
198 VP8SSIMAccumulate(yuv1 + Y_OFF, BPS, yuv2 + Y_OFF, BPS, x, y, 16, 16, &s);
203 VP8SSIMAccumulate(yuv1 + U_OFF, BPS, yuv2 + U_OFF, BPS,
[all...]
H A Dquant.c60 for (i = 0; i < 16; ++i) printf("%3d ", it->yuv_in_[i + j * BPS]);
62 for (i = 0; i < 16; ++i) printf("%3d ", it->yuv_out_[i + j * BPS]);
65 printf("%1d ", abs(it->yuv_out_[i + j * BPS] - it->yuv_in_[i + j * BPS]));
458 0 + 0 * BPS, 4 + 0 * BPS, 8 + 0 * BPS, 12 + 0 * BPS,
459 0 + 4 * BPS, 4 + 4 * BPS,
[all...]
H A Diterator.c111 dst += BPS;
115 memcpy(dst, dst - BPS, size);
116 dst += BPS;
180 src += BPS;
294 it->y_left_[i] = ysrc[15 + i * BPS];
297 it->u_left_[i] = uvsrc[7 + i * BPS];
298 it->v_left_[i] = uvsrc[15 + i * BPS];
306 memcpy(it->y_top_, ysrc + 15 * BPS, 16);
307 memcpy(it->uv_top_, uvsrc + 7 * BPS, 8 + 8);
434 top[-4 + i] = blk[i + 3 * BPS]; // stor
[all...]
/external/webp/src/enc/
H A 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)
[all...]
H A Dfilter.c96 VP8SimpleHFilter16i(y_dst, BPS, limit);
97 VP8SimpleVFilter16i(y_dst, BPS, limit);
100 VP8HFilter16i(y_dst, BPS, limit, ilevel, hev_thresh);
101 VP8HFilter8i(u_dst, v_dst, BPS, limit, ilevel, hev_thresh);
102 VP8VFilter16i(y_dst, BPS, limit, ilevel, hev_thresh);
103 VP8VFilter8i(u_dst, v_dst, BPS, limit, ilevel, hev_thresh);
198 VP8SSIMAccumulate(yuv1 + Y_OFF, BPS, yuv2 + Y_OFF, BPS, x, y, 16, 16, &s);
203 VP8SSIMAccumulate(yuv1 + U_OFF, BPS, yuv2 + U_OFF, BPS,
[all...]
H A Dquant.c60 for (i = 0; i < 16; ++i) printf("%3d ", it->yuv_in_[i + j * BPS]);
62 for (i = 0; i < 16; ++i) printf("%3d ", it->yuv_out_[i + j * BPS]);
65 printf("%1d ", abs(it->yuv_out_[i + j * BPS] - it->yuv_in_[i + j * BPS]));
458 0 + 0 * BPS, 4 + 0 * BPS, 8 + 0 * BPS, 12 + 0 * BPS,
459 0 + 4 * BPS, 4 + 4 * BPS,
[all...]
H A Diterator.c111 dst += BPS;
115 memcpy(dst, dst - BPS, size);
116 dst += BPS;
180 src += BPS;
294 it->y_left_[i] = ysrc[15 + i * BPS];
297 it->u_left_[i] = uvsrc[7 + i * BPS];
298 it->v_left_[i] = uvsrc[15 + i * BPS];
306 memcpy(it->y_top_, ysrc + 15 * BPS, 16);
307 memcpy(it->uv_top_, uvsrc + 7 * BPS, 8 + 8);
434 top[-4 + i] = blk[i + 3 * BPS]; // stor
[all...]
/external/chromium_org/third_party/libwebp/dsp/
H A Ddec.c27 dst[x + y * BPS] = clip_8b(dst[x + y * BPS] + ((v) >> 3))
76 dst += BPS;
104 VP8Transform(in + 2 * 16, dst + 4 * BPS, 1);
120 if (in[2 * 16]) VP8TransformDC(in + 2 * 16, dst + 4 * BPS);
121 if (in[3 * 16]) VP8TransformDC(in + 3 * 16, dst + 4 * BPS + 4);
161 #define DST(x, y) dst[(x) + (y) * BPS]
164 const uint8_t* top = dst - BPS;
173 dst += BPS;
186 memcpy(dst + j * BPS, ds
[all...]
H A 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,
[all...]
H A Denc_sse2.c280 ref0 = _mm_loadl_epi64((__m128i*)&ref[0 * BPS]);
281 ref1 = _mm_loadl_epi64((__m128i*)&ref[1 * BPS]);
282 ref2 = _mm_loadl_epi64((__m128i*)&ref[2 * BPS]);
283 ref3 = _mm_loadl_epi64((__m128i*)&ref[3 * BPS]);
286 ref0 = _mm_cvtsi32_si128(*(int*)&ref[0 * BPS]);
287 ref1 = _mm_cvtsi32_si128(*(int*)&ref[1 * BPS]);
288 ref2 = _mm_cvtsi32_si128(*(int*)&ref[2 * BPS]);
289 ref3 = _mm_cvtsi32_si128(*(int*)&ref[3 * BPS]);
309 _mm_storel_epi64((__m128i*)&dst[0 * BPS], ref0);
310 _mm_storel_epi64((__m128i*)&dst[1 * BPS], ref
[all...]
H A Denc_neon.c54 vst1_lane_u32((uint32_t*)(dst + 0 * BPS), vreinterpret_u32_u8(dst01_u8), 0);
55 vst1_lane_u32((uint32_t*)(dst + 1 * BPS), vreinterpret_u32_u8(dst01_u8), 1);
56 vst1_lane_u32((uint32_t*)(dst + 2 * BPS), vreinterpret_u32_u8(dst23_u8), 0);
57 vst1_lane_u32((uint32_t*)(dst + 3 * BPS), vreinterpret_u32_u8(dst23_u8), 1);
66 dst01 = vld1_lane_u32((uint32_t*)(ref + 0 * BPS), dst01, 0);
67 dst23 = vld1_lane_u32((uint32_t*)(ref + 2 * BPS), dst23, 0);
68 dst01 = vld1_lane_u32((uint32_t*)(ref + 1 * BPS), dst01, 1);
69 dst23 = vld1_lane_u32((uint32_t*)(ref + 3 * BPS), dst23, 1);
132 const int kBPS = BPS;
257 out = vld1q_lane_u32((const uint32_t*)(src + 0 * BPS), ou
[all...]
H A Ddec_sse2.c204 dst0 = _mm_loadl_epi64((__m128i*)(dst + 0 * BPS));
205 dst1 = _mm_loadl_epi64((__m128i*)(dst + 1 * BPS));
206 dst2 = _mm_loadl_epi64((__m128i*)(dst + 2 * BPS));
207 dst3 = _mm_loadl_epi64((__m128i*)(dst + 3 * BPS));
210 dst0 = _mm_cvtsi32_si128(*(int*)(dst + 0 * BPS));
211 dst1 = _mm_cvtsi32_si128(*(int*)(dst + 1 * BPS));
212 dst2 = _mm_cvtsi32_si128(*(int*)(dst + 2 * BPS));
213 dst3 = _mm_cvtsi32_si128(*(int*)(dst + 3 * BPS));
233 _mm_storel_epi64((__m128i*)(dst + 0 * BPS), dst0);
234 _mm_storel_epi64((__m128i*)(dst + 1 * BPS), dst
[all...]
H A Ddec_neon.c407 vst1_lane_u32((uint32_t*)(dst + 0 * BPS), vreinterpret_u32_u8(dst01_u8), 0);
408 vst1_lane_u32((uint32_t*)(dst + 1 * BPS), vreinterpret_u32_u8(dst01_u8), 1);
409 vst1_lane_u32((uint32_t*)(dst + 2 * BPS), vreinterpret_u32_u8(dst23_u8), 0);
410 vst1_lane_u32((uint32_t*)(dst + 3 * BPS), vreinterpret_u32_u8(dst23_u8), 1);
419 dst01 = vld1_lane_u32((uint32_t*)(dst + 0 * BPS), dst01, 0);
420 dst23 = vld1_lane_u32((uint32_t*)(dst + 2 * BPS), dst23, 0);
421 dst01 = vld1_lane_u32((uint32_t*)(dst + 1 * BPS), dst01, 1);
422 dst23 = vld1_lane_u32((uint32_t*)(dst + 3 * BPS), dst23, 1);
1036 const int kBPS = BPS;
/external/webp/src/dsp/
H A Ddec.c27 dst[x + y * BPS] = clip_8b(dst[x + y * BPS] + ((v) >> 3))
76 dst += BPS;
104 VP8Transform(in + 2 * 16, dst + 4 * BPS, 1);
120 if (in[2 * 16]) VP8TransformDC(in + 2 * 16, dst + 4 * BPS);
121 if (in[3 * 16]) VP8TransformDC(in + 3 * 16, dst + 4 * BPS + 4);
161 #define DST(x, y) dst[(x) + (y) * BPS]
164 const uint8_t* top = dst - BPS;
173 dst += BPS;
186 memcpy(dst + j * BPS, ds
[all...]
H A 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,
[all...]
H A Denc_sse2.c280 ref0 = _mm_loadl_epi64((__m128i*)&ref[0 * BPS]);
281 ref1 = _mm_loadl_epi64((__m128i*)&ref[1 * BPS]);
282 ref2 = _mm_loadl_epi64((__m128i*)&ref[2 * BPS]);
283 ref3 = _mm_loadl_epi64((__m128i*)&ref[3 * BPS]);
286 ref0 = _mm_cvtsi32_si128(*(int*)&ref[0 * BPS]);
287 ref1 = _mm_cvtsi32_si128(*(int*)&ref[1 * BPS]);
288 ref2 = _mm_cvtsi32_si128(*(int*)&ref[2 * BPS]);
289 ref3 = _mm_cvtsi32_si128(*(int*)&ref[3 * BPS]);
309 _mm_storel_epi64((__m128i*)&dst[0 * BPS], ref0);
310 _mm_storel_epi64((__m128i*)&dst[1 * BPS], ref
[all...]
H A Denc_neon.c54 vst1_lane_u32((uint32_t*)(dst + 0 * BPS), vreinterpret_u32_u8(dst01_u8), 0);
55 vst1_lane_u32((uint32_t*)(dst + 1 * BPS), vreinterpret_u32_u8(dst01_u8), 1);
56 vst1_lane_u32((uint32_t*)(dst + 2 * BPS), vreinterpret_u32_u8(dst23_u8), 0);
57 vst1_lane_u32((uint32_t*)(dst + 3 * BPS), vreinterpret_u32_u8(dst23_u8), 1);
66 dst01 = vld1_lane_u32((uint32_t*)(ref + 0 * BPS), dst01, 0);
67 dst23 = vld1_lane_u32((uint32_t*)(ref + 2 * BPS), dst23, 0);
68 dst01 = vld1_lane_u32((uint32_t*)(ref + 1 * BPS), dst01, 1);
69 dst23 = vld1_lane_u32((uint32_t*)(ref + 3 * BPS), dst23, 1);
132 const int kBPS = BPS;
257 out = vld1q_lane_u32((const uint32_t*)(src + 0 * BPS), ou
[all...]
H A Ddec_sse2.c204 dst0 = _mm_loadl_epi64((__m128i*)(dst + 0 * BPS));
205 dst1 = _mm_loadl_epi64((__m128i*)(dst + 1 * BPS));
206 dst2 = _mm_loadl_epi64((__m128i*)(dst + 2 * BPS));
207 dst3 = _mm_loadl_epi64((__m128i*)(dst + 3 * BPS));
210 dst0 = _mm_cvtsi32_si128(*(int*)(dst + 0 * BPS));
211 dst1 = _mm_cvtsi32_si128(*(int*)(dst + 1 * BPS));
212 dst2 = _mm_cvtsi32_si128(*(int*)(dst + 2 * BPS));
213 dst3 = _mm_cvtsi32_si128(*(int*)(dst + 3 * BPS));
233 _mm_storel_epi64((__m128i*)(dst + 0 * BPS), dst0);
234 _mm_storel_epi64((__m128i*)(dst + 1 * BPS), dst
[all...]
H A Ddec_neon.c407 vst1_lane_u32((uint32_t*)(dst + 0 * BPS), vreinterpret_u32_u8(dst01_u8), 0);
408 vst1_lane_u32((uint32_t*)(dst + 1 * BPS), vreinterpret_u32_u8(dst01_u8), 1);
409 vst1_lane_u32((uint32_t*)(dst + 2 * BPS), vreinterpret_u32_u8(dst23_u8), 0);
410 vst1_lane_u32((uint32_t*)(dst + 3 * BPS), vreinterpret_u32_u8(dst23_u8), 1);
419 dst01 = vld1_lane_u32((uint32_t*)(dst + 0 * BPS), dst01, 0);
420 dst23 = vld1_lane_u32((uint32_t*)(dst + 2 * BPS), dst23, 0);
421 dst01 = vld1_lane_u32((uint32_t*)(dst + 1 * BPS), dst01, 1);
422 dst23 = vld1_lane_u32((uint32_t*)(dst + 3 * BPS), dst23, 1);
1036 const int kBPS = BPS;
/external/chromium_org/third_party/libwebp/dec/
H A 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,
[all...]
H A Dvp8i.h94 // With this layout, BPS (=Bytes Per Scan-line) is one cacheline size.
95 #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/webp/src/dec/
H A 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,
[all...]
H A Dvp8i.h94 // With this layout, BPS (=Bytes Per Scan-line) is one cacheline size.
95 #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/
H A DFlattenCFG.cpp212 BranchInst *BPS = dyn_cast<BranchInst>(PS->getTerminator()); local
213 if (BPS && BPS->isUnconditional()) {

Completed in 246 milliseconds

12