Lines Matching refs:row4x4
316 const int y_offset = y4 - block.row4x4; in SetTransformType()
373 const int macroblocks_to_top_edge = -block.row4x4; in GetClampParameters()
375 block.tile.frame_header().rows4x4 - block.height4x4 - block.row4x4; in GetClampParameters()
606 bool Tile::ProcessSuperBlockRow(int row4x4, in ProcessSuperBlockRow() argument
608 if (row4x4 < row4x4_start_ || row4x4 >= row4x4_end_) return true; in ProcessSuperBlockRow()
613 if (!ProcessSuperBlock(row4x4, column4x4, block_width4x4, scratch_buffer, in ProcessSuperBlockRow()
616 row4x4, column4x4); in ProcessSuperBlockRow()
620 if (save_symbol_decoder_context && row4x4 + block_width4x4 >= row4x4_end_) { in ProcessSuperBlockRow()
625 PopulateIntraPredictionBuffer(row4x4); in ProcessSuperBlockRow()
633 int row4x4, TileScratchBuffer* scratch_buffer);
636 int row4x4, TileScratchBuffer* scratch_buffer);
662 for (int row4x4 = row4x4_start_; row4x4 < row4x4_end_; in ParseAndDecode() local
663 row4x4 += block_width4x4) { in ParseAndDecode()
665 row4x4, scratch_buffer.get())) { in ParseAndDecode()
683 for (int row4x4 = row4x4_start_; row4x4 < row4x4_end_; in Parse() local
684 row4x4 += block_width4x4) { in Parse()
686 row4x4, scratch_buffer.get())) { in Parse()
707 for (int row4x4 = row4x4_start_, index = row4x4_start_ >> block_width4x4_log2; in Decode() local
708 row4x4 < row4x4_end_; row4x4 += block_width4x4, ++index) { in Decode()
710 row4x4, scratch_buffer.get())) { in Decode()
717 kLoopFilterTypeVertical, row4x4, in Decode()
723 if (row4x4 != row4x4_start_) { in Decode()
732 kLoopFilterTypeHorizontal, row4x4, in Decode()
775 for (int row4x4 = row4x4_start_, row_index = 0; row4x4 < row4x4_end_; in ThreadedParseAndDecode() local
776 row4x4 += block_width4x4, ++row_index) { in ThreadedParseAndDecode()
780 if (!ProcessSuperBlock(row4x4, column4x4, block_width4x4, in ThreadedParseAndDecode()
860 const int row4x4 = row4x4_start_ + (row_index * block_width4x4); in DecodeSuperBlock() local
866 ok = ProcessSuperBlock(row4x4, column4x4, block_width4x4, in DecodeSuperBlock()
916 void Tile::PopulateIntraPredictionBuffer(int row4x4) { in PopulateIntraPredictionBuffer() argument
918 if (!use_intra_prediction_buffer_ || row4x4 + block_width4x4 >= row4x4_end_) { in PopulateIntraPredictionBuffer()
926 (MultiplyBy4(row4x4 + block_width4x4) >> subsampling_y_[plane]) - 1; in PopulateIntraPredictionBuffer()
1031 return transform_types_[block_y - block.row4x4][block_x - block.column4x4]; in ComputeTransformType()
1038 const int y4 = std::max(block.row4x4, block_y << subsampling_y_[kPlaneU]); in ComputeTransformType()
1039 tx_type = transform_types_[y4 - block.row4x4][x4 - block.column4x4]; in ComputeTransformType()
1657 const int sb_row_index = SuperBlockRowIndex(block.row4x4); in TransformBlock()
1811 const int row_chunk4x4 = block.row4x4 + MultiplyBy16(chunk_y); in Residual()
1820 const int base_y = MultiplyBy4(block.row4x4 >> subsampling_y); in Residual()
1864 int src_top_edge = MultiplyBy4(block.row4x4) + delta_row; in IsMvValid()
1885 const int active_sb_row = MultiplyBy4(block.row4x4) >> sb_height_log2; in IsMvValid()
1983 if (block.row4x4 - super_block_size4x4 < row4x4_start_) { in AssignIntraMv()
2012 const int start_y = block.row4x4 >> subsampling_y; in ResetEntropyContext()
2014 std::min((block.row4x4 + block.height4x4) >> subsampling_y, in ResetEntropyContext()
2029 const int sub_block_row4x4 = block.row4x4 & mask; in ComputePrediction()
2049 const int base_y = MultiplyBy4(block.row4x4 >> subsampling_y); in ComputePrediction()
2071 int candidate_row = block.row4x4; in ComputePrediction()
2077 if (candidate_row != block.row4x4) { in ComputePrediction()
2093 *block_parameters_holder_.Find(block.row4x4, candidate_column); in ComputePrediction()
2100 candidate_row = block.row4x4; in ComputePrediction()
2149 bool Tile::ProcessBlock(int row4x4, int column4x4, BlockSize block_size, in ProcessBlock() argument
2157 if (row4x4 >= frame_header_.rows4x4 || in ProcessBlock()
2162 block_parameters_holder_.FillCache(row4x4, column4x4, block_size, &bp); in ProcessBlock()
2163 Block block(*this, block_size, row4x4, column4x4, scratch_buffer, residual); in ProcessBlock()
2202 const int y_limit = std::min(frame_header_.rows4x4 - row4x4, in ProcessBlock()
2204 current_frame_.segmentation_map()->FillBlock(row4x4, column4x4, x_limit, in ProcessBlock()
2217 const int row4x4 = tree->row4x4(); in DecodeBlock() local
2219 if (row4x4 >= frame_header_.rows4x4 || in DecodeBlock()
2224 Block block(*this, block_size, row4x4, column4x4, scratch_buffer, residual); in DecodeBlock()
2241 int row4x4 = row4x4_start; in ProcessPartition() local
2251 row4x4 = node->row4x4(); in ProcessPartition()
2255 if (row4x4 >= frame_header_.rows4x4 || in ProcessPartition()
2262 const bool has_rows = (row4x4 + half_block4x4) < frame_header_.rows4x4; in ProcessPartition()
2266 if (!ReadPartition(row4x4, column4x4, block_size, has_rows, has_columns, in ProcessPartition()
2269 row4x4, column4x4); in ProcessPartition()
2285 row4x4, column4x4, partition, block_size, sub_size, in ProcessPartition()
2296 if (!ProcessBlock(row4x4, column4x4, sub_size, node, scratch_buffer, in ProcessPartition()
2323 if (!ProcessBlock(child->row4x4(), child->column4x4(), in ProcessPartition()
2348 void Tile::ResetCdef(const int row4x4, const int column4x4) { in ResetCdef() argument
2350 const int row = DivideBy16(row4x4); in ResetCdef()
2355 const int border_row = DivideBy16(row4x4 + cdef_size4x4); in ResetCdef()
2364 int row4x4, int column4x4) { in ClearBlockDecoded() argument
2374 const int sb_height4 = (row4x4_end_ - row4x4) >> subsampling_y; in ClearBlockDecoded()
2398 bool Tile::ProcessSuperBlock(int row4x4, int column4x4, int block_width4x4, in ProcessSuperBlock() argument
2407 ResetCdef(row4x4, column4x4); in ProcessSuperBlock()
2410 ClearBlockDecoded(scratch_buffer, row4x4, column4x4); in ProcessSuperBlock()
2414 ReadLoopRestorationCoefficients(row4x4, column4x4, block_size); in ProcessSuperBlock()
2416 const int row = row4x4 / block_width4x4; in ProcessSuperBlock()
2420 if (!ProcessPartition(row4x4, column4x4, in ProcessSuperBlock()
2423 LIBGAV1_DLOG(ERROR, "Error decoding partition row: %d column: %d", row4x4, in ProcessSuperBlock()
2429 const int sb_row_index = SuperBlockRowIndex(row4x4); in ProcessSuperBlock()
2440 if (!ProcessPartition(row4x4, column4x4, in ProcessSuperBlock()
2443 LIBGAV1_DLOG(ERROR, "Error parsing partition row: %d column: %d", row4x4, in ProcessSuperBlock()
2453 row4x4, column4x4); in ProcessSuperBlock()
2478 node->row4x4(), node->column4x4()); in DecodeSuperBlock()
2485 void Tile::ReadLoopRestorationCoefficients(int row4x4, int column4x4, in ReadLoopRestorationCoefficients() argument
2495 frame_header_.superres_scale_denominator, row4x4, column4x4, in ReadLoopRestorationCoefficients()
2521 const int row_start4x4 = block.row4x4 | 1; in StoreMotionFieldMvsIntoCurrentFrame()
2523 std::min(block.row4x4 + block.height4x4, frame_header_.rows4x4); in StoreMotionFieldMvsIntoCurrentFrame()