/external/webp/src/dsp/ |
D | enc_mips32.c | 84 "lbu %[temp16], 0+" XSTR(BPS) "*" #A "(%[temp20]) \n\t" \ 85 "lbu %[temp17], 1+" XSTR(BPS) "*" #A "(%[temp20]) \n\t" \ 86 "lbu %[temp18], 2+" XSTR(BPS) "*" #A "(%[temp20]) \n\t" \ 87 "lbu %[temp19], 3+" XSTR(BPS) "*" #A "(%[temp20]) \n\t" \ 110 "sb %[" #TEMP0 "], 0+" XSTR(BPS) "*" #A "(%[temp16]) \n\t" \ 111 "sb %[" #TEMP4 "], 1+" XSTR(BPS) "*" #A "(%[temp16]) \n\t" \ 112 "sb %[" #TEMP8 "], 2+" XSTR(BPS) "*" #A "(%[temp16]) \n\t" \ 113 "sb %[" #TEMP12 "], 3+" XSTR(BPS) "*" #A "(%[temp16]) \n\t" 258 "lbu %[temp0], 0+" XSTR(BPS) "*" #A "(%[a]) \n\t" \ 259 "lbu %[temp1], 1+" XSTR(BPS) "*" #A "(%[a]) \n\t" \ [all …]
|
D | enc_mips_dsp_r2.c | 82 "lw %[" #TEMP2 "], " XSTR(BPS) "*" #A "(%[" #TEMP0 "]) \n\t" \ 83 "lw %[" #TEMP3 "], " XSTR(BPS) "*" #A "(%[" #TEMP1 "]) \n\t" \ 229 BPS) in ITransformOne() 234 dst, 0, 1, 2, 3, BPS) in ITransformOne() 259 BPS) in Disto4x4_MIPSdspR2() 286 BPS) in Disto4x4_MIPSdspR2() 322 for (y = 0; y < 16 * BPS; y += 4 * BPS) { in Disto16x16_MIPSdspR2() 334 "usw %[value], 0+" #J "*" XSTR(BPS) "(%[dst]) \n\t" \ 335 "usw %[value], 4+" #J "*" XSTR(BPS) "(%[dst]) \n\t" \ 337 "usw %[value], 8+" #J "*" XSTR(BPS) "(%[dst]) \n\t" \ [all …]
|
D | dec.c | 30 dst[(x) + (y) * BPS] = clip_8b(dst[(x) + (y) * BPS] + ((v) >> 3)) 79 dst += BPS; in TransformOne_C() 109 VP8Transform(in + 2 * 16, dst + 4 * BPS, 1); in TransformUV_C() 127 if (in[2 * 16]) VP8TransformDC(in + 2 * 16, dst + 4 * BPS); in TransformDCUV_C() 128 if (in[3 * 16]) VP8TransformDC(in + 3 * 16, dst + 4 * BPS + 4); in TransformDCUV_C() 170 #define DST(x, y) dst[(x) + (y) * BPS] 174 const uint8_t* top = dst - BPS; in TrueMotion() 183 dst += BPS; in TrueMotion() 196 memcpy(dst + j * BPS, dst - BPS, 16); in VE16_C() 204 dst += BPS; in HE16_C() [all …]
|
D | dec_mips32.c | 394 "lbu %[temp1], 0+0*" XSTR(BPS) "(%[dst]) \n\t" in TransformOne() 402 "lbu %[temp18], 1+0*" XSTR(BPS) "(%[dst]) \n\t" in TransformOne() 403 "sb %[temp1], 0+0*" XSTR(BPS) "(%[dst]) \n\t" in TransformOne() 411 "lbu %[temp1], 2+0*" XSTR(BPS) "(%[dst]) \n\t" in TransformOne() 412 "sb %[temp18], 1+0*" XSTR(BPS) "(%[dst]) \n\t" in TransformOne() 420 "lbu %[temp18], 3+0*" XSTR(BPS) "(%[dst]) \n\t" in TransformOne() 421 "sb %[temp1], 2+0*" XSTR(BPS) "(%[dst]) \n\t" in TransformOne() 429 "sb %[temp18], 3+0*" XSTR(BPS) "(%[dst]) \n\t" in TransformOne() 430 "lbu %[temp5], 0+1*" XSTR(BPS) "(%[dst]) \n\t" in TransformOne() 431 "lbu %[temp8], 1+1*" XSTR(BPS) "(%[dst]) \n\t" in TransformOne() [all …]
|
D | enc_sse2.c | 153 ref0 = _mm_loadl_epi64((const __m128i*)&ref[0 * BPS]); in ITransform_SSE2() 154 ref1 = _mm_loadl_epi64((const __m128i*)&ref[1 * BPS]); in ITransform_SSE2() 155 ref2 = _mm_loadl_epi64((const __m128i*)&ref[2 * BPS]); in ITransform_SSE2() 156 ref3 = _mm_loadl_epi64((const __m128i*)&ref[3 * BPS]); in ITransform_SSE2() 159 ref0 = _mm_cvtsi32_si128(WebPMemToUint32(&ref[0 * BPS])); in ITransform_SSE2() 160 ref1 = _mm_cvtsi32_si128(WebPMemToUint32(&ref[1 * BPS])); in ITransform_SSE2() 161 ref2 = _mm_cvtsi32_si128(WebPMemToUint32(&ref[2 * BPS])); in ITransform_SSE2() 162 ref3 = _mm_cvtsi32_si128(WebPMemToUint32(&ref[3 * BPS])); in ITransform_SSE2() 182 _mm_storel_epi64((__m128i*)&dst[0 * BPS], ref0); in ITransform_SSE2() 183 _mm_storel_epi64((__m128i*)&dst[1 * BPS], ref1); in ITransform_SSE2() [all …]
|
D | enc.c | 36 0 + 0 * BPS, 4 + 0 * BPS, 8 + 0 * BPS, 12 + 0 * BPS, 37 0 + 4 * BPS, 4 + 4 * BPS, 8 + 4 * BPS, 12 + 4 * BPS, 38 0 + 8 * BPS, 4 + 8 * BPS, 8 + 8 * BPS, 12 + 8 * BPS, 39 0 + 12 * BPS, 4 + 12 * BPS, 8 + 12 * BPS, 12 + 12 * BPS, 41 0 + 0 * BPS, 4 + 0 * BPS, 0 + 4 * BPS, 4 + 4 * BPS, // U 42 8 + 0 * BPS, 12 + 0 * BPS, 8 + 4 * BPS, 12 + 4 * BPS // V 110 dst[(x) + (y) * BPS] = clip_8b(ref[(x) + (y) * BPS] + ((v) >> 3)) 160 for (i = 0; i < 4; ++i, src += BPS, ref += BPS) { in FTransform_C() 234 memset(dst + j * BPS, value, size); in Fill() 242 for (j = 0; j < size; ++j) memcpy(dst + j * BPS, top, size); in VerticalPred() [all …]
|
D | dec_sse2.c | 155 dst0 = _mm_loadl_epi64((__m128i*)(dst + 0 * BPS)); in Transform_SSE2() 156 dst1 = _mm_loadl_epi64((__m128i*)(dst + 1 * BPS)); in Transform_SSE2() 157 dst2 = _mm_loadl_epi64((__m128i*)(dst + 2 * BPS)); in Transform_SSE2() 158 dst3 = _mm_loadl_epi64((__m128i*)(dst + 3 * BPS)); in Transform_SSE2() 161 dst0 = _mm_cvtsi32_si128(WebPMemToUint32(dst + 0 * BPS)); in Transform_SSE2() 162 dst1 = _mm_cvtsi32_si128(WebPMemToUint32(dst + 1 * BPS)); in Transform_SSE2() 163 dst2 = _mm_cvtsi32_si128(WebPMemToUint32(dst + 2 * BPS)); in Transform_SSE2() 164 dst3 = _mm_cvtsi32_si128(WebPMemToUint32(dst + 3 * BPS)); in Transform_SSE2() 184 _mm_storel_epi64((__m128i*)(dst + 0 * BPS), dst0); in Transform_SSE2() 185 _mm_storel_epi64((__m128i*)(dst + 1 * BPS), dst1); in Transform_SSE2() [all …]
|
D | dec_msa.c | 58 LD_SB4(dst, BPS, dest0, dest1, dest2, dest3); in TransformOne() 67 ST4x4_UB(res0, res0, 3, 2, 1, 0, dst, BPS); in TransformOne() 122 ADDBLK_ST4x4_UB(tmp0, tmp0, tmp0, tmp0, dst, BPS); in TransformDC() 144 LD_UB4(dst, BPS, dest0, dest1, dest2, dest3); in TransformAC3() 153 ST4x4_UB(res0, res0, 3, 2, 1, 0, dst, BPS); in TransformAC3() 683 for (i = 0; i < 4; ++i) dc += dst[i - BPS] + dst[-1 + i * BPS]; in DC4() 686 SW4(dc, dc, dc, dc, dst, BPS); in DC4() 690 const uint8_t* const ptemp = dst - BPS - 1; in TM4() 693 const v8i16 TL = (v8i16)__msa_fill_h(ptemp[0 * BPS]); in TM4() 694 const v8i16 L0 = (v8i16)__msa_fill_h(ptemp[1 * BPS]); in TM4() [all …]
|
D | dec_neon.c | 393 vst1_lane_u32((uint32_t*)(dst + 0 * BPS), vreinterpret_u32_u8(dst01_u8), 0); in SaturateAndStore4x4_NEON() 394 vst1_lane_u32((uint32_t*)(dst + 1 * BPS), vreinterpret_u32_u8(dst01_u8), 1); in SaturateAndStore4x4_NEON() 395 vst1_lane_u32((uint32_t*)(dst + 2 * BPS), vreinterpret_u32_u8(dst23_u8), 0); in SaturateAndStore4x4_NEON() 396 vst1_lane_u32((uint32_t*)(dst + 3 * BPS), vreinterpret_u32_u8(dst23_u8), 1); in SaturateAndStore4x4_NEON() 406 dst01 = vld1_lane_u32((uint32_t*)(dst + 0 * BPS), dst01, 0); in Add4x4_NEON() 407 dst23 = vld1_lane_u32((uint32_t*)(dst + 2 * BPS), dst23, 0); in Add4x4_NEON() 408 dst01 = vld1_lane_u32((uint32_t*)(dst + 1 * BPS), dst01, 1); in Add4x4_NEON() 409 dst23 = vld1_lane_u32((uint32_t*)(dst + 3 * BPS), dst23, 1); in Add4x4_NEON() 1054 const int kBPS = BPS; in TransformOne_NEON() 1283 const uint8x8_t A = vld1_u8(dst - BPS); // top row in DC4_NEON() [all …]
|
D | enc_neon.c | 54 vst1_lane_u32((uint32_t*)(dst + 0 * BPS), vreinterpret_u32_u8(dst01_u8), 0); in SaturateAndStore4x4_NEON() 55 vst1_lane_u32((uint32_t*)(dst + 1 * BPS), vreinterpret_u32_u8(dst01_u8), 1); in SaturateAndStore4x4_NEON() 56 vst1_lane_u32((uint32_t*)(dst + 2 * BPS), vreinterpret_u32_u8(dst23_u8), 0); in SaturateAndStore4x4_NEON() 57 vst1_lane_u32((uint32_t*)(dst + 3 * BPS), vreinterpret_u32_u8(dst23_u8), 1); in SaturateAndStore4x4_NEON() 68 dst01 = vld1_lane_u32((uint32_t*)(ref + 0 * BPS), dst01, 0); in Add4x4_NEON() 69 dst23 = vld1_lane_u32((uint32_t*)(ref + 2 * BPS), dst23, 0); in Add4x4_NEON() 70 dst01 = vld1_lane_u32((uint32_t*)(ref + 1 * BPS), dst01, 1); in Add4x4_NEON() 71 dst23 = vld1_lane_u32((uint32_t*)(ref + 3 * BPS), dst23, 1); in Add4x4_NEON() 135 const int kBPS = BPS; in ITransformOne_NEON() 260 out = vld1q_lane_u32((const uint32_t*)(src + 0 * BPS), out, 0); in Load4x4_NEON() [all …]
|
D | enc_msa.c | 60 LD_SB4(ref, BPS, dest0, dest1, dest2, dest3); in ITransformOne() 69 ST4x4_UB(res0, res0, 3, 2, 1, 0, dst, BPS); in ITransformOne() 94 LW4(src, BPS, in0, in1, in2, in3); in FTransform_MSA() 96 LW4(ref, BPS, in0, in1, in2, in3); in FTransform_MSA() 183 LW4(in, BPS, in0_m, in1_m, in2_m, in3_m); in TTransform_MSA() 214 for (y = 0; y < 16 * BPS; y += 4 * BPS) { in Disto16x16_MSA() 258 #define DST(x, y) dst[(x) + (y) * BPS] 272 SW4(out, out, out, out, dst, BPS); in VE4() 281 WebPUint32ToMem(dst + 0 * BPS, 0x01010101U * AVG3(X, I, J)); in HE4() 282 WebPUint32ToMem(dst + 1 * BPS, 0x01010101U * AVG3(I, J, K)); in HE4() [all …]
|
D | dec_mips_dsp_r2.c | 33 BPS) in TransformDC() 42 dst, 0, 1, 2, 3, BPS) in TransformDC() 70 BPS) in TransformAC3() 77 temp7, temp6, dst, 0, 1, 2, 3, BPS) in TransformAC3() 140 BPS) in TransformOne() 145 dst, 0, 1, 2, 3, BPS) in TransformOne() 551 "lbu %[" #TEMP0 "], " #A "+" #A1 "*" XSTR(BPS) "(%[" #SRC "]) \n\t" \ 552 "lbu %[" #TEMP1 "], " #B "+" #B1 "*" XSTR(BPS) "(%[" #SRC "]) \n\t" \ 553 "lbu %[" #TEMP2 "], " #C "+" #C1 "*" XSTR(BPS) "(%[" #SRC "]) \n\t" \ 554 "lbu %[" #TEMP3 "], " #D "+" #D1 "*" XSTR(BPS) "(%[" #SRC "]) \n\t" \ [all …]
|
D | enc_sse41.c | 80 const __m128i inA_0 = _mm_loadu_si128((const __m128i*)&inA[BPS * 0]); in TTransform_SSE41() 81 const __m128i inA_1 = _mm_loadu_si128((const __m128i*)&inA[BPS * 1]); in TTransform_SSE41() 82 const __m128i inA_2 = _mm_loadu_si128((const __m128i*)&inA[BPS * 2]); in TTransform_SSE41() 87 const __m128i inA_3 = _mm_loadl_epi64((const __m128i*)&inA[BPS * 3]); in TTransform_SSE41() 88 const __m128i inB_0 = _mm_loadu_si128((const __m128i*)&inB[BPS * 0]); in TTransform_SSE41() 89 const __m128i inB_1 = _mm_loadu_si128((const __m128i*)&inB[BPS * 1]); in TTransform_SSE41() 90 const __m128i inB_2 = _mm_loadu_si128((const __m128i*)&inB[BPS * 2]); in TTransform_SSE41() 91 const __m128i inB_3 = _mm_loadl_epi64((const __m128i*)&inB[BPS * 3]); in TTransform_SSE41() 181 for (y = 0; y < 16 * BPS; y += 4 * BPS) { in Disto16x16_SSE41()
|
D | dec_sse41.c | 29 dst += BPS; in HE16_SSE41()
|
/external/webp/src/dec/ |
D | frame_dec.c | 22 0 + 0 * BPS, 4 + 0 * BPS, 8 + 0 * BPS, 12 + 0 * BPS, 23 0 + 4 * BPS, 4 + 4 * BPS, 8 + 4 * BPS, 12 + 4 * BPS, 24 0 + 8 * BPS, 4 + 8 * BPS, 8 + 8 * BPS, 12 + 8 * BPS, 25 0 + 12 * BPS, 4 + 12 * BPS, 8 + 12 * BPS, 12 + 12 * BPS 83 y_dst[j * BPS - 1] = 129; in ReconstructRow() 86 u_dst[j * BPS - 1] = 129; in ReconstructRow() 87 v_dst[j * BPS - 1] = 129; in ReconstructRow() 92 y_dst[-1 - BPS] = u_dst[-1 - BPS] = v_dst[-1 - BPS] = 129; in ReconstructRow() 96 memset(y_dst - BPS - 1, 127, 16 + 4 + 1); in ReconstructRow() 97 memset(u_dst - BPS - 1, 127, 8 + 1); in ReconstructRow() [all …]
|
D | vp8i_dec.h | 59 #define YUV_SIZE (BPS * 17 + BPS * 9) 60 #define Y_OFF (BPS * 1 + 8) 61 #define U_OFF (Y_OFF + BPS * 16 + BPS)
|
/external/webp/src/enc/ |
D | filter_enc.c | 98 VP8SimpleHFilter16i(y_dst, BPS, limit); in DoFilter() 99 VP8SimpleVFilter16i(y_dst, BPS, limit); in DoFilter() 102 VP8HFilter16i(y_dst, BPS, limit, ilevel, hev_thresh); in DoFilter() 103 VP8HFilter8i(u_dst, v_dst, BPS, limit, ilevel, hev_thresh); in DoFilter() 104 VP8VFilter16i(y_dst, BPS, limit, ilevel, hev_thresh); in DoFilter() 105 VP8VFilter8i(u_dst, v_dst, BPS, limit, ilevel, hev_thresh); in DoFilter() 119 sum += VP8SSIMGetClipped(yuv1 + Y_OFF_ENC, BPS, yuv2 + Y_OFF_ENC, BPS, in GetMBSSIM() 125 sum += VP8SSIMGetClipped(yuv1 + U_OFF_ENC, BPS, yuv2 + U_OFF_ENC, BPS, in GetMBSSIM() 127 sum += VP8SSIMGetClipped(yuv1 + V_OFF_ENC, BPS, yuv2 + V_OFF_ENC, BPS, in GetMBSSIM()
|
D | vp8i_enc.h | 72 #define YUV_SIZE_ENC (BPS * 16) 73 #define PRED_SIZE_ENC (32 * BPS + 16 * BPS + 8 * BPS) // I16+Chroma+I4 preds 85 #define I16DC16 (0 * 16 * BPS) 87 #define I16VE16 (1 * 16 * BPS) 90 #define C8DC8 (2 * 16 * BPS) 92 #define C8VE8 (2 * 16 * BPS + 8 * BPS) 95 #define I4DC4 (3 * 16 * BPS + 0) 103 #define I4HD4 (3 * 16 * BPS + 4 * BPS)
|
D | quant_enc.c | 64 for (i = 0; i < 16; ++i) printf("%3d ", y_in[i + j * BPS]); in PrintBlockInfo() 66 for (i = 0; i < 16; ++i) printf("%3d ", y_out[i + j * BPS]); in PrintBlockInfo() 69 printf("%1d ", abs(y_in[i + j * BPS] - y_out[i + j * BPS])); in PrintBlockInfo() 75 for (i = 0; i < 8; ++i) printf("%3d ", uv_in[i + j * BPS]); in PrintBlockInfo() 77 for (i = 8; i < 16; ++i) printf("%3d ", uv_in[i + j * BPS]); in PrintBlockInfo() 79 for (i = 0; i < 8; ++i) printf("%3d ", uv_out[i + j * BPS]); in PrintBlockInfo() 81 for (i = 8; i < 16; ++i) printf("%3d ", uv_out[i + j * BPS]); in PrintBlockInfo() 84 printf("%1d ", abs(uv_out[i + j * BPS] - uv_in[i + j * BPS])); in PrintBlockInfo() 88 printf("%1d ", abs(uv_out[i + j * BPS] - uv_in[i + j * BPS])); in PrintBlockInfo() 497 0 + 0 * BPS, 4 + 0 * BPS, 8 + 0 * BPS, 12 + 0 * BPS, [all …]
|
D | iterator_enc.c | 115 dst += BPS; in ImportBlock() 119 memcpy(dst, dst - BPS, size); in ImportBlock() 120 dst += BPS; in ImportBlock() 184 src += BPS; in ExportBlock() 298 it->y_left_[i] = ysrc[15 + i * BPS]; in VP8IteratorSaveBoundary() 301 it->u_left_[i] = uvsrc[7 + i * BPS]; in VP8IteratorSaveBoundary() 302 it->v_left_[i] = uvsrc[15 + i * BPS]; in VP8IteratorSaveBoundary() 310 memcpy(it->y_top_, ysrc + 15 * BPS, 16); in VP8IteratorSaveBoundary() 311 memcpy(it->uv_top_, uvsrc + 7 * BPS, 8 + 8); in VP8IteratorSaveBoundary() 438 top[-4 + i] = blk[i + 3 * BPS]; // store future top samples in VP8IteratorRotateI4() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | FlattenCFG.cpp | 211 BranchInst *BPS = dyn_cast<BranchInst>(PS->getTerminator()); in FlattenParallelAndOr() local 212 if (BPS && BPS->isUnconditional()) { in FlattenParallelAndOr()
|
D | Local.cpp | 1748 std::map<Value *, Optional<BitPart>> &BPS) { in collectBitParts() argument 1749 auto I = BPS.find(V); in collectBitParts() 1750 if (I != BPS.end()) in collectBitParts() 1753 auto &Result = BPS[V] = None; in collectBitParts() 1760 MatchBitReversals, BPS); in collectBitParts() 1762 MatchBitReversals, BPS); in collectBitParts() 1795 MatchBitReversals, BPS); in collectBitParts() 1827 MatchBitReversals, BPS); in collectBitParts() 1842 MatchBitReversals, BPS); in collectBitParts() 1905 std::map<Value *, Optional<BitPart>> BPS; in recognizeBSwapOrBitReverseIdiom() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | FlattenCFG.cpp | 224 BranchInst *BPS = dyn_cast<BranchInst>(PS->getTerminator()); in FlattenParallelAndOr() local 225 if (BPS && BPS->isUnconditional()) { in FlattenParallelAndOr()
|
D | Local.cpp | 2503 std::map<Value *, Optional<BitPart>> &BPS) { in collectBitParts() argument 2504 auto I = BPS.find(V); in collectBitParts() 2505 if (I != BPS.end()) in collectBitParts() 2508 auto &Result = BPS[V] = None; in collectBitParts() 2515 MatchBitReversals, BPS); in collectBitParts() 2517 MatchBitReversals, BPS); in collectBitParts() 2550 MatchBitReversals, BPS); in collectBitParts() 2582 MatchBitReversals, BPS); in collectBitParts() 2597 MatchBitReversals, BPS); in collectBitParts() 2658 std::map<Value *, Optional<BitPart>> BPS; in recognizeBSwapOrBitReverseIdiom() local [all …]
|
/external/iptables/extensions/ |
D | libxt_rateest.man | 33 BPS/PPS options. If the flow rate is higher than the specified BPS/PPS, 0 will
|