/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() 449 (kNoiseStripeHeight >> subsampling_y_) * in AllocateNoiseStripes() 452 noise_buffer += max_luma_num * (kNoiseStripeHeight >> subsampling_y_) * in AllocateNoiseStripes() 456 (kNoiseStripeHeight >> subsampling_y_) * in AllocateNoiseStripes() 472 (height_ + subsampling_y_) >> subsampling_y_, in AllocateNoiseImage() 478 (height_ + subsampling_y_) >> subsampling_y_, in AllocateNoiseImage() 576 source_plane_uv + (start_height >> subsampling_y_) * source_stride_uv); in BlendNoiseChromaWorker() 578 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() 78 : RightShiftWithRounding(height, subsampling_y_); in Reset() 124 RowOrColumn4x4ToPixel(row4x4, plane, subsampling_y_); in PopulateUnitInfoForSuperBlock() 126 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 | 240 RowOrColumn4x4ToPixel(row4x4, plane, subsampling_y_[plane]) * in GetBufferOffset() 474 const int8_t subsampling_y_[kMaxPlanes]; variable
|
D | yuv_buffer.cc | 189 subsampling_y_ = subsampling_y; in Realloc()
|
D | tile.h | 591 const int8_t subsampling_y_[kMaxPlanes]; variable 756 [tile.subsampling_y_[kPlaneU]]; in Block()
|
/external/libgav1/libgav1/src/post_filter/ |
D | loop_restoration.cc | 136 const int deblock_buffer_units = 64 >> subsampling_y_[plane]; in ApplyLoopRestorationForOneRowInWindow() 186 kRestorationUnitOffset >> subsampling_y_[plane]; in ApplyLoopRestorationSingleThread() 188 RightShiftWithRounding(height_, subsampling_y_[plane]); in ApplyLoopRestorationSingleThread() 195 kRestorationUnitHeight >> subsampling_y_[plane]; in ApplyLoopRestorationSingleThread() 198 : (MultiplyBy4(row4x4_start) >> subsampling_y_[plane]) - in ApplyLoopRestorationSingleThread() 236 kRestorationUnitHeight, kRestorationUnitHeight >> subsampling_y_[kPlaneU], in ApplyLoopRestorationThreaded() 237 kRestorationUnitHeight >> subsampling_y_[kPlaneV]}; in ApplyLoopRestorationThreaded() 251 kRestorationUnitOffset >> subsampling_y_[plane]; in ApplyLoopRestorationThreaded() 260 RightShiftWithRounding(height_, subsampling_y_[plane]); in ApplyLoopRestorationThreaded()
|
D | super_res.cc | 102 (MultiplyBy4(row4x4) >> subsampling_y_[plane]) + num_rows_extra; in ApplySuperResForOneSuperBlockRow() 109 rows[plane] = (8 >> subsampling_y_[plane]) - num_rows_extra; in ApplySuperResForOneSuperBlockRow() 120 (MultiplyBy4(row4x4_start) >> subsampling_y_[plane]) * in ApplySuperResForOneSuperBlockRow() 127 rows[plane] = (MultiplyBy4(num_rows4x4) >> subsampling_y_[plane]) + in ApplySuperResForOneSuperBlockRow() 163 rows[plane] = MultiplyBy4(thread_pool_rows4x4) >> subsampling_y_[plane]; in ApplySuperResThreaded() 166 MultiplyBy4(current_thread_rows4x4) >> subsampling_y_[plane]; in ApplySuperResThreaded()
|
D | post_filter.cc | 158 subsampling_y_{0, sequence_header.color_config.subsampling_y, 268 RightShiftWithRounding(height_, subsampling_y_[plane]); in ExtendBordersForReferenceFrame() 300 SubsampledValue(frame_header_.height, subsampling_y_[plane]); in CopyDeblockedPixels() 302 int row = kDeblockedRowsForLoopRestoration[subsampling_y_[plane]][i]; in CopyDeblockedPixels() 304 (MultiplyBy4(row4x4) >> subsampling_y_[plane]) + row; in CopyDeblockedPixels() 344 RightShiftWithRounding(height_, subsampling_y_[plane]); in CopyBordersForOneSuperBlockRow() 345 const int row = (MultiplyBy4(row4x4) - row_offset) >> subsampling_y_[plane]; in CopyBordersForOneSuperBlockRow() 350 subsampling_y_[plane]) + in CopyBordersForOneSuperBlockRow()
|
D | cdef.cc | 85 start_y % (window_buffer_height_ >> subsampling_y_[plane]); in GetCdefBufferAndStride() 102 const int8_t subsampling_y = y_plane ? 0 : subsampling_y_[kPlaneU]; in PrepareCdefBlock() 196 const int start_y = MultiplyBy4(row4x4_start) >> subsampling_y_[plane]; in ApplyCdefForOneUnit() 202 cdef_buffer_stride[plane] * (kStep >> subsampling_y_[plane]); in ApplyCdefForOneUnit() 207 frame_buffer_.stride(plane) * (kStep >> subsampling_y_[plane]); in ApplyCdefForOneUnit() 216 MultiplyBy4(block_height4x4) >> subsampling_y_[plane], in ApplyCdefForOneUnit() 334 MultiplyBy4(block_height4x4) >> subsampling_y_[plane], in ApplyCdefForOneUnit() 351 const int8_t subsampling_y = subsampling_y_[plane]; in ApplyCdefForOneUnit() 540 const int plane_row = MultiplyBy4(row4x4) >> subsampling_y_[plane]; in ApplyCdefThreaded() 548 copy_height = MultiplyBy4(copy_height) >> subsampling_y_[plane]; in ApplyCdefThreaded()
|
D | deblock.cc | 158 const int subsampling_y = subsampling_y_[kPlaneU]; in GetHorizontalDeblockFilterEdgeInfoUV() 333 const int8_t subsampling_y = subsampling_y_[kPlaneU]; in HorizontalDeblockFilter() 410 const int8_t subsampling_y = subsampling_y_[kPlaneU]; in VerticalDeblockFilter()
|
/external/libgav1/libgav1/src/tile/ |
D | prediction.cc | 230 const int y_shift = subsampling_y_[plane]; in IntraPrediction() 291 subsampling_y_[plane]; in IntraPrediction() 405 const int subsampling_y = subsampling_y_[plane]; in GetIntraEdgeFilterType() 550 const int subsampling_y = subsampling_y_[plane]; in ChromaFromLumaPrediction() 762 const int subsampling_y = subsampling_y_[plane]; in InterPrediction() 854 const int subsampling_y = subsampling_y_[plane]; in ObmcPrediction() 1073 const int subsampling_y = subsampling_y_[plane]; in BlockInterPrediction() 1260 const int src_y = (start_y + 4) << subsampling_y_[plane]; in BlockWarpProcess() 1264 const int y4 = dst_y >> subsampling_y_[plane]; in BlockWarpProcess() 1271 reference_y_max = LeftShift(reference_y_max, subsampling_y_[plane]); in BlockWarpProcess() [all …]
|
D | tile.cc | 439 subsampling_y_{0, sequence_header.color_config.subsampling_y, 546 RightShiftWithRounding(frame_header_.height, subsampling_y_[plane]); 549 << subsampling_y_[plane]); 926 (MultiplyBy4(row4x4 + block_width4x4) >> subsampling_y_[plane]) - 1; in PopulateIntraPredictionBuffer() 954 const int max_y4x4 = frame_header_.rows4x4 >> subsampling_y_[plane]; in GetTransformAllZeroContext() 1038 const int y4 = std::max(block.row4x4, block_y << subsampling_y_[kPlaneU]); in ComputeTransformType() 1245 const int max_y4x4 = frame_header_.rows4x4 >> subsampling_y_[plane]; in GetDcSignContext() 1267 const int max_y4x4 = frame_header_.rows4x4 >> subsampling_y_[plane]; in SetEntropyContexts() 1296 int orig_y = (y << kSubPixelBits) + ((2 * mv.mv[0]) >> subsampling_y_[plane]); in ScaleMotionVector() 1605 const int subsampling_y = subsampling_y_[plane]; in TransformBlock() [all …]
|