Searched refs:DivideBy2 (Results 1 – 16 of 16) sorted by relevance
/external/libgav1/libgav1/src/dsp/x86/ |
D | super_res_sse4.cc | 98 auto* src = static_cast<uint8_t*>(source) - DivideBy2(kSuperResFilterTaps); in SuperRes_SSE4_1() 104 ExtendLine<uint8_t>(src + DivideBy2(kSuperResFilterTaps), downscaled_width, in SuperRes_SSE4_1() 235 auto* src = static_cast<uint16_t*>(source) - DivideBy2(kSuperResFilterTaps); in SuperRes_SSE4_1() 241 ExtendLine<uint16_t>(src + DivideBy2(kSuperResFilterTaps), downscaled_width, in SuperRes_SSE4_1()
|
/external/libgav1/libgav1/src/dsp/ |
D | super_res.cc | 34 auto* src = static_cast<Pixel*>(source) - DivideBy2(kSuperResFilterTaps); in SuperRes_C() 38 ExtendLine<Pixel>(src + DivideBy2(kSuperResFilterTaps), downscaled_width, in SuperRes_C()
|
D | film_grain.cc | 236 const int half_width = DivideBy2(width + 1); in ConstructNoiseStripes_C() 237 const int half_height = DivideBy2(height + 1); in ConstructNoiseStripes_C() 301 const int half_width = DivideBy2(width + 1); in ConstructNoiseStripesWithOverlap_C() 302 const int half_height = DivideBy2(height + 1); in ConstructNoiseStripesWithOverlap_C()
|
D | inverse_transform.cc | 291 56 - MultiplyBy32(i) + MultiplyBy64(DivideBy2(j)), true, range); in Dct_C() 315 ButterflyRotation_C(dst, 29 - i, i + 18, 48 + 64 * DivideBy2(i), true, in Dct_C()
|
/external/libgav1/libgav1/src/dsp/arm/ |
D | super_res_neon.cc | 89 auto* src = static_cast<uint8_t*>(source) - DivideBy2(kSuperResFilterTaps); in SuperRes_NEON() 95 ExtendLine<uint8_t>(src + DivideBy2(kSuperResFilterTaps), downscaled_width, in SuperRes_NEON() 242 auto* src = static_cast<uint16_t*>(source) - DivideBy2(kSuperResFilterTaps); in SuperRes_NEON() 248 ExtendLine<uint16_t>(src + DivideBy2(kSuperResFilterTaps), downscaled_width, in SuperRes_NEON()
|
/external/libgav1/libgav1/src/ |
D | prediction_mask.cc | 198 DivideBy2(kWedgeMaskMasterSize) - in GenerateWedgeMask() 201 DivideBy2(kWedgeMaskMasterSize) - in GenerateWedgeMask()
|
D | buffer_pool.cc | 74 const int rows4x4_half = DivideBy2(rows4x4_); in SetFrameDimensions() 75 const int columns4x4_half = DivideBy2(columns4x4_); in SetFrameDimensions()
|
D | motion_vector.cc | 78 const int x = MultiplyBy4(block.column4x4) + DivideBy2(block.width) - 1; in SetupGlobalMv() 79 const int y = MultiplyBy4(block.row4x4) + DivideBy2(block.height) - 1; in SetupGlobalMv() 936 const int y8_start = DivideBy2(row4x4_start); in SetupMotionField() 937 const int y8_end = DivideBy2(std::min(row4x4_end, frame_header.rows4x4)); in SetupMotionField() 938 const int x8_start = DivideBy2(column4x4_start); in SetupMotionField() 940 DivideBy2(std::min(column4x4_end, frame_header.columns4x4)); in SetupMotionField()
|
D | decoder_impl.cc | 1253 DivideBy2(frame_header.rows4x4), DivideBy2(frame_header.columns4x4), in DecodeTiles() 1256 DivideBy2(frame_header.rows4x4), DivideBy2(frame_header.columns4x4), in DecodeTiles()
|
D | film_grain.cc | 424 const int half_height = DivideBy2(height_ + 1); in AllocateNoiseStripes()
|
D | obu_parser.cc | 1919 if (diff_frame_id >= DivideBy2(id_length_max_value)) { in ParseFrameParameters()
|
/external/libgav1/libgav1/src/tile/ |
D | tile.cc | 1120 ((neighbor_sum > 7) ? 4 : DivideBy2(neighbor_sum)) + in ReadCoeffBase2D() 1129 int context = std::min(6, DivideBy2(1 + quantized[1] + // {0, 1} in ReadCoeffBase2D() 1147 std::min(6, DivideBy2(1 + quantized[1] + // {0, 1} in ReadCoeffBase2D() 1189 const int context = ((neighbor_sum > 7) ? 4 : DivideBy2(neighbor_sum)) + in ReadCoeffBaseHorizontal() 1198 int context = std::min(6, DivideBy2(1 + quantized[1] + // {0, 1} in ReadCoeffBaseHorizontal() 1235 const int context = ((neighbor_sum > 7) ? 4 : DivideBy2(neighbor_sum)) + in ReadCoeffBaseVertical() 1246 std::min(6, DivideBy2(1 + quantized_column1 + // {0, 1} in ReadCoeffBaseVertical() 1707 const int half_width = DivideBy2(width); in TransformTree() 1713 const int half_height = DivideBy2(height); in TransformTree() 2574 const int row_start8x8 = DivideBy2(row_start4x4); in StoreMotionFieldMvsIntoCurrentFrame() [all …]
|
D | prediction.cc | 66 return kDirectionalIntraPredictorDerivative[DivideBy2(angle) - 1]; in GetDirectionalIntraPredictorDerivative() 966 DivideBy2(1 << (kScaleSubPixelBits - kSubPixelBits)); in ScaleMotionVector() 969 DivideBy2(frame_header_.width)) / in ScaleMotionVector() 988 DivideBy2(frame_header_.height)) / in ScaleMotionVector()
|
/external/libgav1/libgav1/src/utils/ |
D | common.h | 265 constexpr int DivideBy2(int n) { return n >> 1; } in DivideBy2() function
|
D | entropy_decoder.cc | 771 const int mid = DivideBy2(low + high); in ReadSymbolImplBinarySearch()
|
/external/libgav1/libgav1/src/post_filter/ |
D | post_filter.cc | 204 DivideBy2(upscaled_width)) /
|