Lines Matching refs:width
43 uint8* dst, int dst_stride, int width, int height) {
49 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(height, 4)) { // Width of dest.
54 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(height, 4)) { // Width of dest.
59 for (i = 0; i < width; ++i) { // column of source to row of dest.
67 uint8* dst, int dst_stride, int width, int height) {
73 ARGBTranspose(src, src_stride, dst, dst_stride, width, height);
77 uint8* dst, int dst_stride, int width, int height) {
81 dst += dst_stride * (width - 1);
83 ARGBTranspose(src, src_stride, dst, dst_stride, width, height);
87 uint8* dst, int dst_stride, int width, int height) {
89 align_buffer_64(row, width * 4);
94 void (*ARGBMirrorRow)(const uint8* src, uint8* dst, int width) =
96 void (*CopyRow)(const uint8* src, uint8* dst, int width) = CopyRow_C;
100 if (IS_ALIGNED(width, 4)) {
108 if (IS_ALIGNED(width, 4)) {
116 if (IS_ALIGNED(width, 8)) {
123 CopyRow = IS_ALIGNED(width * 4, 32) ? CopyRow_SSE2 : CopyRow_Any_SSE2;
128 CopyRow = IS_ALIGNED(width * 4, 64) ? CopyRow_AVX : CopyRow_Any_AVX;
138 CopyRow = IS_ALIGNED(width * 4, 32) ? CopyRow_NEON : CopyRow_Any_NEON;
149 ARGBMirrorRow(src, row, width); // Mirror first row into a buffer
150 ARGBMirrorRow(src_bot, dst, width); // Mirror last row into first row
151 CopyRow(row, dst_bot, width * 4); // Copy first mirrored row into last
162 uint8* dst_argb, int dst_stride_argb, int width, int height,
164 if (!src_argb || width <= 0 || height == 0 || !dst_argb) {
180 width, height);
184 width, height);
189 width, height);
194 width, height);