Home
last modified time | relevance | path

Searched refs:kSgrMaLookup (Results 1 – 7 of 7) sorted by relevance

/external/libgav1/libgav1/src/dsp/
Dloop_restoration.h52 extern const uint8_t kSgrMaLookup[256];
Dloop_restoration.cc40 alignas(16) const uint8_t kSgrMaLookup[256] = { variable
335 const uint32_t ma = kSgrMaLookup[std::min(z, 255u)]; in CalculateIntermediate()
/external/libgav1/libgav1/src/dsp/x86/
Dloop_restoration_10bit_sse4.cc1079 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[0]], offset + 0); in LookupIntermediate()
1080 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[1]], offset + 1); in LookupIntermediate()
1081 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[2]], offset + 2); in LookupIntermediate()
1082 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[3]], offset + 3); in LookupIntermediate()
1083 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[4]], offset + 4); in LookupIntermediate()
1084 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[5]], offset + 5); in LookupIntermediate()
1085 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[6]], offset + 6); in LookupIntermediate()
1086 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[7]], offset + 7); in LookupIntermediate()
1132 const __m128i c0 = LoadAligned16(kSgrMaLookup + 0 * 16); in CalculateIntermediate()
1133 const __m128i c1 = LoadAligned16(kSgrMaLookup + 1 * 16); in CalculateIntermediate()
[all …]
Dloop_restoration_sse4.cc1222 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[0]], offset + 0); in LookupIntermediate()
1223 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[1]], offset + 1); in LookupIntermediate()
1224 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[2]], offset + 2); in LookupIntermediate()
1225 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[3]], offset + 3); in LookupIntermediate()
1226 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[4]], offset + 4); in LookupIntermediate()
1227 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[5]], offset + 5); in LookupIntermediate()
1228 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[6]], offset + 6); in LookupIntermediate()
1229 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[7]], offset + 7); in LookupIntermediate()
1271 const __m128i c0 = LoadAligned16(kSgrMaLookup + 0 * 16); in CalculateIntermediate()
1272 const __m128i c1 = LoadAligned16(kSgrMaLookup + 1 * 16); in CalculateIntermediate()
[all …]
Dloop_restoration_10bit_avx2.cc1454 *ma = _mm_cvtsi32_si128(kSgrMaLookup[temp[0]]); in LookupIntermediate()
1455 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[1]], 1); in LookupIntermediate()
1456 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[2]], 2); in LookupIntermediate()
1457 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[3]], 3); in LookupIntermediate()
1458 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[4]], 4); in LookupIntermediate()
1459 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[5]], 5); in LookupIntermediate()
1460 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[6]], 6); in LookupIntermediate()
1461 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[7]], 7); in LookupIntermediate()
1525 const __m128i c0 = LoadAligned16(kSgrMaLookup + 0 * 16); in CalculateIntermediate()
1526 const __m128i c1 = LoadAligned16(kSgrMaLookup + 1 * 16); in CalculateIntermediate()
[all …]
Dloop_restoration_avx2.cc1532 *ma = _mm_cvtsi32_si128(kSgrMaLookup[temp[0]]); in LookupIntermediate()
1533 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[1]], 1); in LookupIntermediate()
1534 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[2]], 2); in LookupIntermediate()
1535 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[3]], 3); in LookupIntermediate()
1536 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[4]], 4); in LookupIntermediate()
1537 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[5]], 5); in LookupIntermediate()
1538 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[6]], 6); in LookupIntermediate()
1539 *ma = _mm_insert_epi8(*ma, kSgrMaLookup[temp[7]], 7); in LookupIntermediate()
/external/libgav1/libgav1/src/dsp/arm/
Dloop_restoration_neon.cc1021 table0.val[0] = vld1_u8(kSgrMaLookup + 0 * 8); in CalculateIntermediate()
1022 table0.val[1] = vld1_u8(kSgrMaLookup + 1 * 8); in CalculateIntermediate()
1023 table0.val[2] = vld1_u8(kSgrMaLookup + 2 * 8); in CalculateIntermediate()
1024 table0.val[3] = vld1_u8(kSgrMaLookup + 3 * 8); in CalculateIntermediate()
1025 table1.val[0] = vld1_u8(kSgrMaLookup + 4 * 8); in CalculateIntermediate()
1026 table1.val[1] = vld1_u8(kSgrMaLookup + 5 * 8); in CalculateIntermediate()