/external/libgav1/libgav1/src/ |
D | reconstruction.cc | 56 int GetNumRows(TransformType tx_type, int tx_height, int non_zero_coeff_count) { in GetNumRows() argument 67 if ((non_zero_coeff_count <= 14) & (tx_height > 8)) return 4; in GetNumRows() 69 if ((non_zero_coeff_count <= 107) & (tx_height > 16)) return 16; in GetNumRows() 70 if ((non_zero_coeff_count <= 171) & (tx_height > 16)) return 24; in GetNumRows() 74 if ((non_zero_coeff_count <= 14) & (tx_height > 16)) return 4; in GetNumRows() 76 if ((non_zero_coeff_count <= 44) & (tx_height > 16)) return 8; in GetNumRows() 77 if ((non_zero_coeff_count <= 151) & (tx_height > 16)) return 16; in GetNumRows() 78 if ((non_zero_coeff_count <= 279) & (tx_height > 16)) return 24; in GetNumRows() 83 if ((non_zero_coeff_count <= 136) & (tx_height > 16)) return 16; in GetNumRows() 84 if ((non_zero_coeff_count <= 300) & (tx_height > 16)) return 24; in GetNumRows() [all …]
|
/external/libaom/libaom/test/ |
D | av1_txfm_test.cc | 217 const int tx_height = tx_size_high[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() 238 const int tx_height = tx_size_high[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() 247 for (int r = 0; r < tx_height; ++r) { in reference_hybrid_2d() 250 reference_hybrid_1d(temp_in, temp_out, tx_height, type0); in reference_hybrid_2d() 251 for (int r = 0; r < tx_height; ++r) { in reference_hybrid_2d() 257 for (int r = 0; r < tx_height; ++r) { in reference_hybrid_2d() [all …]
|
/external/libgav1/libgav1/src/dsp/x86/ |
D | inverse_transform_sse4.cc | 1615 bool should_round, int tx_height) { in Identity4DcOnly() argument 1628 const int shift = (tx_height < 16) ? 0 : 1; in Identity4DcOnly() 1641 const int tx_width, const int tx_height, const int16_t* source) { in Identity4ColumnStoreToFrame() argument 1662 } while (++i < tx_height); in Identity4ColumnStoreToFrame() 1682 } while (++i < tx_height); in Identity4ColumnStoreToFrame() 1688 const int tx_width, const int tx_height, const int16_t* source) { in Identity4RowColumnStoreToFrame() argument 1714 } while (++i < tx_height); in Identity4RowColumnStoreToFrame() 1737 } while (++i < tx_height); in Identity4RowColumnStoreToFrame() 1792 const int tx_width, const int tx_height, const int16_t* source) { in Identity8ColumnStoreToFrame_SSE4_1() argument 1809 } while (++i < tx_height); in Identity8ColumnStoreToFrame_SSE4_1() [all …]
|
/external/libgav1/libgav1/src/dsp/arm/ |
D | inverse_transform_neon.cc | 1786 bool should_round, int tx_height) { in Identity4DcOnly() argument 1795 const int shift = tx_height < 16 ? 0 : 1; in Identity4DcOnly() 1808 const int tx_width, const int tx_height, const int16_t* source) { in IdentityColumnStoreToFrame() argument 1840 } while (++i < tx_height); in IdentityColumnStoreToFrame() 1871 } while (++i < tx_height); in IdentityColumnStoreToFrame() 1888 } while (++i < tx_height); in IdentityColumnStoreToFrame() 1894 const int tx_width, const int tx_height, const int16_t* source) { in Identity4RowColumnStoreToFrame() argument 1916 } while (++i < tx_height); in Identity4RowColumnStoreToFrame() 1938 } while (++i < tx_height); in Identity4RowColumnStoreToFrame() 2189 template <int tx_height> [all …]
|
D | inverse_transform_10bit_neon.cc | 1498 bool should_round, int tx_height) { in Identity4DcOnly() argument 1507 const int shift = tx_height < 16 ? 0 : 1; in Identity4DcOnly() 1520 const int tx_width, const int tx_height, const int32_t* source) { in IdentityColumnStoreToFrame() argument 1563 } while (i < tx_height); in IdentityColumnStoreToFrame() 1603 } while (++i < tx_height); in IdentityColumnStoreToFrame() 1609 const int tx_width, const int tx_height, const int32_t* source) { in Identity4RowColumnStoreToFrame() argument 1628 } while (++i < tx_height); in Identity4RowColumnStoreToFrame() 1660 } while (++i < tx_height); in Identity4RowColumnStoreToFrame() 1753 template <int tx_height> 1774 } while (i < tx_width * tx_height); in FlipColumns() [all …]
|
/external/libgav1/libgav1/src/tile/ |
D | tile.cc | 387 const int tx_height = kTransformHeight[adjusted_tx_size]; in GetCoeffBaseContextEob() local 388 if (index <= DivideBy8(tx_height << tx_width_log2)) return 1; in GetCoeffBaseContextEob() 389 if (index <= DivideBy4(tx_height << tx_width_log2)) return 2; in GetCoeffBaseContextEob() 953 const int tx_height = kTransformHeight[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() 1391 const int tx_height = kTransformHeight[tx_size]; in ReadTransformCoefficients() local 1399 memset(residual, 0, (tx_width * tx_height + tx_padding) * residual_size_); in ReadTransformCoefficients() 1405 const int clamped_tx_height = std::min(tx_height, 32); in ReadTransformCoefficients() 1545 *block.residual += tx_width * tx_height * residual_size_; in ReadTransformCoefficients()
|
D | prediction.cc | 512 const int tx_height = kTransformHeight[tx_size]; in PalettePrediction() local 520 for (int row = 0; row < tx_height; ++row) { in PalettePrediction()
|
/external/libgav1/libgav1/src/dsp/ |
D | inverse_transform.cc | 1117 const int tx_height = lossless ? 4 : kTransformHeight[tx_size]; in TransformLoop_C() local 1124 Array2DView<Residual> residual(tx_height, tx_width, in TransformLoop_C() 1190 } while (++i != tx_height); in TransformLoop_C() 1200 for (int i = 0; i < tx_height; ++i) { in TransformLoop_C() 1202 const int index = flip_rows ? tx_height - i - 1 : i; in TransformLoop_C()
|
/external/libaom/libaom/av1/encoder/ |
D | encodemb.c | 142 const int tx_height = tx_size_high[tx_size]; in av1_dropout_qcoeff() local 152 const int base_size = AOMMAX(tx_width, tx_height); in av1_dropout_qcoeff()
|