Home
last modified time | relevance | path

Searched refs:DivideBy2 (Results 1 – 16 of 16) sorted by relevance

/external/libgav1/libgav1/src/dsp/x86/
Dsuper_res_sse4.cc98 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/
Dsuper_res.cc34 auto* src = static_cast<Pixel*>(source) - DivideBy2(kSuperResFilterTaps); in SuperRes_C()
38 ExtendLine<Pixel>(src + DivideBy2(kSuperResFilterTaps), downscaled_width, in SuperRes_C()
Dfilm_grain.cc236 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()
Dinverse_transform.cc291 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/
Dsuper_res_neon.cc89 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/
Dprediction_mask.cc198 DivideBy2(kWedgeMaskMasterSize) - in GenerateWedgeMask()
201 DivideBy2(kWedgeMaskMasterSize) - in GenerateWedgeMask()
Dbuffer_pool.cc74 const int rows4x4_half = DivideBy2(rows4x4_); in SetFrameDimensions()
75 const int columns4x4_half = DivideBy2(columns4x4_); in SetFrameDimensions()
Dmotion_vector.cc78 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()
Ddecoder_impl.cc1253 DivideBy2(frame_header.rows4x4), DivideBy2(frame_header.columns4x4), in DecodeTiles()
1256 DivideBy2(frame_header.rows4x4), DivideBy2(frame_header.columns4x4), in DecodeTiles()
Dfilm_grain.cc424 const int half_height = DivideBy2(height_ + 1); in AllocateNoiseStripes()
Dobu_parser.cc1919 if (diff_frame_id >= DivideBy2(id_length_max_value)) { in ParseFrameParameters()
/external/libgav1/libgav1/src/tile/
Dtile.cc1120 ((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 …]
Dprediction.cc66 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/
Dcommon.h265 constexpr int DivideBy2(int n) { return n >> 1; } in DivideBy2() function
Dentropy_decoder.cc771 const int mid = DivideBy2(low + high); in ReadSymbolImplBinarySearch()
/external/libgav1/libgav1/src/post_filter/
Dpost_filter.cc204 DivideBy2(upscaled_width)) /