/dports/multimedia/kvazaar/kvazaar-2.1.0/src/strategies/avx2/ |
H A D | dct-avx2.c | 112 int32_t shift_2nd = kvz_g_convert_to_bit[4] + 8; in matrix_dst_4x4_avx2() local 129 int32_t shift_2nd = 12 - (bitdepth - 8); in matrix_idst_4x4_avx2() local 147 int32_t shift_2nd = kvz_g_convert_to_bit[4] + 8; in matrix_dct_4x4_avx2() local 164 int32_t shift_2nd = 12 - (bitdepth - 8); in matrix_idct_4x4_avx2() local 368 int32_t shift_2nd = kvz_g_convert_to_bit[8] + 8; in matrix_dct_8x8_avx2() local 388 matmul_8x8_a_bt (dct, tmpres, output, shift_2nd); in matrix_dct_8x8_avx2() 394 int32_t shift_2nd = 12 - (bitdepth - 8); in matrix_idct_8x8_avx2() local 771 int32_t shift_2nd = 12 - (bitdepth - 8); in matrix_idct_16x16_avx2() local 781 int32_t shift_2nd = kvz_g_convert_to_bit[16] + 8; in matrix_dct_16x16_avx2() local 806 matmul_16x16_a_bt(d_v, tmp, o_v, shift_2nd); in matrix_dct_16x16_avx2() [all …]
|
/dports/graphics/libbpg/libbpg-0.9.8/x265/source/common/ |
H A D | dct.cpp | 445 const int shift_2nd = 8; in dst4_c() local 456 fastForwardDst(coef, dst, shift_2nd); in dst4_c() 462 const int shift_2nd = 8; in dct4_c() local 473 partialButterfly4(coef, dst, shift_2nd, 4); in dct4_c() 479 const int shift_2nd = 9; in dct8_c() local 490 partialButterfly8(coef, dst, shift_2nd, 8); in dct8_c() 496 const int shift_2nd = 10; in dct16_c() local 513 const int shift_2nd = 11; in dct32_c() local 530 const int shift_2nd = 12 - (X265_DEPTH - 8); in idst4_c() local 547 const int shift_2nd = 12 - (X265_DEPTH - 8); in idct4_c() local [all …]
|
H A D | quant.cpp | 536 const int shift_2nd = 12 - (X265_DEPTH - 8) - 3; in invtransformNxN() local 537 const int add_2nd = 1 << (shift_2nd - 1); in invtransformNxN() 539 …al = (((m_resiDctCoeff[0] * (64 >> 6) + add_1st) >> shift_1st) * (64 >> 3) + add_2nd) >> shift_2nd; in invtransformNxN()
|
/dports/multimedia/handbrake/x265_3.5/source/common/ |
H A D | dct.cpp | 445 const int shift_2nd = 8; in dst4_c() local 456 fastForwardDst(coef, dst, shift_2nd); in dst4_c() 462 const int shift_2nd = 8; in dct4_c() local 473 partialButterfly4(coef, dst, shift_2nd, 4); in dct4_c() 479 const int shift_2nd = 9; in dct8_c() local 490 partialButterfly8(coef, dst, shift_2nd, 8); in dct8_c() 496 const int shift_2nd = 10; in dct16_c() local 513 const int shift_2nd = 11; in dct32_c() local 530 const int shift_2nd = 12 - (X265_DEPTH - 8); in idst4_c() local 547 const int shift_2nd = 12 - (X265_DEPTH - 8); in idct4_c() local [all …]
|
H A D | quant.cpp | 592 const int shift_2nd = 12 - (X265_DEPTH - 8) - 3; in invtransformNxN() local 593 const int add_2nd = 1 << (shift_2nd - 1); in invtransformNxN() 595 …al = (((m_resiDctCoeff[0] * (64 >> 6) + add_1st) >> shift_1st) * (64 >> 3) + add_2nd) >> shift_2nd; in invtransformNxN()
|
/dports/multimedia/x265/source/common/ |
H A D | dct.cpp | 445 const int shift_2nd = 8; in dst4_c() local 456 fastForwardDst(coef, dst, shift_2nd); in dst4_c() 462 const int shift_2nd = 8; in dct4_c() local 473 partialButterfly4(coef, dst, shift_2nd, 4); in dct4_c() 479 const int shift_2nd = 9; in dct8_c() local 490 partialButterfly8(coef, dst, shift_2nd, 8); in dct8_c() 496 const int shift_2nd = 10; in dct16_c() local 513 const int shift_2nd = 11; in dct32_c() local 530 const int shift_2nd = 12 - (X265_DEPTH - 8); in idst4_c() local 547 const int shift_2nd = 12 - (X265_DEPTH - 8); in idct4_c() local [all …]
|
H A D | quant.cpp | 592 const int shift_2nd = 12 - (X265_DEPTH - 8) - 3; in invtransformNxN() local 593 const int add_2nd = 1 << (shift_2nd - 1); in invtransformNxN() 595 …al = (((m_resiDctCoeff[0] * (64 >> 6) + add_1st) >> shift_1st) * (64 >> 3) + add_2nd) >> shift_2nd; in invtransformNxN()
|
/dports/multimedia/kvazaar/kvazaar-2.1.0/src/strategies/generic/ |
H A D | dct-generic.c | 584 int32_t shift_2nd = kvz_g_convert_to_bit[ n ] + 8; \ 587 partial_butterfly_ ## n ## _generic(tmp, output, shift_2nd); \ 595 int32_t shift_2nd = 12 - (bitdepth - 8); \ 598 partial_butterfly_inverse_ ## n ## _generic(tmp, output, shift_2nd); \ 615 int32_t shift_2nd = kvz_g_convert_to_bit[4] + 8; in fast_forward_dst_4x4_generic() local 618 fast_forward_dst_4_generic(tmp, output, shift_2nd); in fast_forward_dst_4x4_generic() 625 int32_t shift_2nd = 12 - (bitdepth - 8); in fast_inverse_dst_4x4_generic() local 628 fast_inverse_dst_4_generic(tmp, output, shift_2nd); in fast_inverse_dst_4x4_generic()
|
/dports/graphics/libbpg/libbpg-0.9.8/jctvc/TLibCommon/ |
H A D | TComTrQuant.cpp | 268 const Int shift_2nd = uiLog2TrSize + TRANSFORM_MATRIX_SHIFT; in xTr() local 270 const Int add_2nd = 1<<(shift_2nd-1); in xTr() 297 coeff[i*uiTrSize+j] = (iSum + add_2nd)>>shift_2nd; in xTr() 343 assert(shift_2nd>=0); in xITr() 345 const Int add_2nd = (shift_2nd>0) ? (1<<(shift_2nd-1)) : 0; in xITr() 844 assert(shift_2nd >= 0); in xTrMxN() 873 fastForwardDst( tmp, coeff, shift_2nd ); in xTrMxN() 875 else partialButterfly4 ( tmp, coeff, shift_2nd, iWidth ); in xTrMxN() 879 case 8: partialButterfly8 ( tmp, coeff, shift_2nd, iWidth ); break; in xTrMxN() 880 case 16: partialButterfly16( tmp, coeff, shift_2nd, iWidth ); break; in xTrMxN() [all …]
|
/dports/multimedia/libde265/libde265-1.0.2/libde265/x86/ |
H A D | sse-dct.cc | 418 S0 = _mm_srai_epi32(S0, shift_2nd); in ff_hevc_transform_4x4_luma_add_8_sse4() 426 S8 = _mm_srai_epi32(S8, shift_2nd); in ff_hevc_transform_4x4_luma_add_8_sse4() 436 S0 = _mm_srai_epi32(S0, shift_2nd); in ff_hevc_transform_4x4_luma_add_8_sse4() 444 S8 = _mm_srai_epi32(S8, shift_2nd); in ff_hevc_transform_4x4_luma_add_8_sse4() 573 S0 = _mm_srai_epi32(S0, shift_2nd); 581 S8 = _mm_srai_epi32(S8, shift_2nd); 591 S0 = _mm_srai_epi32(S0, shift_2nd); 599 S8 = _mm_srai_epi32(S8, shift_2nd); 2078 shift = shift_2nd; in ff_hevc_transform_16x16_add_8_sse4() 2840 shift = shift_2nd; [all …]
|
/dports/multimedia/vvdec/vvdec-1.1.2/source/Lib/CommonLib/ |
H A D | TrQuant.cpp | 445 …const int shift_2nd = ( TRANSFORM_MATRIX_SHIFT + maxLog2TrDynamicRange - 1 ) - b… in xIT() local 447 CHECK( shift_2nd < 0, "Negative shift" ); in xIT() 450 …fastInvTrans[trTypeHor][transformWidthIndex] (tmp, block, shift_2nd, height, 0, skipW… in xIT()
|
/dports/multimedia/handbrake/x265_3.5/source/common/ppc/ |
H A D | dct_altivec.cpp | 774 const int shift_2nd = 10; in dct16_altivec() local 784 partialButterfly16_transposedSrc_altivec(coef_transposed, dst, shift_2nd); in dct16_altivec() 793 const int shift_2nd = 11; in dct32_altivec() local 803 partialButterfly32_transposedSrc_altivec(coef_transposed, dst, shift_2nd); in dct32_altivec()
|
/dports/multimedia/x265/source/common/ppc/ |
H A D | dct_altivec.cpp | 774 const int shift_2nd = 10; in dct16_altivec() local 784 partialButterfly16_transposedSrc_altivec(coef_transposed, dst, shift_2nd); in dct16_altivec() 793 const int shift_2nd = 11; in dct32_altivec() local 803 partialButterfly32_transposedSrc_altivec(coef_transposed, dst, shift_2nd); in dct32_altivec()
|
/dports/multimedia/handbrake/HandBrake-1.4.2/contrib/x265/ |
H A D | A01-darwin-neon-support-for-arm64.patch | 1278 + const int shift_2nd = 9; 1289 + partialButterfly8(coef, dst, shift_2nd, 8); 1295 + const int shift_2nd = 10; 1306 + partialButterfly16(coef, dst, shift_2nd, 16); 1312 + const int shift_2nd = 11; 1323 + partialButterfly32(coef, dst, shift_2nd, 32); 1329 + const int shift_2nd = 12 - (X265_DEPTH - 8); 1346 + const int shift_2nd = 12 - (X265_DEPTH - 8); 1352 + partialButterflyInverse16_neon(coef, block, shift_2nd, 16); 1363 + const int shift_2nd = 12 - (X265_DEPTH - 8); [all …]
|