Lines Matching refs:src_stride
57 void TransposeWx8_NEON(const uint8* src, int src_stride,
60 void TransposeUVWx8_NEON(const uint8* src, int src_stride,
71 static void TransposeWx8_SSSE3(const uint8* src, int src_stride, in TransposeWx8_SSSE3() argument
161 static void TransposeUVWx8_SSE2(const uint8* src, int src_stride, in TransposeUVWx8_SSE2() argument
289 static void TransposeWx8_SSSE3(const uint8* src, int src_stride, in TransposeWx8_SSSE3() argument
366 : "r"(static_cast<intptr_t>(src_stride)), // %3 in TransposeWx8_SSSE3()
374 extern "C" void TransposeUVWx8_SSE2(const uint8* src, int src_stride,
504 static void TransposeWx8_FAST_SSSE3(const uint8* src, int src_stride, in TransposeWx8_FAST_SSSE3() argument
633 : "r"(static_cast<intptr_t>(src_stride)), // %3 in TransposeWx8_FAST_SSSE3()
640 static void TransposeUVWx8_SSE2(const uint8* src, int src_stride, in TransposeUVWx8_SSE2() argument
740 : "r"(static_cast<intptr_t>(src_stride)), // %4 in TransposeUVWx8_SSE2()
749 static void TransposeWx8_C(const uint8* src, int src_stride, in TransposeWx8_C() argument
754 dst[0] = src[0 * src_stride]; in TransposeWx8_C()
755 dst[1] = src[1 * src_stride]; in TransposeWx8_C()
756 dst[2] = src[2 * src_stride]; in TransposeWx8_C()
757 dst[3] = src[3 * src_stride]; in TransposeWx8_C()
758 dst[4] = src[4 * src_stride]; in TransposeWx8_C()
759 dst[5] = src[5 * src_stride]; in TransposeWx8_C()
760 dst[6] = src[6 * src_stride]; in TransposeWx8_C()
761 dst[7] = src[7 * src_stride]; in TransposeWx8_C()
767 static void TransposeWxH_C(const uint8* src, int src_stride, in TransposeWxH_C() argument
773 dst[i * dst_stride + j] = src[j * src_stride + i]; in TransposeWxH_C()
776 void TransposePlane(const uint8* src, int src_stride, in TransposePlane() argument
786 IS_ALIGNED(src, 8) && (src_stride % 8 == 0) && in TransposePlane()
795 IS_ALIGNED(src, 16) && (src_stride % 16 == 0) && in TransposePlane()
804 IS_ALIGNED(src, 8) && (src_stride % 8 == 0) && in TransposePlane()
817 TransposeWx8(src, src_stride, dst, dst_stride, width); in TransposePlane()
819 src += 8 * src_stride; // go down 8 rows in TransposePlane()
824 TransposeWxH(src, src_stride, dst, dst_stride, width, i); in TransposePlane()
827 void RotatePlane90(const uint8* src, int src_stride, in RotatePlane90() argument
833 src += src_stride * (height - 1); in RotatePlane90()
834 src_stride = -src_stride; in RotatePlane90()
836 TransposePlane(src, src_stride, dst, dst_stride, width, height); in RotatePlane90()
839 void RotatePlane270(const uint8* src, int src_stride, in RotatePlane270() argument
848 TransposePlane(src, src_stride, dst, dst_stride, width, height); in RotatePlane270()
907 void RotatePlane180(const uint8* src, int src_stride, in RotatePlane180() argument
916 IS_ALIGNED(src, 16) && (src_stride % 16 == 0) && in RotatePlane180()
924 IS_ALIGNED(src, 16) && (src_stride % 16 == 0) && in RotatePlane180()
933 src += src_stride * (height - 1); in RotatePlane180()
937 src -= src_stride; in RotatePlane180()
942 static void TransposeUVWx8_C(const uint8* src, int src_stride, in TransposeUVWx8_C() argument
948 dst_a[0] = src[0 * src_stride + 0]; in TransposeUVWx8_C()
949 dst_b[0] = src[0 * src_stride + 1]; in TransposeUVWx8_C()
950 dst_a[1] = src[1 * src_stride + 0]; in TransposeUVWx8_C()
951 dst_b[1] = src[1 * src_stride + 1]; in TransposeUVWx8_C()
952 dst_a[2] = src[2 * src_stride + 0]; in TransposeUVWx8_C()
953 dst_b[2] = src[2 * src_stride + 1]; in TransposeUVWx8_C()
954 dst_a[3] = src[3 * src_stride + 0]; in TransposeUVWx8_C()
955 dst_b[3] = src[3 * src_stride + 1]; in TransposeUVWx8_C()
956 dst_a[4] = src[4 * src_stride + 0]; in TransposeUVWx8_C()
957 dst_b[4] = src[4 * src_stride + 1]; in TransposeUVWx8_C()
958 dst_a[5] = src[5 * src_stride + 0]; in TransposeUVWx8_C()
959 dst_b[5] = src[5 * src_stride + 1]; in TransposeUVWx8_C()
960 dst_a[6] = src[6 * src_stride + 0]; in TransposeUVWx8_C()
961 dst_b[6] = src[6 * src_stride + 1]; in TransposeUVWx8_C()
962 dst_a[7] = src[7 * src_stride + 0]; in TransposeUVWx8_C()
963 dst_b[7] = src[7 * src_stride + 1]; in TransposeUVWx8_C()
970 static void TransposeUVWxH_C(const uint8* src, int src_stride, in TransposeUVWxH_C() argument
977 dst_a[j + ((i >> 1) * dst_stride_a)] = src[i + (j * src_stride)]; in TransposeUVWxH_C()
978 dst_b[j + ((i >> 1) * dst_stride_b)] = src[i + (j * src_stride) + 1]; in TransposeUVWxH_C()
982 void TransposeUV(const uint8* src, int src_stride, in TransposeUV() argument
1001 IS_ALIGNED(src, 16) && (src_stride % 16 == 0) && in TransposeUV()
1015 TransposeWx8(src, src_stride, in TransposeUV()
1020 src += 8 * src_stride; // go down 8 rows in TransposeUV()
1026 TransposeWxH(src, src_stride, in TransposeUV()
1038 void RotateUV90(const uint8* src, int src_stride, in RotateUV90() argument
1042 src += src_stride * (height - 1); in RotateUV90()
1043 src_stride = -src_stride; in RotateUV90()
1045 TransposeUV(src, src_stride, in RotateUV90()
1051 void RotateUV270(const uint8* src, int src_stride, in RotateUV270() argument
1060 TransposeUV(src, src_stride, in RotateUV270()
1138 void RotateUV180(const uint8* src, int src_stride, in RotateUV180() argument
1148 IS_ALIGNED(src, 16) && (src_stride % 16 == 0) && in RotateUV180()
1157 IS_ALIGNED(src, 16) && (src_stride % 16 == 0) && in RotateUV180()
1173 src += src_stride; // down one line at a time in RotateUV180()