Home
last modified time | relevance | path

Searched refs:kScaleSubPixelBits (Results 1 – 5 of 5) sorted by relevance

/external/libgav1/libgav1/src/dsp/
Dconvolve.cc71 (((height - 1) * step_y + (1 << kScaleSubPixelBits) - 1) >> in ConvolveScale2D_C()
72 kScaleSubPixelBits) + in ConvolveScale2D_C()
92 const int ref_x = subpixel_x >> kScaleSubPixelBits; in ConvolveScale2D_C()
101 const Pixel* src_x = &src[(p >> kScaleSubPixelBits) - ref_x]; in ConvolveScale2D_C()
127 intermediate[((p >> kScaleSubPixelBits) + k) * intermediate_stride + in ConvolveScale2D_C()
158 (((height - 1) * step_y + (1 << kScaleSubPixelBits) - 1) >> in ConvolveCompoundScale2D_C()
159 kScaleSubPixelBits) + in ConvolveCompoundScale2D_C()
177 const int ref_x = subpixel_x >> kScaleSubPixelBits; in ConvolveCompoundScale2D_C()
186 const Pixel* src_x = &src[(p >> kScaleSubPixelBits) - ref_x]; in ConvolveCompoundScale2D_C()
212 intermediate[((p >> kScaleSubPixelBits) + k) * intermediate_stride + in ConvolveCompoundScale2D_C()
/external/libgav1/libgav1/src/dsp/arm/
Dconvolve_neon.cc844 const int ref_x = subpixel_x >> kScaleSubPixelBits; in ConvolveKernelHorizontal2Tap()
855 &src[(p >> kScaleSubPixelBits) - ref_x + kernel_offset]; in ConvolveKernelHorizontal2Tap()
873 vmovn_u16(vshrq_n_u16(subpel_index_offsets, kScaleSubPixelBits)); in ConvolveKernelHorizontal2Tap()
893 &src[(p >> kScaleSubPixelBits) - ref_x + kernel_offset]; in ConvolveKernelHorizontal2Tap()
913 vmovn_u16(vshrq_n_u16(subpel_index_offsets, kScaleSubPixelBits)); in ConvolveKernelHorizontal2Tap()
949 const int ref_x = subpixel_x >> kScaleSubPixelBits; in ConvolveKernelHorizontalPositive4Tap()
960 &src[(p >> kScaleSubPixelBits) - ref_x + kernel_offset]; in ConvolveKernelHorizontalPositive4Tap()
974 vmovn_u16(vshrq_n_u16(subpel_index_offsets, kScaleSubPixelBits)); in ConvolveKernelHorizontalPositive4Tap()
1016 const int ref_x = subpixel_x >> kScaleSubPixelBits; in ConvolveKernelHorizontalSigned4Tap()
1027 &src[(p >> kScaleSubPixelBits) - ref_x + kernel_offset]; in ConvolveKernelHorizontalSigned4Tap()
[all …]
/external/libgav1/libgav1/src/tile/
Dprediction.cc211 return (start + step * offset) >> kScaleSubPixelBits; in GetPixelPositionFromHighScale()
966 DivideBy2(1 << (kScaleSubPixelBits - kSubPixelBits)); in ScaleMotionVector()
972 scale_x, kReferenceScaleShift - kScaleSubPixelBits); in ScaleMotionVector()
980 base_x, kReferenceScaleShift + kSubPixelBits - kScaleSubPixelBits) + in ScaleMotionVector()
983 *step_x = 1 << kScaleSubPixelBits; in ScaleMotionVector()
991 scale_y, kReferenceScaleShift - kScaleSubPixelBits); in ScaleMotionVector()
997 base_y, kReferenceScaleShift + kSubPixelBits - kScaleSubPixelBits) + in ScaleMotionVector()
1000 *step_y = 1 << kScaleSubPixelBits; in ScaleMotionVector()
1028 (((height - 1) * step_y + (1 << kScaleSubPixelBits) - 1) >> in GetReferenceBlockPosition()
1029 kScaleSubPixelBits) + in GetReferenceBlockPosition()
[all …]
/external/libgav1/libgav1/src/dsp/x86/
Dconvolve_sse4.cc896 _mm_srli_epi16(subpel_indices, kScaleSubPixelBits); in HorizontalScaleIndices()
909 const int ref_x = subpixel_x >> kScaleSubPixelBits; in ConvolveHorizontalScale()
924 &src[(p >> kScaleSubPixelBits) - ref_x + kernel_offset]; in ConvolveHorizontalScale()
952 &src[(p >> kScaleSubPixelBits) - ref_x + kernel_offset]; in ConvolveHorizontalScale()
1101 src_y = src + (p >> kScaleSubPixelBits) * src_stride; in ConvolveVerticalScale()
1111 src_y = src + (p >> kScaleSubPixelBits) * src_stride; in ConvolveVerticalScale()
1142 src_y = src + (p >> kScaleSubPixelBits) * src_stride; in ConvolveVerticalScale()
1191 (((height - 1) * step_y + (1 << kScaleSubPixelBits) - 1) >> in ConvolveScale2D_SSE4_1()
1192 kScaleSubPixelBits) + in ConvolveScale2D_SSE4_1()
1217 (kernel_start_ceiling << kScaleSubPixelBits) / 7; in ConvolveScale2D_SSE4_1()
/external/libgav1/libgav1/src/utils/
Dconstants.h149 kScaleSubPixelBits = 10, enumerator