/external/libgav1/libgav1/src/post_filter/ |
D | cdef.cc | 98 MultiplyBy4(frame_header_.columns4x4), subsampling_x_[plane]); in SetupCdefBorder() 100 const int plane_height = SubsampledValue(MultiplyBy4(frame_header_.rows4x4), in SetupCdefBorder() 105 (MultiplyBy4(row4x4) >> subsampling_y_[plane]) + row; in SetupCdefBorder() 127 const int start_x = MultiplyBy4(column4x4) >> subsampling_x; in PrepareCdefBlock() 128 const int start_y = MultiplyBy4(row4x4) >> subsampling_y; in PrepareCdefBlock() 131 const int block_width = MultiplyBy4(block_width4x4) >> subsampling_x; in PrepareCdefBlock() 132 const int block_height = MultiplyBy4(block_height4x4) >> subsampling_y; in PrepareCdefBlock() 311 MultiplyBy4(block_width4x4) >> subsampling_x_[plane], in ApplyCdefForOneUnit() 312 MultiplyBy4(block_height4x4) >> subsampling_y_[plane], in ApplyCdefForOneUnit() 322 MultiplyBy4(column4x4_start) + MultiplyBy4(block_width4x4) >= width_; in ApplyCdefForOneUnit() [all …]
|
D | super_res.cc | 27 MultiplyBy4(frame_header_.columns4x4) >> subsampling_x_[plane]; in ApplySuperRes() 113 (MultiplyBy4(row4x4) >> subsampling_y_[plane]) + num_rows_extra; in ApplySuperResForOneSuperBlockRow() 125 rows[plane] += (MultiplyBy4(num_rows4x4) >> subsampling_y_[plane]) + in ApplySuperResForOneSuperBlockRow() 134 (MultiplyBy4(row4x4_start) >> subsampling_y_[plane]) * in ApplySuperResForOneSuperBlockRow() 141 rows[plane] = (MultiplyBy4(num_rows4x4) >> subsampling_y_[plane]) + in ApplySuperResForOneSuperBlockRow() 188 MultiplyBy4(frame_header_.columns4x4) >> subsampling_x_[plane]; in ApplySuperResThreaded()
|
D | deblock.cc | 309 MultiplyBy4(column4x4_start + column4x4) < width_; in HorizontalDeblockFilter() 313 MultiplyBy4(row4x4_start + row4x4) < height_; in HorizontalDeblockFilter() 344 MultiplyBy4(column4x4_start + column4x4) < width_; in HorizontalDeblockFilter() 349 MultiplyBy4(row4x4_start + row4x4) < height_; in HorizontalDeblockFilter() 375 const ptrdiff_t row_stride = MultiplyBy4(frame_buffer_.stride(kPlaneY)); in VerticalDeblockFilter() 387 MultiplyBy4(row4x4_start + row4x4) < height_; in VerticalDeblockFilter() 392 MultiplyBy4(column4x4_start + column4x4) < width_; in VerticalDeblockFilter() 416 const ptrdiff_t row_stride_u = MultiplyBy4(frame_buffer_.stride(kPlaneU)); in VerticalDeblockFilter() 417 const ptrdiff_t row_stride_v = MultiplyBy4(frame_buffer_.stride(kPlaneV)); in VerticalDeblockFilter() 429 MultiplyBy4(row4x4_start + row4x4) < height_; in VerticalDeblockFilter() [all …]
|
D | post_filter.cc | 314 const int num_pixels = SubsampledValue(MultiplyBy4(frame_header_.columns4x4), in CopyDeblockedPixels() 321 const int absolute_row = (MultiplyBy4(row4x4) >> subsampling_y_[plane]) + row; in CopyDeblockedPixels() 351 const int row = (MultiplyBy4(row4x4) - row_offset) >> subsampling_y_[plane]; in CopyBordersForOneSuperBlockRow() 355 std::min(SubsampledValue(MultiplyBy4(sb4x4) - height_offset, in CopyBordersForOneSuperBlockRow() 405 (MultiplyBy4(row4x4) >> subsampling_y_[plane]) + row; in SetupLoopRestorationBorder() 461 (MultiplyBy4(row4x4) >> subsampling_y_[plane]) + row; in SetupLoopRestorationBorder()
|
D | loop_restoration.cc | 119 : (MultiplyBy4(row4x4_start) >> subsampling_y_[plane]) - in ApplyLoopRestorationForOneSuperBlockRow()
|
/external/libgav1/libgav1/src/dsp/ |
D | warp.cc | 231 (y4 & ((1 << kWarpedModelPrecisionBits) - 1)) - MultiplyBy4(delta); in Warp_C() 233 int sy = sy4 - MultiplyBy4(gamma); in Warp_C() 279 int sx = sx4 - MultiplyBy4(alpha); in Warp_C() 331 int sx = sx4 - MultiplyBy4(alpha); in Warp_C() 371 (y4 & ((1 << kWarpedModelPrecisionBits) - 1)) - MultiplyBy4(delta); in Warp_C() 391 int sy = sy4 - MultiplyBy4(gamma); in Warp_C()
|
D | inverse_transform.cc | 179 63 - MultiplyBy4(kBitReverseLookup[2][i]), false, in Dct_C() 218 dst, 62 - MultiplyBy4(i) - j, MultiplyBy4(i) + j + 33, in Dct_C() 242 dst, 30 - MultiplyBy4(i) - j, MultiplyBy4(i) + j + 17, in Dct_C() 251 HadamardRotation_C(dst, MultiplyBy4(i) + j + 32, in Dct_C() 252 MultiplyBy4(i) - j + 35, static_cast<bool>(i & 1), in Dct_C() 279 HadamardRotation_C(dst, MultiplyBy4(i) + j + 16, in Dct_C() 280 MultiplyBy4(i) - j + 19, static_cast<bool>(i & 1), in Dct_C() 307 HadamardRotation_C(dst, MultiplyBy4(i) + j + 8, MultiplyBy4(i) - j + 11, in Dct_C() 585 HadamardRotation_C(temp, i + MultiplyBy4(j), i + MultiplyBy4(j) + 2, in Adst8_C() 591 ButterflyRotation_C(temp, MultiplyBy4(i) + 2, MultiplyBy4(i) + 3, 32, true, in Adst8_C() [all …]
|
/external/libgav1/libgav1/src/ |
D | post_filter.h | 228 plane, MultiplyBy4(row4x4), MultiplyBy4(column4x4)); in GetSourceBuffer() 232 plane, MultiplyBy4(row4x4), MultiplyBy4(column4x4)); in GetCdefBuffer() 236 plane, MultiplyBy4(row4x4), MultiplyBy4(column4x4)); in GetSuperResBuffer() 289 MultiplyBy4(frame_header_.columns4x4); in DoBorderExtensionInLoop()
|
D | warp_prediction.cc | 152 const int mid_y = MultiplyBy4(row4x4) + MultiplyBy2(block_height4x4) - 1; in WarpEstimation() 153 const int mid_x = MultiplyBy4(column4x4) + MultiplyBy2(block_width4x4) - 1; in WarpEstimation()
|
D | motion_vector.cc | 78 const int x = MultiplyBy4(block.column4x4) + DivideBy2(block.width) - 1; in SetupGlobalMv() 79 const int y = MultiplyBy4(block.row4x4) + DivideBy2(block.height) - 1; in SetupGlobalMv() 749 MultiplyBy4(candidate_row) + MultiplyBy2(candidate_height4x4) - 1; in AddSample() 751 MultiplyBy4(candidate_column) + MultiplyBy2(candidate_width4x4) - 1; in AddSample()
|
D | decoder_impl.cc | 1329 MultiplyBy4(RightShiftWithCeiling(frame_header.rows4x4, 4)); in DecodeTiles() 1336 MultiplyBy4(frame_header.columns4x4), num_units, in DecodeTiles() 1348 MultiplyBy4(RightShiftWithCeiling(frame_header.rows4x4, 4)); in DecodeTiles() 1398 MultiplyBy4(frame_header.columns4x4), num_threads, in DecodeTiles() 1463 ((MultiplyBy4(frame_header.columns4x4) >> subsampling) * in DecodeTiles()
|
/external/libgav1/libgav1/src/dsp/arm/ |
D | warp_neon.cc | 55 int sx = sx4 - MultiplyBy4(alpha); in HorizontalFilter() 260 (y4 & ((1 << kWarpedModelPrecisionBits) - 1)) - MultiplyBy4(delta); in Warp_NEON() 262 int sy = sy4 - MultiplyBy4(gamma); in Warp_NEON() 392 (y4 & ((1 << kWarpedModelPrecisionBits) - 1)) - MultiplyBy4(delta); in Warp_NEON() 394 int sy = sy4 - MultiplyBy4(gamma); in Warp_NEON()
|
/external/libgav1/libgav1/src/dsp/x86/ |
D | warp_sse4.cc | 63 int sx = sx4 - MultiplyBy4(alpha); in HorizontalFilter() 172 int sy4 = (y4 & ((1 << kWarpedModelPrecisionBits) - 1)) - MultiplyBy4(delta); in VerticalFilter() 174 int sy = sy4 - MultiplyBy4(gamma); in VerticalFilter() 193 int sy4 = (y4 & ((1 << kWarpedModelPrecisionBits) - 1)) - MultiplyBy4(delta); in VerticalFilter() 195 int sy = sy4 - MultiplyBy4(gamma); in VerticalFilter()
|
/external/libgav1/libgav1/src/tile/ |
D | tile.cc | 922 (MultiplyBy4(row4x4 + block_width4x4) >> subsampling_y_[plane]) - 1; in PopulateIntraPredictionBuffer() 924 (MultiplyBy4(column4x4_end_ - column4x4_start_) >> in PopulateIntraPredictionBuffer() 928 MultiplyBy4(column4x4_start_) >> subsampling_x_[plane]; in PopulateIntraPredictionBuffer() 1234 levels[MultiplyBy4(tx_width)]); // {4, 0} in ReadCoeffBaseVertical() 1575 const int start_x = base_x + MultiplyBy4(x); in TransformBlock() 1576 const int start_y = base_y + MultiplyBy4(y); in TransformBlock() 1577 const int max_x = MultiplyBy4(frame_header_.columns4x4) >> subsampling_x; in TransformBlock() 1578 const int max_y = MultiplyBy4(frame_header_.rows4x4) >> subsampling_y; in TransformBlock() 1619 start_x + MultiplyBy4(step_x); in TransformBlock() 1621 start_y + MultiplyBy4(step_y); in TransformBlock() [all …]
|
D | prediction.cc | 233 const int max_x = (MultiplyBy4(frame_header_.columns4x4) >> x_shift) - 1; in IntraPrediction() 234 const int max_y = (MultiplyBy4(frame_header_.rows4x4) >> y_shift) - 1; in IntraPrediction() 515 const int x4 = MultiplyBy4(x); in PalettePrediction() 516 const int y4 = MultiplyBy4(y); in PalettePrediction() 856 const int block_start_y = MultiplyBy4(block.row4x4) >> subsampling_y; in ObmcPrediction() 872 std::min(width, MultiplyBy4(step) >> subsampling_x); in ObmcPrediction() 876 MultiplyBy4(column4x4) >> subsampling_x, block_start_y, in ObmcPrediction() 890 const int block_start_x = MultiplyBy4(block.column4x4) >> subsampling_x; in ObmcPrediction() 905 std::min(height, MultiplyBy4(step) >> subsampling_y); in ObmcPrediction() 909 MultiplyBy4(row4x4) >> subsampling_y, candidate_row, in ObmcPrediction() [all …]
|
/external/libgav1/libgav1/src/tile/bitstream/ |
D | palette.cc | 37 (block.top_available[kPlaneY] && Mod64(MultiplyBy4(block.row4x4)) != 0) in GetPaletteCache() 258 block_height, MultiplyBy4(frame_header_.rows4x4 - block.row4x4)); in ReadPaletteTokens() 260 block_width, MultiplyBy4(frame_header_.columns4x4 - block.column4x4)); in ReadPaletteTokens()
|
D | mode_info.cc | 743 context = MultiplyBy4(static_cast<int>(top_uni_comp)); in ReadCompoundReferenceType() 745 context = MultiplyBy4(static_cast<int>(left_uni_comp)); in ReadCompoundReferenceType() 1184 MultiplyBy4(static_cast<int>(bp.reference_frame[1] > in GetInterpolationFilterCdf()
|
/external/libgav1/libgav1/src/utils/ |
D | common.h | 282 inline int MultiplyBy4(int n) { return LeftShift(n, 2); } in MultiplyBy4() function 316 return MultiplyBy4(row_or_column4x4) >> (plane == kPlaneY ? 0 : subsampling); in RowOrColumn4x4ToPixel()
|