Home | History | Annotate | Download | only in source

Lines Matching full:src_stride

52 void TransposeWx8_NEON(const uint8* src, int src_stride,
55 void TransposeUVWx8_NEON(const uint8* src, int src_stride,
64 static void TransposeWx8_SSSE3(const uint8* src, int src_stride,
71 mov edi, [esp + 12 + 8] // src_stride
156 static void TransposeUVWx8_SSE2(const uint8* src, int src_stride,
166 mov edi, [esp + 16 + 8] // src_stride
285 static void TransposeWx8_SSSE3(const uint8* src, int src_stride,
363 : "r"(static_cast<intptr_t>(src_stride)), // %3
374 extern "C" void TransposeUVWx8_SSE2(const uint8* src, int src_stride,
497 static void TransposeWx8_FAST_SSSE3(const uint8* src, int src_stride,
627 : "r"(static_cast<intptr_t>(src_stride)), // %3
636 static void TransposeUVWx8_SSE2(const uint8* src, int src_stride,
737 : "r"(static_cast<intptr_t>(src_stride)), // %4
748 static void TransposeWx8_C(const uint8* src, int src_stride,
752 dst[0] = src[0 * src_stride];
753 dst[1] = src[1 * src_stride];
754 dst[2] = src[2 * src_stride];
755 dst[3] = src[3 * src_stride];
756 dst[4] = src[4 * src_stride];
757 dst[5] = src[5 * src_stride];
758 dst[6] = src[6 * src_stride];
759 dst[7] = src[7 * src_stride];
765 static void TransposeWxH_C(const uint8* src, int src_stride,
770 src_stride + i];
776 void TransposePlane(const uint8* src, int src_stride,
779 void (*TransposeWx8)(const uint8* src, int src_stride,
795 IS_ALIGNED(src, 16) && IS_ALIGNED(src_stride, 16)) {
803 TransposeWx8(src, src_stride, dst, dst_stride, width);
804 src += 8 * src_stride; // Go down 8 rows.
809 TransposeWxH_C(src, src_stride, dst, dst_stride, width, i);
813 void RotatePlane90(const uint8* src, int src_stride,
819 src += src_stride * (height - 1);
820 src_stride = -src_stride;
821 TransposePlane(src, src_stride, dst, dst_stride, width, height);
825 void RotatePlane270(const uint8* src, int src_stride,
833 TransposePlane(src, src_stride, dst, dst_stride, width, height);
837 void RotatePlane180(const uint8* src, int src_stride,
849 IS_ALIGNED(src, 16) && IS_ALIGNED(src_stride, 16) &&
857 IS_ALIGNED(src, 16) && IS_ALIGNED(src_stride, 16) &&
875 IS_ALIGNED(src, 16) && IS_ALIGNED(src_stride, 16) &&
885 const uint8* src_bot = src + src_stride * (height - 1);
891 src += src_stride;
895 src_bot -= src_stride;
900 static void TransposeUVWx8_C(const uint8* src, int src_stride,
905 dst_a[0] = src[0 * src_stride + 0];
906 dst_b[0] = src[0 * src_stride + 1];
907 dst_a[1] = src[1 * src_stride + 0];
908 dst_b[1] = src[1 * src_stride + 1];
909 dst_a[2] = src[2 * src_stride + 0];
910 dst_b[2] = src[2 * src_stride + 1];
911 dst_a[3] = src[3 * src_stride + 0];
912 dst_b[3] = src[3 * src_stride + 1];
913 dst_a[4] = src[4 * src_stride + 0];
914 dst_b[4] = src[4 * src_stride + 1];
915 dst_a[5] = src[5 * src_stride + 0];
916 dst_b[5] = src[5 * src_stride + 1];
917 dst_a[6] = src[6 * src_stride + 0];
918 dst_b[6] = src[6 * src_stride + 1];
919 dst_a[7] = src[7 * src_stride + 0];
920 dst_b[7] = src[7 * src_stride + 1];
927 static void TransposeUVWxH_C(const uint8* src, int src_stride,
933 dst_a[j + ((i >> 1) * dst_stride_a)] = src[i + (j * src_stride)];
934 dst_b[j + ((i >> 1) * dst_stride_b)] = src[i + (j * src_stride) + 1];
939 void TransposeUV(const uint8* src, int src_stride,
943 void (*TransposeUVWx8)(const uint8* src, int src_stride,
954 IS_ALIGNED(src, 16) && IS_ALIGNED(src_stride, 16)) {
962 TransposeUVWx8(src, src_stride,
966 src += 8 * src_stride; // Go down 8 rows.
972 TransposeUVWxH_C(src, src_stride,
979 void RotateUV90(const uint8* src, int src_stride,
983 src += src_stride * (height - 1);
984 src_stride = -src_stride;
986 TransposeUV(src, src_stride,
993 void RotateUV270(const uint8* src, int src_stride,
1002 TransposeUV(src, src_stride,
1010 void RotateUV180(const uint8* src, int src_stride,
1023 IS_ALIGNED(src, 16) && IS_ALIGNED(src_stride, 16)) {
1033 src += src_stride;