/external/libgav1/libgav1/src/ |
D | reconstruction.cc | 55 template <int tx_width> 61 if (tx_width == 4) { in GetNumRows() 65 if (tx_width == 8) { in GetNumRows() 72 if (tx_width == 16) { in GetNumRows() 80 if (tx_width == 32) { in GetNumRows() 97 if (tx_width == 4) { in GetNumRows() 101 if (tx_width == 8) { in GetNumRows() 109 if (tx_width == 16) { in GetNumRows() 117 if (tx_width == 32) { in GetNumRows() 127 return (tx_width >= 16) ? std::min(tx_height, 32) : tx_height; in GetNumRows()
|
/external/libgav1/libgav1/src/dsp/x86/ |
D | inverse_transform_sse4.cc | 1641 const int tx_width, const int tx_height, const int16_t* source) { in Identity4ColumnStoreToFrame() argument 1649 if (tx_width == 4) { in Identity4ColumnStoreToFrame() 1652 const __m128i v_src = LoadLo8(&source[i * tx_width]); in Identity4ColumnStoreToFrame() 1666 const int row = i * tx_width; in Identity4ColumnStoreToFrame() 1680 } while (j < tx_width); in Identity4ColumnStoreToFrame() 1688 const int tx_width, const int tx_height, const int16_t* source) { in Identity4RowColumnStoreToFrame() argument 1698 if (tx_width == 4) { in Identity4RowColumnStoreToFrame() 1701 const __m128i v_src = LoadLo8(&source[i * tx_width]); in Identity4RowColumnStoreToFrame() 1718 const int row = i * tx_width; in Identity4RowColumnStoreToFrame() 1735 } while (j < tx_width); in Identity4RowColumnStoreToFrame() [all …]
|
/external/libgav1/libgav1/src/dsp/arm/ |
D | inverse_transform_neon.cc | 1808 const int tx_width, const int tx_height, const int16_t* source) { in IdentityColumnStoreToFrame() argument 1813 if (tx_width == 4) { in IdentityColumnStoreToFrame() 1817 const int16x4_t v_src = vld1_s16(&source[i * tx_width]); in IdentityColumnStoreToFrame() 1844 const int row = i * tx_width; in IdentityColumnStoreToFrame() 1869 } while (j < tx_width); in IdentityColumnStoreToFrame() 1876 const int row = i * tx_width; in IdentityColumnStoreToFrame() 1886 } while (j < tx_width); in IdentityColumnStoreToFrame() 1894 const int tx_width, const int tx_height, const int16_t* source) { in Identity4RowColumnStoreToFrame() argument 1898 if (tx_width == 4) { in Identity4RowColumnStoreToFrame() 1902 const int16x4_t v_src = vld1_s16(&source[i * tx_width]); in Identity4RowColumnStoreToFrame() [all …]
|
D | inverse_transform_10bit_neon.cc | 1520 const int tx_width, const int tx_height, const int32_t* source) { in IdentityColumnStoreToFrame() argument 1528 if (tx_width == 4) { in IdentityColumnStoreToFrame() 1567 const int row = i * tx_width; in IdentityColumnStoreToFrame() 1601 } while (j < tx_width); in IdentityColumnStoreToFrame() 1609 const int tx_width, const int tx_height, const int32_t* source) { in Identity4RowColumnStoreToFrame() argument 1615 if (tx_width == 4) { in Identity4RowColumnStoreToFrame() 1632 const int row = i * tx_width; in Identity4RowColumnStoreToFrame() 1658 } while (j < tx_width); in Identity4RowColumnStoreToFrame() 1754 LIBGAV1_ALWAYS_INLINE void FlipColumns(int32_t* source, int tx_width) { in FlipColumns() argument 1755 if (tx_width >= 16) { in FlipColumns() [all …]
|
/external/libaom/libaom/test/ |
D | av1_txfm_test.cc | 216 const int tx_width = tx_size_wide[fwd_txfm_flip_cfg.tx_size]; in get_amplification_factor() local 224 const int rect_type = get_rect_tx_log_ratio(tx_width, tx_height); in get_amplification_factor() 237 const int tx_width = tx_size_wide[tx_size]; in reference_hybrid_2d() local 240 double *const temp_in = new double[AOMMAX(tx_width, tx_height)]; in reference_hybrid_2d() 241 double *const temp_out = new double[AOMMAX(tx_width, tx_height)]; in reference_hybrid_2d() 242 double *const out_interm = new double[tx_width * tx_height]; in reference_hybrid_2d() 243 const int stride = tx_width; in reference_hybrid_2d() 246 for (int c = 0; c < tx_width; ++c) { in reference_hybrid_2d() 258 reference_hybrid_1d(out_interm + r * stride, out + r * stride, tx_width, in reference_hybrid_2d() 270 if (tx_width == 64 && tx_height == 64) { // tx_size == TX_64X64 in reference_hybrid_2d() [all …]
|
/external/libgav1/libgav1/src/tile/ |
D | tile.cc | 343 void MoveCoefficientsForTxWidth64(int clamped_tx_height, int tx_width, in MoveCoefficientsForTxWidth64() argument 345 if (tx_width != 64) return; in MoveCoefficientsForTxWidth64() 399 const int tx_width = 1 << adjusted_tx_width_log2; in GetCoeffBaseRangeContextEob() local 401 const int column = pos & (tx_width - 1); in GetCoeffBaseRangeContextEob() 952 const int tx_width = kTransformWidth[tx_size]; in GetTransformAllZeroContext() local 963 if (block_width == tx_width && block_height == tx_height) return 0; in GetTransformAllZeroContext() 994 tx_width * tx_height); in GetTransformAllZeroContext() 1109 const int tx_width = 1 << adjusted_tx_width_log2; in ReadCoeffBase2D() local 1113 const int column = pos & (tx_width - 1); in ReadCoeffBase2D() 1116 const int neighbor_sum = 1 + levels[1] + levels[tx_width] + in ReadCoeffBase2D() [all …]
|
D | prediction.cc | 511 const int tx_width = kTransformWidth[tx_size]; in PalettePrediction() local 523 for (int column = 0; column < tx_width; ++column) { in PalettePrediction()
|
/external/libgav1/libgav1/src/dsp/ |
D | inverse_transform.cc | 1116 const int tx_width = lossless ? 4 : kTransformWidth[tx_size]; in TransformLoop_C() local 1124 Array2DView<Residual> residual(tx_height, tx_width, in TransformLoop_C() 1152 for (int j = 0; j < std::min(tx_width, 32); ++j) { in TransformLoop_C() 1161 for (int j = 0; j < tx_width; ++j) { in TransformLoop_C() 1166 ClampIntermediate<bitdepth, Residual>(residual[i], tx_width); in TransformLoop_C() 1185 for (int j = 0; j < tx_width; ++j) { in TransformLoop_C() 1186 const int flipped_j = flip_columns ? tx_width - j - 1 : j; in TransformLoop_C()
|
/external/libaom/libaom/av1/encoder/ |
D | encodemb.c | 141 const int tx_width = tx_size_wide[tx_size]; in av1_dropout_qcoeff() local 152 const int base_size = AOMMAX(tx_width, tx_height); in av1_dropout_qcoeff()
|