/external/libgav1/libgav1/src/post_filter/ |
D | deblock.cc | 123 bool PostFilter::GetHorizontalDeblockFilterEdgeInfo(int row4x4, int column4x4, in GetHorizontalDeblockFilterEdgeInfo() argument 126 *step = kTransformHeight[inter_transform_sizes_[row4x4][column4x4]]; in GetHorizontalDeblockFilterEdgeInfo() 129 const BlockParameters* bp = block_parameters_.Find(row4x4, column4x4); in GetHorizontalDeblockFilterEdgeInfo() 133 block_parameters_.Find(row4x4_prev, column4x4); in GetHorizontalDeblockFilterEdgeInfo() 148 kTransformHeight[inter_transform_sizes_[row4x4_prev][column4x4]]; in GetHorizontalDeblockFilterEdgeInfo() 154 int row4x4, int column4x4, uint8_t* level_u, uint8_t* level_v, int* step, in GetHorizontalDeblockFilterEdgeInfoUV() argument 159 column4x4 = GetDeblockPosition(column4x4, subsampling_x); in GetHorizontalDeblockFilterEdgeInfoUV() 160 const BlockParameters* bp = block_parameters_.Find(row4x4, column4x4); in GetHorizontalDeblockFilterEdgeInfoUV() 178 block_parameters_.Find(row4x4_prev, column4x4); in GetHorizontalDeblockFilterEdgeInfoUV() 214 int row4x4, int column4x4, BlockParameters* const* bp_ptr, uint8_t* level, in GetVerticalDeblockFilterEdgeInfo() argument [all …]
|
D | cdef.cc | 118 int row4x4, int column4x4, in PrepareCdefBlock() argument 127 const int start_x = MultiplyBy4(column4x4) >> subsampling_x; in PrepareCdefBlock() 139 const bool is_frame_left = column4x4 == 0; in PrepareCdefBlock() 371 int column4x4 = column4x4_start; in ApplyCdefForOneUnit() local 448 column4x4 += kStep4x4; in ApplyCdefForOneUnit() 450 } while (column4x4 < column4x4_start + block_width4x4); in ApplyCdefForOneUnit() 523 int column4x4 = column4x4_start; in ApplyCdefForOneUnit() local 540 if (column4x4 + (kStep4x4 * 2) <= column4x4_start + block_width4x4) { in ApplyCdefForOneUnit() 578 column4x4 += kStep4x4 << dual_cdef; in ApplyCdefForOneUnit() 580 } while (column4x4 < column4x4_start + block_width4x4); in ApplyCdefForOneUnit() [all …]
|
/external/libgav1/libgav1/src/utils/ |
D | block_parameters_holder.h | 46 BlockParameters* Get(int row4x4, int column4x4, BlockSize block_size); 51 BlockParameters* Find(int row4x4, int column4x4) const { in Find() argument 52 return block_parameters_cache_[row4x4][column4x4]; in Find() 55 BlockParameters** Address(int row4x4, int column4x4) { in Address() argument 56 return block_parameters_cache_.data() + row4x4 * columns4x4_ + column4x4; in Address() 59 BlockParameters* const* Address(int row4x4, int column4x4) const { in Address() argument 60 return block_parameters_cache_.data() + row4x4 * columns4x4_ + column4x4; in Address() 70 void FillCache(int row4x4, int column4x4, BlockSize block_size,
|
D | block_parameters_holder.cc | 34 BlockParameters* BlockParametersHolder::Get(int row4x4, int column4x4, in Get() argument 43 FillCache(row4x4, column4x4, block_size, bp.get()); in Get() 47 void BlockParametersHolder::FillCache(int row4x4, int column4x4, in FillCache() argument 53 columns4x4_ - column4x4); in FillCache() 54 auto* bp_dst = &block_parameters_cache_[row4x4][column4x4]; in FillCache()
|
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 | 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 | types.h | 532 PartitionTreeNode(int row4x4, int column4x4, BlockSize block_size) in PartitionTreeNode() 533 : row4x4(row4x4), column4x4(column4x4), block_size(block_size) {} in PartitionTreeNode() 535 int column4x4 = -1; member
|
/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() 134 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 | 191 block_parameters_holder_.Find(block.row4x4 - 1, block.column4x4 - 1) in ReadSegmentId() 303 const int column4x4 = block.column4x4 & cdef_mask4x4; in ReadCdef() local 305 const int column = DivideBy16(column4x4); in ReadCdef() 312 for (int j = column4x4; j < column4x4 + block.width4x4; in ReadCdef() 596 const int x_limit = std::min(frame_header_.columns4x4 - block.column4x4, in ComputePredictedSegmentId() 604 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/ |
D | tile.h | 132 bool IsInside(int row4x4, int column4x4) const { in IsInside() argument 133 return IsRow4x4Inside(row4x4) && column4x4 >= column4x4_start_ && in IsInside() 134 column4x4 < column4x4_end_; in IsInside() 137 bool IsLeftInside(int column4x4) const { in IsLeftInside() argument 140 assert(column4x4 <= column4x4_end_); in IsLeftInside() 141 return column4x4 > column4x4_start_; in IsLeftInside() 151 bool IsTopLeftInside(int row4x4, int column4x4) const { in IsTopLeftInside() argument 155 assert(column4x4 <= column4x4_end_); in IsTopLeftInside() 156 return row4x4 > row4x4_start_ && column4x4 > column4x4_start_; in IsTopLeftInside() 159 bool IsBottomRightInside(int row4x4, int column4x4) const { in IsBottomRightInside() argument [all …]
|
D | post_filter.h | 226 uint8_t* GetSourceBuffer(Plane plane, int row4x4, int column4x4) const { in GetSourceBuffer() argument 228 plane, MultiplyBy4(row4x4), MultiplyBy4(column4x4)); in GetSourceBuffer() 230 uint8_t* GetCdefBuffer(Plane plane, int row4x4, int column4x4) const { in GetCdefBuffer() argument 232 plane, MultiplyBy4(row4x4), MultiplyBy4(column4x4)); in GetCdefBuffer() 234 uint8_t* GetSuperResBuffer(Plane plane, int row4x4, int column4x4) const { in GetSuperResBuffer() argument 236 plane, MultiplyBy4(row4x4), MultiplyBy4(column4x4)); in GetSuperResBuffer() 312 static int GetShift(int row4x4, int column4x4) { in GetShift() argument 313 return ((row4x4 & 3) << 4) | column4x4; in GetShift() 318 bool GetHorizontalDeblockFilterEdgeInfo(int row4x4, int column4x4, 321 void GetHorizontalDeblockFilterEdgeInfoUV(int row4x4, int column4x4, [all …]
|
D | motion_vector.cc | 78 const int x = MultiplyBy4(block.column4x4) + DivideBy2(block.width) - 1; in SetupGlobalMv() 222 tile.frame_header().columns4x4 - block.column4x4, 16}); in ScanRow() 238 const int mv_column = block.column4x4 + delta_column; in ScanColumn() 264 const int mv_column = block.column4x4 + delta_column; in ScanPoint() 391 const int column = (block.column4x4 & 15) + delta_column; in IsWithinTheSame64x64Block() 408 const int column_start = block.column4x4 | 1; in TemporalScan() 582 tile.frame_header().columns4x4 - block.column4x4, in ExtraSearch() 594 const int mv_column = block.column4x4 + ((pass == 0) ? i : -1); in ExtraSearch() 720 const int mv_column = block.column4x4 + delta_column; in AddSample() 803 ScanRow(block, block.column4x4, -1, is_compound, &found_new_mv, in FindMvStack() [all …]
|
D | loop_restoration_info.cc | 106 uint8_t superres_scale_denominator, int row4x4, int column4x4, in PopulateUnitInfoForSuperBlock() argument 113 RowOrColumn4x4ToPixel(column4x4, plane, subsampling_x_); in PopulateUnitInfoForSuperBlock() 115 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 | 314 const int x_offset = x4 - block.column4x4; in SetTransformType() 373 const int macroblocks_to_left_edge = -block.column4x4; in GetClampParameters() 375 block.tile.frame_header().columns4x4 - block.width4x4 - block.column4x4; in GetClampParameters() 610 for (int column4x4 = column4x4_start_; column4x4 < column4x4_end_; in ProcessSuperBlockRow() local 611 column4x4 += block_width4x4) { in ProcessSuperBlockRow() 612 if (!ProcessSuperBlock(row4x4, column4x4, scratch_buffer, in ProcessSuperBlockRow() 615 row4x4, column4x4); in ProcessSuperBlockRow() 773 for (int column4x4 = column4x4_start_, column_index = 0; in ThreadedParseAndDecode() local 774 column4x4 < column4x4_end_; in ThreadedParseAndDecode() 775 column4x4 += block_width4x4, ++column_index) { in ThreadedParseAndDecode() [all …]
|
D | prediction.cc | 410 const int column = block.column4x4 + (~block.column4x4 & subsampling_x); in GetIntraEdgeFilterType() 415 const int column = block.column4x4 - 1 - (block.column4x4 & subsampling_x); in GetIntraEdgeFilterType() 683 DivideBy4(prediction_height), block.row4x4, block.column4x4, in GetWarpParams() 854 std::min(block.column4x4 + block.width4x4, frame_header_.columns4x4); in ObmcPrediction() 857 int column4x4 = block.column4x4; in ObmcPrediction() local 859 for (int i = 0, step; i < num_limit && column4x4 < column4x4_max; in ObmcPrediction() 860 column4x4 += step) { in ObmcPrediction() 861 const int candidate_column = column4x4 | 1; in ObmcPrediction() 876 MultiplyBy4(column4x4) >> subsampling_x, block_start_y, in ObmcPrediction() 888 const int candidate_column = block.column4x4 - 1; in ObmcPrediction() [all …]
|