/external/libgav1/libgav1/src/ |
D | film_grain.cc | 271 subsampling_y_(subsampling_y), in FilmGrain() 306 params_, luma_grain_, subsampling_x_, subsampling_y_, u_grain_, in Init() 435 (kNoiseStripeHeight >> subsampling_y_) * in AllocateNoiseStripes() 448 (kNoiseStripeHeight >> subsampling_y_) * in AllocateNoiseStripes() 451 noise_buffer += max_luma_num * (kNoiseStripeHeight >> subsampling_y_) * in AllocateNoiseStripes() 454 (kNoiseStripeHeight >> subsampling_y_) * in AllocateNoiseStripes() 470 (height_ + subsampling_y_) >> subsampling_y_, in AllocateNoiseImage() 476 (height_ + subsampling_y_) >> subsampling_y_, in AllocateNoiseImage() 574 source_plane_uv + (start_height >> subsampling_y_) * source_stride_uv); in BlendNoiseChromaWorker() 576 dest_plane_uv + (start_height >> subsampling_y_) * dest_stride_uv); in BlendNoiseChromaWorker() [all …]
|
D | loop_restoration_info.cc | 63 subsampling_y_ = subsampling_y; in Reset() 76 (plane == kPlaneY) ? height : SubsampledValue(height, subsampling_y_); in Reset() 120 RowOrColumn4x4ToPixel(row4x4, plane, subsampling_y_); in PopulateUnitInfoForSuperBlock() 122 row4x4 + kNum4x4BlocksHigh[block_size], plane, subsampling_y_); in PopulateUnitInfoForSuperBlock()
|
D | yuv_buffer.h | 98 int8_t subsampling_y() const { return subsampling_y_; } in subsampling_y() 178 int8_t subsampling_y_ = 0; // 0 or 1. variable
|
D | loop_restoration_info.h | 96 int8_t subsampling_y_; variable
|
D | film_grain.h | 134 const int subsampling_y_; variable
|
D | post_filter.h | 223 return base_buffer + (row >> subsampling_y_[plane]) * stride + in GetBufferOffset() 477 const int8_t subsampling_y_[kMaxPlanes]; variable
|
D | yuv_buffer.cc | 189 subsampling_y_ = subsampling_y; in Realloc()
|
D | tile.h | 602 const int8_t subsampling_y_[kMaxPlanes]; variable 768 [tile.subsampling_y_[kPlaneU]]; in Block()
|
/external/libgav1/libgav1/src/post_filter/ |
D | super_res.cc | 113 (MultiplyBy4(row4x4) >> subsampling_y_[plane]) + num_rows_extra; in ApplySuperResForOneSuperBlockRow() 122 rows[plane] = (8 >> 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() 155 if ((thread_pool_rows & 1) != 0 && subsampling_y_[kPlaneU] != 0) { in ApplySuperResThreaded() 163 if ((current_thread_rows & 1) != 0 && subsampling_y_[kPlaneU] != 0) { in ApplySuperResThreaded() 185 subsampling_y_[plane]) - in ApplySuperResThreaded()
|
D | post_filter.cc | 157 subsampling_y_{0, sequence_header.color_config.subsampling_y, 287 const int plane_height = SubsampledValue(height_, subsampling_y_[plane]); in ExtendBordersForReferenceFrame() 319 SubsampledValue(frame_header_.height, subsampling_y_[plane]); in CopyDeblockedPixels() 320 int row = kLoopRestorationBorderRows[subsampling_y_[plane]]; in CopyDeblockedPixels() 321 const int absolute_row = (MultiplyBy4(row4x4) >> subsampling_y_[plane]) + row; in CopyDeblockedPixels() 350 const int plane_height = SubsampledValue(height_, subsampling_y_[plane]); in CopyBordersForOneSuperBlockRow() 351 const int row = (MultiplyBy4(row4x4) - row_offset) >> subsampling_y_[plane]; in CopyBordersForOneSuperBlockRow() 356 subsampling_y_[plane]) + in CopyBordersForOneSuperBlockRow() 402 const int plane_height = SubsampledValue(height_, subsampling_y_[plane]); in SetupLoopRestorationBorder() 403 const int row = kLoopRestorationBorderRows[subsampling_y_[plane]]; in SetupLoopRestorationBorder() [all …]
|
D | loop_restoration.cc | 36 RightShiftWithCeiling(unit_y, 4 - subsampling_y_[plane]) - 4, 0); in ApplyLoopRestorationForOneRow() 110 kRestorationUnitOffset >> subsampling_y_[plane]; in ApplyLoopRestorationForOneSuperBlockRow() 111 const int plane_height = SubsampledValue(height_, subsampling_y_[plane]); in ApplyLoopRestorationForOneSuperBlockRow() 116 kRestorationUnitHeight >> subsampling_y_[plane]; in ApplyLoopRestorationForOneSuperBlockRow() 119 : (MultiplyBy4(row4x4_start) >> subsampling_y_[plane]) - in ApplyLoopRestorationForOneSuperBlockRow()
|
D | cdef.cc | 101 subsampling_y_[plane]); in SetupCdefBorder() 103 const int row = kCdefBorderRows[subsampling_y_[plane]][i]; in SetupCdefBorder() 105 (MultiplyBy4(row4x4) >> subsampling_y_[plane]) + row; in SetupCdefBorder() 126 const int8_t subsampling_y = y_plane ? 0 : subsampling_y_[kPlaneU]; in PrepareCdefBlock() 281 frame_buffer_.stride(plane) * (kStep >> subsampling_y_[plane]); in ApplyCdefForOneUnit() 285 frame_buffer_.stride(plane) * (kStep >> subsampling_y_[plane]); in ApplyCdefForOneUnit() 292 kCdefUnitSizeWithBorders * (kStep >> subsampling_y_[plane]); in ApplyCdefForOneUnit() 312 MultiplyBy4(block_height4x4) >> subsampling_y_[plane], in ApplyCdefForOneUnit() 475 MultiplyBy4(block_height4x4) >> subsampling_y_[plane], in ApplyCdefForOneUnit() 494 MultiplyBy4(block_height4x4) >> subsampling_y_[plane], in ApplyCdefForOneUnit() [all …]
|
D | deblock.cc | 157 const int subsampling_y = subsampling_y_[kPlaneU]; in GetHorizontalDeblockFilterEdgeInfoUV() 332 const int8_t subsampling_y = subsampling_y_[kPlaneU]; in HorizontalDeblockFilter() 410 const int8_t subsampling_y = subsampling_y_[kPlaneU]; in VerticalDeblockFilter()
|
/external/libwebm/common/ |
D | vp9_header_parser.cc | 31 subsampling_y_ = 0; in SetFrame() 87 subsampling_y_ = subsampling_x_ = 1; in ParseUncompressedHeader() 155 subsampling_y_ = ReadBit(); in ParseColorSpace() 158 subsampling_y_ = subsampling_x_ = 1; in ParseColorSpace() 163 subsampling_y_ = subsampling_x_ = 0; in ParseColorSpace()
|
D | vp9_header_parser.h | 46 subsampling_y_(0), in Vp9HeaderParser() 114 int subsampling_y_; variable
|
/external/libgav1/libgav1/src/tile/ |
D | prediction.cc | 232 const int y_shift = subsampling_y_[plane]; in IntraPrediction() 293 subsampling_y_[plane]; in IntraPrediction() 407 const int subsampling_y = subsampling_y_[plane]; in GetIntraEdgeFilterType() 545 const int subsampling_y = subsampling_y_[plane]; in ChromaFromLumaPrediction() 757 const int subsampling_y = subsampling_y_[plane]; in InterPrediction() 849 const int subsampling_y = subsampling_y_[plane]; in ObmcPrediction() 964 int orig_y = (y << kSubPixelBits) + ((2 * mv.mv[0]) >> subsampling_y_[plane]); in ScaleMotionVector() 1127 const int subsampling_y = subsampling_y_[plane]; in BlockInterPrediction() 1311 const int src_y = (start_y + 4) << subsampling_y_[plane]; in BlockWarpProcess() 1315 const int y4 = dst_y >> subsampling_y_[plane]; in BlockWarpProcess() [all …]
|
D | tile.cc | 437 subsampling_y_{0, sequence_header.color_config.subsampling_y, 545 SubsampledValue(frame_header_.height, subsampling_y_[plane]); 548 << subsampling_y_[plane]); 922 (MultiplyBy4(row4x4 + block_width4x4) >> subsampling_y_[plane]) - 1; in PopulateIntraPredictionBuffer() 950 const int max_y4x4 = frame_header_.rows4x4 >> subsampling_y_[plane]; in GetTransformAllZeroContext() 1034 const int y4 = std::max(block.row4x4, block_y << subsampling_y_[kPlaneU]); in ComputeTransformType() 1264 const int max_y4x4 = frame_header_.rows4x4 >> subsampling_y_[plane]; in GetDcSignContext() 1286 const int max_y4x4 = frame_header_.rows4x4 >> subsampling_y_[plane]; in SetEntropyContexts() 1574 const int subsampling_y = subsampling_y_[plane]; in TransformBlock() 1770 const int subsampling_y = subsampling_y_[plane]; in Residual() [all …]
|