/cts/suite/audio_quality/lib/include/audio/ |
AudioSignalFactory.h | 30 static android::sp<Buffer> generateSineWave(AudioHardware::BytesPerSample BPS, 33 static android::sp<Buffer> generateWhiteNoise(AudioHardware::BytesPerSample BPS, 35 static android::sp<Buffer> generateZeroSound(AudioHardware::BytesPerSample BPS,
|
/external/webp/src/enc/ |
vp8enci.h | 122 #define BPS 16 // this is the common stride 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...] |
filter.c | 96 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, x, y, 8, 8, &s) [all...] |
quant.c | 60 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, 8 + 4 * BPS, 12 + 4 * BPS [all...] |
iterator.c | 111 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]; // store future top sample [all...] |
frame.c | 461 p += BPS;
|
/external/webp/src/dsp/ |
dec.c | 27 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, dst - BPS, 16) [all...] |
enc.c | 34 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 [all...] |
enc_sse2.c | 280 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], ref1) [all...] |
enc_neon.c | 54 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), out, 0) [all...] |
dec_sse2.c | 204 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), dst1) [all...] |
dec_neon.c | 407 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); [all...] |
enc_mips32.c | 398 for (y = 0; y < 16 * BPS; y += 4 * BPS) { [all...] |
/cts/suite/audio_quality/lib/src/audio/ |
AudioSignalFactory.cpp | 23 android::sp<Buffer> AudioSignalFactory::generateSineWave(AudioHardware::BytesPerSample BPS, 27 int bufferSize = samples * (stereo? 2 : 1) * BPS; 30 ASSERT(BPS == AudioHardware::E2BPS); 45 android::sp<Buffer> AudioSignalFactory::generateWhiteNoise(AudioHardware::BytesPerSample BPS, 48 int bufferSize = samples * (stereo? 2 : 1) * BPS; 51 ASSERT(BPS == AudioHardware::E2BPS); 70 android::sp<Buffer> AudioSignalFactory::generateZeroSound(AudioHardware::BytesPerSample BPS, 73 int bufferSize = samples * (stereo? 2 : 1) * BPS; 76 ASSERT(BPS == AudioHardware::E2BPS);
|
/external/webp/src/dec/ |
frame.c | 199 static void Dither8x8(VP8Random* const rg, uint8_t* dst, int bps, int amp) { 211 dst += bps; 659 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, [all...] |
vp8i.h | 94 // With this layout, BPS (=Bytes Per Scan-line) is one cacheline size. 95 #define BPS 32 // this is the common stride used by yuv[] 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/ |
FlattenCFG.cpp | 212 BranchInst *BPS = dyn_cast<BranchInst>(PS->getTerminator()); 213 if (BPS && BPS->isUnconditional()) {
|
/external/llvm/lib/Target/PowerPC/ |
PPCISelDAGToDAG.cpp | [all...] |