Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/libwebp/src/dsp/
Denc_mips32.c84 "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 …]
Denc_mips_dsp_r2.c82 "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 …]
Ddec.c30 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 …]
Ddec_mips32.c394 "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 …]
Denc_sse2.c153 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 …]
Denc.c36 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 …]
Ddec_sse2.c155 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 …]
Ddec_msa.c58 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 …]
Ddec_neon.c393 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 …]
Denc_neon.c54 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 …]
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Denc_mips32.c84 "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 …]
Denc_mips_dsp_r2.c82 "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 …]
Ddec.c30 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 …]
Ddec_mips32.c394 "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 …]
Denc_sse2.c153 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 …]
Denc.c36 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 …]
Ddec_sse2.c155 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 …]
Ddec_msa.c58 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 …]
Ddec_neon.c393 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 …]
Denc_neon.c54 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 …]
/third_party/skia/third_party/externals/libwebp/src/dec/
Dframe_dec.c22 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 …]
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Dframe_dec.c22 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 …]
/third_party/skia/third_party/externals/libwebp/src/enc/
Dfilter_enc.c98 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()
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dfilter_enc.c98 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()
Dvp8i_enc.h72 #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)

123