/external/libgav1/libgav1/src/post_filter/ |
D | deblock.cc | 124 bool PostFilter::GetHorizontalDeblockFilterEdgeInfo(int row4x4, int column4x4, in GetHorizontalDeblockFilterEdgeInfo() argument 127 *step = kTransformHeight[inter_transform_sizes_[row4x4][column4x4]]; in GetHorizontalDeblockFilterEdgeInfo() 130 const BlockParameters* bp = block_parameters_.Find(row4x4, column4x4); in GetHorizontalDeblockFilterEdgeInfo() 134 block_parameters_.Find(row4x4_prev, column4x4); in GetHorizontalDeblockFilterEdgeInfo() 149 kTransformHeight[inter_transform_sizes_[row4x4_prev][column4x4]]; in GetHorizontalDeblockFilterEdgeInfo() 155 int row4x4, int column4x4, uint8_t* level_u, uint8_t* level_v, int* step, in GetHorizontalDeblockFilterEdgeInfoUV() argument 160 column4x4 = GetDeblockPosition(column4x4, subsampling_x); in GetHorizontalDeblockFilterEdgeInfoUV() 161 const BlockParameters* bp = block_parameters_.Find(row4x4, column4x4); in GetHorizontalDeblockFilterEdgeInfoUV() 179 block_parameters_.Find(row4x4_prev, column4x4); in GetHorizontalDeblockFilterEdgeInfoUV() 215 int row4x4, int column4x4, BlockParameters* const* bp_ptr, uint8_t* level, in GetVerticalDeblockFilterEdgeInfo() argument [all …]
|
D | cdef.cc | 96 int row4x4, int column4x4, in PrepareCdefBlock() argument 103 const int start_x = MultiplyBy4(column4x4) >> subsampling_x; in PrepareCdefBlock() 115 const bool is_frame_left = column4x4 == 0; in PrepareCdefBlock() 253 int column4x4 = column4x4_start; in ApplyCdefForOneUnit() local 295 (MultiplyBy4(column4x4 - column4x4_start)); in ApplyCdefForOneUnit() 309 column4x4 += kStep4x4; in ApplyCdefForOneUnit() 311 } while (column4x4 < column4x4_start + block_width4x4); in ApplyCdefForOneUnit() 360 int column4x4 = column4x4_start; in ApplyCdefForOneUnit() local 374 if (column4x4 + (kStep4x4 * 2) <= column4x4_start + block_width4x4) { in ApplyCdefForOneUnit() 405 (MultiplyBy4(column4x4 - column4x4_start) >> subsampling_x); in ApplyCdefForOneUnit() [all …]
|
/external/libgav1/libgav1/src/tile/bitstream/ |
D | transform_size.cc | 70 int Tile::GetTopTransformWidth(const Block& block, int row4x4, int column4x4, in GetTopTransformWidth() argument 75 *block_parameters_holder_.Find(row4x4 - 1, column4x4); in GetTopTransformWidth() 80 return kTransformWidth[inter_transform_sizes_[row4x4 - 1][column4x4]]; in GetTopTransformWidth() 83 int Tile::GetLeftTransformHeight(const Block& block, int row4x4, int column4x4, in GetLeftTransformHeight() argument 85 if (column4x4 == block.column4x4) { in GetLeftTransformHeight() 88 *block_parameters_holder_.Find(row4x4, column4x4 - 1); in GetLeftTransformHeight() 93 return kTransformHeight[inter_transform_sizes_[row4x4][column4x4 - 1]]; in GetLeftTransformHeight() 111 ? GetTopTransformWidth(block, block.row4x4, block.column4x4, true) in ReadFixedTransformSize() 115 ? GetLeftTransformHeight(block, block.row4x4, block.column4x4, true) in ReadFixedTransformSize() 132 int column4x4, TransformSize tx_size) { in ReadVariableTransformTree() argument [all …]
|
D | partition.cc | 84 uint16_t* Tile::GetPartitionCdf(int row4x4, int column4x4, in GetPartitionCdf() argument 90 k4x4WidthLog2[block_parameters_holder_.Find(row4x4 - 1, column4x4) in GetPartitionCdf() 94 if (IsLeftInside(column4x4)) { in GetPartitionCdf() 96 k4x4HeightLog2[block_parameters_holder_.Find(row4x4, column4x4 - 1) in GetPartitionCdf() 103 bool Tile::ReadPartition(int row4x4, int column4x4, BlockSize block_size, in ReadPartition() argument 115 GetPartitionCdf(row4x4, column4x4, block_size); in ReadPartition()
|
D | mode_info.cc | 192 block_parameters_holder_.Find(block.row4x4 - 1, block.column4x4 - 1) in ReadSegmentId() 304 const int column4x4 = block.column4x4 & cdef_mask4x4; in ReadCdef() local 306 const int column = DivideBy16(column4x4); in ReadCdef() 313 for (int j = column4x4; j < column4x4 + block.width4x4; in ReadCdef() 597 const int x_limit = std::min(frame_header_.columns4x4 - block.column4x4, in ComputePredictedSegmentId() 605 prev_segment_ids_->segment_id(block.row4x4 + y, block.column4x4 + x); in ComputePredictedSegmentId()
|
D | palette.cc | 260 block_width, MultiplyBy4(frame_header_.columns4x4 - block.column4x4)); in ReadPaletteTokens()
|
/external/libgav1/libgav1/src/utils/ |
D | block_parameters_holder.h | 48 BlockParameters* Find(int row4x4, int column4x4) const { in Find() argument 49 return block_parameters_cache_[row4x4][column4x4]; in Find() 52 BlockParameters** Address(int row4x4, int column4x4) { in Address() argument 53 return block_parameters_cache_.data() + row4x4 * columns4x4_ + column4x4; in Address() 56 BlockParameters* const* Address(int row4x4, int column4x4) const { in Address() argument 57 return block_parameters_cache_.data() + row4x4 * columns4x4_ + column4x4; in Address() 68 void FillCache(int row4x4, int column4x4, BlockSize block_size,
|
D | parameter_tree.h | 40 static std::unique_ptr<ParameterTree> Create(int row4x4, int column4x4, 66 int column4x4() const { return column4x4_; } in column4x4() function 79 ParameterTree(int row4x4, int column4x4, BlockSize block_size) in ParameterTree() argument 80 : row4x4_(row4x4), column4x4_(column4x4), block_size_(block_size) {} in ParameterTree()
|
D | segmentation_map.h | 43 int8_t segment_id(int row4x4, int column4x4) const { in segment_id() argument 44 return segment_id_[row4x4][column4x4]; in segment_id() 56 void FillBlock(int row4x4, int column4x4, int block_width4x4,
|
D | block_parameters_holder.cc | 71 void BlockParametersHolder::FillCache(int row4x4, int column4x4, in FillCache() argument 77 columns4x4_ - column4x4); in FillCache() 78 auto* bp_dst = &block_parameters_cache_[row4x4][column4x4]; in FillCache()
|
D | segmentation_map.cc | 42 void SegmentationMap::FillBlock(int row4x4, int column4x4, int block_width4x4, in FillBlock() argument 45 memset(&segment_id_[row4x4 + y][column4x4], segment_id, block_width4x4); in FillBlock()
|
D | parameter_tree.cc | 29 std::unique_ptr<ParameterTree> ParameterTree::Create(int row4x4, int column4x4, in Create() argument 33 new (std::nothrow) ParameterTree(row4x4, column4x4, block_size)); in Create()
|
/external/libgav1/libgav1/src/ |
D | tile.h | 131 bool IsInside(int row4x4, int column4x4) const { in IsInside() argument 132 return IsRow4x4Inside(row4x4) && column4x4 >= column4x4_start_ && in IsInside() 133 column4x4 < column4x4_end_; in IsInside() 136 bool IsLeftInside(int column4x4) const { in IsLeftInside() argument 139 assert(column4x4 <= column4x4_end_); in IsLeftInside() 140 return column4x4 > column4x4_start_; in IsLeftInside() 150 bool IsTopLeftInside(int row4x4, int column4x4) const { in IsTopLeftInside() argument 154 assert(column4x4 <= column4x4_end_); in IsTopLeftInside() 155 return row4x4 > row4x4_start_ && column4x4 > column4x4_start_; in IsTopLeftInside() 158 bool IsBottomRightInside(int row4x4, int column4x4) const { in IsBottomRightInside() argument [all …]
|
D | post_filter.h | 238 int row4x4, int column4x4) const { in GetBufferOffset() argument 242 RowOrColumn4x4ToPixel(column4x4, plane, subsampling_x_[plane]) * in GetBufferOffset() 245 uint8_t* GetSourceBuffer(Plane plane, int row4x4, int column4x4) const { in GetSourceBuffer() argument 247 plane, row4x4, column4x4); in GetSourceBuffer() 330 static int GetShift(int row4x4, int column4x4) { in GetShift() argument 331 return ((row4x4 & 3) << 4) | column4x4; in GetShift() 336 bool GetHorizontalDeblockFilterEdgeInfo(int row4x4, int column4x4, 339 void GetHorizontalDeblockFilterEdgeInfoUV(int row4x4, int column4x4, 343 bool GetVerticalDeblockFilterEdgeInfo(int row4x4, int column4x4, 347 void GetVerticalDeblockFilterEdgeInfoUV(int column4x4, [all …]
|
D | motion_vector.cc | 82 const int x = MultiplyBy4(block.column4x4) + DivideBy2(block.width) - 1; in SetupGlobalMv() 224 tile.frame_header().columns4x4 - block.column4x4, 16}); in ScanRow() 240 const int mv_column = block.column4x4 + delta_column; in ScanColumn() 266 const int mv_column = block.column4x4 + delta_column; in ScanPoint() 388 const int column = (block.column4x4 & 15) + delta_column; in IsWithinTheSame64x64Block() 408 const int column_start = block.column4x4 | 1; in TemporalScan() 580 tile.frame_header().columns4x4 - block.column4x4, in ExtraSearch() 592 const int mv_column = block.column4x4 + ((pass == 0) ? i : -1); in ExtraSearch() 718 const int mv_column = block.column4x4 + delta_column; in AddSample() 801 ScanRow(block, block.column4x4, -1, is_compound, &found_new_mv, in FindMvStack() [all …]
|
D | loop_restoration_info.cc | 108 uint8_t superres_scale_denominator, int row4x4, int column4x4, in PopulateUnitInfoForSuperBlock() argument 119 RowOrColumn4x4ToPixel(column4x4, plane, subsampling_x_); in PopulateUnitInfoForSuperBlock() 121 column4x4 + kNum4x4BlocksWide[block_size], plane, subsampling_x_); in PopulateUnitInfoForSuperBlock()
|
D | warp_prediction.h | 34 int row4x4, int column4x4, const MotionVector& mv,
|
D | warp_prediction.cc | 136 const int column4x4, const MotionVector& mv, in WarpEstimation() argument 153 const int mid_x = MultiplyBy4(column4x4) + MultiplyBy2(block_width4x4) - 1; in WarpEstimation()
|
D | loop_restoration_info.h | 59 int row4x4, int column4x4,
|
/external/libgav1/libgav1/src/tile/ |
D | tile.cc | 317 const int x_offset = x4 - block.column4x4; in SetTransformType() 376 const int macroblocks_to_left_edge = -block.column4x4; in GetClampParameters() 378 block.tile.frame_header().columns4x4 - block.width4x4 - block.column4x4; in GetClampParameters() 611 for (int column4x4 = column4x4_start_; column4x4 < column4x4_end_; in ProcessSuperBlockRow() local 612 column4x4 += block_width4x4) { in ProcessSuperBlockRow() 613 if (!ProcessSuperBlock(row4x4, column4x4, block_width4x4, scratch_buffer, in ProcessSuperBlockRow() 616 row4x4, column4x4); in ProcessSuperBlockRow() 777 for (int column4x4 = column4x4_start_, column_index = 0; in ThreadedParseAndDecode() local 778 column4x4 < column4x4_end_; in ThreadedParseAndDecode() 779 column4x4 += block_width4x4, ++column_index) { in ThreadedParseAndDecode() [all …]
|
D | prediction.cc | 411 block.column4x4 + in GetIntraEdgeFilterType() 412 static_cast<int>(subsampling_x != 0 && (block.column4x4 & 1) == 0); in GetIntraEdgeFilterType() 419 block.column4x4 - 1 - in GetIntraEdgeFilterType() 420 static_cast<int>(subsampling_x != 0 && (block.column4x4 & 1) != 0); in GetIntraEdgeFilterType() 688 DivideBy4(prediction_height), block.row4x4, block.column4x4, in GetWarpParams() 859 std::min(block.column4x4 + block.width4x4, frame_header_.columns4x4); in ObmcPrediction() 862 int column4x4 = block.column4x4; in ObmcPrediction() local 864 for (int i = 0, step; i < num_limit && column4x4 < column4x4_max; in ObmcPrediction() 865 column4x4 += step) { in ObmcPrediction() 866 const int candidate_column = column4x4 | 1; in ObmcPrediction() [all …]
|