Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: include/libyuv/row.h

Issue 2266533003: Add SplitUVPlanes and MergeUVPlanes (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: . Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2011 The LibYuv Project Authors. All rights reserved. 2 * Copyright 2011 The LibYuv Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 void SplitUVRow_DSPR2(const uint8* src_uv, uint8* dst_u, uint8* dst_v, 836 void SplitUVRow_DSPR2(const uint8* src_uv, uint8* dst_u, uint8* dst_v,
837 int width); 837 int width);
838 void SplitUVRow_Any_SSE2(const uint8* src_uv, uint8* dst_u, uint8* dst_v, 838 void SplitUVRow_Any_SSE2(const uint8* src_uv, uint8* dst_u, uint8* dst_v,
839 int width); 839 int width);
840 void SplitUVRow_Any_AVX2(const uint8* src_uv, uint8* dst_u, uint8* dst_v, 840 void SplitUVRow_Any_AVX2(const uint8* src_uv, uint8* dst_u, uint8* dst_v,
841 int width); 841 int width);
842 void SplitUVRow_Any_NEON(const uint8* src_uv, uint8* dst_u, uint8* dst_v, 842 void SplitUVRow_Any_NEON(const uint8* src_uv, uint8* dst_u, uint8* dst_v,
843 int width); 843 int width);
844 void SplitUVRow_Any_DSPR2(const uint8* src_uv, uint8* dst_u, uint8* dst_v, 844 void SplitUVRow_Any_DSPR2(const uint8* src_uv, uint8* dst_u, uint8* dst_v,
845 int width); 845 int width);
846 typedef void (*SplitUVRowFunction)(const uint8 *src_uv, uint8 *dst_u,
847 uint8 *dst_v, int width);
fbarchard1 2016/08/24 17:42:23 remove. typedef'ed functions not conventional in l
848 SplitUVRowFunction GetOptimizedSplitUVRowFunction(
fbarchard1 2016/08/24 17:42:23 prefer we dont do getter... inconsistent with rest
849 const uint8 *src_uv, int src_stride_uv,
850 const uint8 *dst_u, int dst_stride_u,
851 const uint8 *dst_v, int dst_stride_v,
852 int width);
846 853
847 void MergeUVRow_C(const uint8* src_u, const uint8* src_v, uint8* dst_uv, 854 void MergeUVRow_C(const uint8* src_u, const uint8* src_v, uint8* dst_uv,
848 int width); 855 int width);
849 void MergeUVRow_SSE2(const uint8* src_u, const uint8* src_v, uint8* dst_uv, 856 void MergeUVRow_SSE2(const uint8* src_u, const uint8* src_v, uint8* dst_uv,
850 int width); 857 int width);
851 void MergeUVRow_AVX2(const uint8* src_u, const uint8* src_v, uint8* dst_uv, 858 void MergeUVRow_AVX2(const uint8* src_u, const uint8* src_v, uint8* dst_uv,
852 int width); 859 int width);
853 void MergeUVRow_NEON(const uint8* src_u, const uint8* src_v, uint8* dst_uv, 860 void MergeUVRow_NEON(const uint8* src_u, const uint8* src_v, uint8* dst_uv,
854 int width); 861 int width);
855 void MergeUVRow_Any_SSE2(const uint8* src_u, const uint8* src_v, uint8* dst_uv, 862 void MergeUVRow_Any_SSE2(const uint8* src_u, const uint8* src_v, uint8* dst_uv,
856 int width); 863 int width);
857 void MergeUVRow_Any_AVX2(const uint8* src_u, const uint8* src_v, uint8* dst_uv, 864 void MergeUVRow_Any_AVX2(const uint8* src_u, const uint8* src_v, uint8* dst_uv,
858 int width); 865 int width);
859 void MergeUVRow_Any_NEON(const uint8* src_u, const uint8* src_v, uint8* dst_uv, 866 void MergeUVRow_Any_NEON(const uint8* src_u, const uint8* src_v, uint8* dst_uv,
860 int width); 867 int width);
868 typedef void (*MergeUVRowFunction)(const uint8 *src_u, const uint8 *src_v,
869 uint8 *dst_uv, int width);
870 MergeUVRowFunction GetOptimizedMergeUVRowFunction(int width);
fbarchard1 2016/08/24 17:42:23 ditto.
861 871
862 void CopyRow_SSE2(const uint8* src, uint8* dst, int count); 872 void CopyRow_SSE2(const uint8* src, uint8* dst, int count);
863 void CopyRow_AVX(const uint8* src, uint8* dst, int count); 873 void CopyRow_AVX(const uint8* src, uint8* dst, int count);
864 void CopyRow_ERMS(const uint8* src, uint8* dst, int count); 874 void CopyRow_ERMS(const uint8* src, uint8* dst, int count);
865 void CopyRow_NEON(const uint8* src, uint8* dst, int count); 875 void CopyRow_NEON(const uint8* src, uint8* dst, int count);
866 void CopyRow_MIPS(const uint8* src, uint8* dst, int count); 876 void CopyRow_MIPS(const uint8* src, uint8* dst, int count);
867 void CopyRow_C(const uint8* src, uint8* dst, int count); 877 void CopyRow_C(const uint8* src, uint8* dst, int count);
868 void CopyRow_Any_SSE2(const uint8* src, uint8* dst, int count); 878 void CopyRow_Any_SSE2(const uint8* src, uint8* dst, int count);
869 void CopyRow_Any_AVX(const uint8* src, uint8* dst, int count); 879 void CopyRow_Any_AVX(const uint8* src, uint8* dst, int count);
870 void CopyRow_Any_NEON(const uint8* src, uint8* dst, int count); 880 void CopyRow_Any_NEON(const uint8* src, uint8* dst, int count);
(...skipping 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after
1930 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, 1940 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb,
1931 int width, 1941 int width,
1932 const uint8* luma, uint32 lumacoeff); 1942 const uint8* luma, uint32 lumacoeff);
1933 1943
1934 #ifdef __cplusplus 1944 #ifdef __cplusplus
1935 } // extern "C" 1945 } // extern "C"
1936 } // namespace libyuv 1946 } // namespace libyuv
1937 #endif 1947 #endif
1938 1948
1939 #endif // INCLUDE_LIBYUV_ROW_H_ NOLINT 1949 #endif // INCLUDE_LIBYUV_ROW_H_ NOLINT
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698