Home
last modified time | relevance | path

Searched refs:filter_offset (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/skia/ext/
Dconvolver.cc136 int filter_offset, filter_length; in ConvolveHorizontally() local
138 filter.FilterForValue(out_x, &filter_offset, &filter_length); in ConvolveHorizontally()
142 const unsigned char* row_to_filter = &src_data[filter_offset * 4]; in ConvolveHorizontally()
267 void ConvolutionFilter1D::AddFilter(int filter_offset, in AddFilter() argument
278 AddFilter(filter_offset, &fixed_values[0], filter_length); in AddFilter()
281 void ConvolutionFilter1D::AddFilter(int filter_offset, in AddFilter() argument
299 filter_offset += first_non_zero; in AddFilter()
315 instance.offset = filter_offset; in AddFilter()
325 int* filter_offset, in GetSingleFilter() argument
328 *filter_offset = filter.offset; in GetSingleFilter()
[all …]
Dconvolver_mips_dspr2.cc23 int filter_offset, filter_length; in ConvolveHorizontally_mips_dspr2() local
25 filter.FilterForValue(out_x, &filter_offset, &filter_length); in ConvolveHorizontally_mips_dspr2()
125 [filter_offset] "r" (filter_offset), [src_data] "r" (src_data) in ConvolveHorizontally_mips_dspr2()
133 int filter_offset, filter_length; in ConvolveHorizontally_mips_dspr2() local
135 filter.FilterForValue(out_x, &filter_offset, &filter_length); in ConvolveHorizontally_mips_dspr2()
226 [filter_offset] "r" (filter_offset), [src_data] "r" (src_data) in ConvolveHorizontally_mips_dspr2()
Dconvolver.h88 SK_API void AddFilter(int filter_offset,
93 void AddFilter(int filter_offset,
103 int* filter_offset, in FilterForValue() argument
106 *filter_offset = filter.offset; in FilterForValue()
123 int* filter_offset,
Dconvolver_unittest.cc143 int filter_offset = 0; in TEST() local
152 values = filter.FilterForValue(0, &filter_offset, &filter_length); in TEST()
154 ASSERT_EQ(11, filter_offset); // Same as input offset. in TEST()
163 values = filter.FilterForValue(1, &filter_offset, &filter_length); in TEST()
165 ASSERT_EQ(23, filter_offset); // 22 plus 1 leading zero in TEST()
174 values = filter.FilterForValue(2, &filter_offset, &filter_length); in TEST()
176 ASSERT_EQ(33, filter_offset); // 33, same as input due to no leading zero in TEST()
185 values = filter.FilterForValue(3, &filter_offset, &filter_length); in TEST()
187 ASSERT_EQ(46, filter_offset); // 44 plus 2 leading zeroes in TEST()
198 values = filter.FilterForValue(4, &filter_offset, &filter_length); in TEST()
[all …]
Dconvolver_SSE2.cc23 int filter_offset, filter_length; in ConvolveHorizontally_SSE2() local
36 filter.FilterForValue(out_x, &filter_offset, &filter_length); in ConvolveHorizontally_SSE2()
43 reinterpret_cast<const __m128i*>(&src_data[filter_offset << 2]); in ConvolveHorizontally_SSE2()
152 int filter_offset, filter_length; in Convolve4RowsHorizontally_SSE2() local
165 filter.FilterForValue(out_x, &filter_offset, &filter_length); in Convolve4RowsHorizontally_SSE2()
172 int start = (filter_offset<<2); in Convolve4RowsHorizontally_SSE2()
/external/chromium_org/third_party/skia/src/opts/
DSkBitmapFilter_opts_SSE2.cpp187 int filter_offset, filter_length; in convolveHorizontally_SSE2() local
200 filter.FilterForValue(out_x, &filter_offset, &filter_length); in convolveHorizontally_SSE2()
207 reinterpret_cast<const __m128i*>(&src_data[filter_offset << 2]); in convolveHorizontally_SSE2()
316 int filter_offset, filter_length; in convolve4RowsHorizontally_SSE2() local
329 filter.FilterForValue(out_x, &filter_offset, &filter_length); in convolve4RowsHorizontally_SSE2()
336 int start = (filter_offset<<2); in convolve4RowsHorizontally_SSE2()
/external/skia/src/opts/
DSkBitmapFilter_opts_SSE2.cpp187 int filter_offset, filter_length; in convolveHorizontally_SSE2() local
200 filter.FilterForValue(out_x, &filter_offset, &filter_length); in convolveHorizontally_SSE2()
207 reinterpret_cast<const __m128i*>(&src_data[filter_offset << 2]); in convolveHorizontally_SSE2()
316 int filter_offset, filter_length; in convolve4RowsHorizontally_SSE2() local
329 filter.FilterForValue(out_x, &filter_offset, &filter_length); in convolve4RowsHorizontally_SSE2()
336 int start = (filter_offset<<2); in convolve4RowsHorizontally_SSE2()