Home | History | Annotate | Download | only in opts

Lines Matching refs:pixels

35 // @param xy is the location where the xy parameters for four pixels should be
81 // @param xy is the location where the xy parameters for four pixels should be
131 // @param pixel0..3 are the four input pixels
143 // Load 2 pairs of pixels
147 // Interleave pixels.
177 inline __m128i ScaleFourPixels(__m128i* pixels,
180 *pixels = _mm_srli_epi16(*pixels, scale);
184 *pixels = _mm_mullo_epi16(*pixels, alpha);
187 *pixels = _mm_srli_epi16(*pixels, 8);
189 return *pixels;
192 // Wrapper to calculate two output pixels from four input pixels. The
194 // eight input pixels, but since sub_y == 0, the factors applied to half of the
195 // pixels is zero (sub_y), and are therefore omitted here to save on some
219 // time instead of two. As in the above function, only two pixels are needed
268 // Process two pixel pairs out of eight input pixels.
269 // In other methods, the distinct pixels are passed one by one, but in this
270 // case, the rows, and index offsets to the pixels into the row are passed
271 // to generate the 8 pixels.
272 // @param row0..1 top and bottom row where to find input pixels.
273 // @param x0..1 offsets into the row for all eight input pixels.
375 // - calculating 4 output pixels at a time.
378 // This also allows us to store the four pixels with a single store.