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

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

Issue 2445343007: Add MSA optimized I422ToRGB565Row_MSA, I422ToARGB4444Row_MSA and I422ToARGB1555Row_MSA functions (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | source/convert_from.cc » ('j') | source/row_msa.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 const uint8* a_buf, 671 const uint8* a_buf,
672 uint8* dst_argb, 672 uint8* dst_argb,
673 const struct YuvConstants* yuvconstants, 673 const struct YuvConstants* yuvconstants,
674 int width); 674 int width);
675 void I422ToRGB24Row_MSA(const uint8* src_y, 675 void I422ToRGB24Row_MSA(const uint8* src_y,
676 const uint8* src_u, 676 const uint8* src_u,
677 const uint8* src_v, 677 const uint8* src_v,
678 uint8* dst_rgb24, 678 uint8* dst_rgb24,
679 const struct YuvConstants* yuvconstants, 679 const struct YuvConstants* yuvconstants,
680 int width); 680 int width);
681 void I422ToRGB565Row_MSA(const uint8* src_y,
682 const uint8* src_u,
683 const uint8* src_v,
684 uint8* dst_rgb565,
685 const struct YuvConstants* yuvconstants,
686 int width);
687 void I422ToARGB4444Row_MSA(const uint8* src_y,
688 const uint8* src_u,
689 const uint8* src_v,
690 uint8* dst_argb4444,
691 const struct YuvConstants* yuvconstants,
692 int width);
693 void I422ToARGB1555Row_MSA(const uint8* src_y,
694 const uint8* src_u,
695 const uint8* src_v,
696 uint8* dst_argb1555,
697 const struct YuvConstants* yuvconstants,
698 int width);
681 699
682 void ARGBToYRow_AVX2(const uint8* src_argb, uint8* dst_y, int width); 700 void ARGBToYRow_AVX2(const uint8* src_argb, uint8* dst_y, int width);
683 void ARGBToYRow_Any_AVX2(const uint8* src_argb, uint8* dst_y, int width); 701 void ARGBToYRow_Any_AVX2(const uint8* src_argb, uint8* dst_y, int width);
684 void ARGBToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int width); 702 void ARGBToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int width);
685 void ARGBToYJRow_AVX2(const uint8* src_argb, uint8* dst_y, int width); 703 void ARGBToYJRow_AVX2(const uint8* src_argb, uint8* dst_y, int width);
686 void ARGBToYJRow_Any_AVX2(const uint8* src_argb, uint8* dst_y, int width); 704 void ARGBToYJRow_Any_AVX2(const uint8* src_argb, uint8* dst_y, int width);
687 void ARGBToYJRow_SSSE3(const uint8* src_argb, uint8* dst_y, int width); 705 void ARGBToYJRow_SSSE3(const uint8* src_argb, uint8* dst_y, int width);
688 void BGRAToYRow_SSSE3(const uint8* src_bgra, uint8* dst_y, int width); 706 void BGRAToYRow_SSSE3(const uint8* src_bgra, uint8* dst_y, int width);
689 void ABGRToYRow_SSSE3(const uint8* src_abgr, uint8* dst_y, int width); 707 void ABGRToYRow_SSSE3(const uint8* src_abgr, uint8* dst_y, int width);
690 void RGBAToYRow_SSSE3(const uint8* src_rgba, uint8* dst_y, int width); 708 void RGBAToYRow_SSSE3(const uint8* src_rgba, uint8* dst_y, int width);
(...skipping 983 matching lines...) Expand 10 before | Expand all | Expand 10 after
1674 const uint8* src_a, 1692 const uint8* src_a,
1675 uint8* dst_argb, 1693 uint8* dst_argb,
1676 const struct YuvConstants* yuvconstants, 1694 const struct YuvConstants* yuvconstants,
1677 int width); 1695 int width);
1678 void I422ToRGB24Row_Any_MSA(const uint8* src_y, 1696 void I422ToRGB24Row_Any_MSA(const uint8* src_y,
1679 const uint8* src_u, 1697 const uint8* src_u,
1680 const uint8* src_v, 1698 const uint8* src_v,
1681 uint8* dst_rgb24, 1699 uint8* dst_rgb24,
1682 const struct YuvConstants* yuvconstants, 1700 const struct YuvConstants* yuvconstants,
1683 int width); 1701 int width);
1702 void I422ToRGB565Row_Any_MSA(const uint8* src_y,
1703 const uint8* src_u,
1704 const uint8* src_v,
1705 uint8* dst_rgb565,
1706 const struct YuvConstants* yuvconstants,
1707 int width);
1708 void I422ToARGB4444Row_Any_MSA(const uint8* src_y,
1709 const uint8* src_u,
1710 const uint8* src_v,
1711 uint8* dst_argb4444,
1712 const struct YuvConstants* yuvconstants,
1713 int width);
1714 void I422ToARGB1555Row_Any_MSA(const uint8* src_y,
1715 const uint8* src_u,
1716 const uint8* src_v,
1717 uint8* dst_argb1555,
1718 const struct YuvConstants* yuvconstants,
1719 int width);
1684 1720
1685 void YUY2ToYRow_AVX2(const uint8* src_yuy2, uint8* dst_y, int width); 1721 void YUY2ToYRow_AVX2(const uint8* src_yuy2, uint8* dst_y, int width);
1686 void YUY2ToUVRow_AVX2(const uint8* src_yuy2, int stride_yuy2, 1722 void YUY2ToUVRow_AVX2(const uint8* src_yuy2, int stride_yuy2,
1687 uint8* dst_u, uint8* dst_v, int width); 1723 uint8* dst_u, uint8* dst_v, int width);
1688 void YUY2ToUV422Row_AVX2(const uint8* src_yuy2, 1724 void YUY2ToUV422Row_AVX2(const uint8* src_yuy2,
1689 uint8* dst_u, uint8* dst_v, int width); 1725 uint8* dst_u, uint8* dst_v, int width);
1690 void YUY2ToYRow_SSE2(const uint8* src_yuy2, uint8* dst_y, int width); 1726 void YUY2ToYRow_SSE2(const uint8* src_yuy2, uint8* dst_y, int width);
1691 void YUY2ToUVRow_SSE2(const uint8* src_yuy2, int stride_yuy2, 1727 void YUY2ToUVRow_SSE2(const uint8* src_yuy2, int stride_yuy2,
1692 uint8* dst_u, uint8* dst_v, int width); 1728 uint8* dst_u, uint8* dst_v, int width);
1693 void YUY2ToUV422Row_SSE2(const uint8* src_yuy2, 1729 void YUY2ToUV422Row_SSE2(const uint8* src_yuy2,
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
2026 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, 2062 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb,
2027 int width, 2063 int width,
2028 const uint8* luma, uint32 lumacoeff); 2064 const uint8* luma, uint32 lumacoeff);
2029 2065
2030 #ifdef __cplusplus 2066 #ifdef __cplusplus
2031 } // extern "C" 2067 } // extern "C"
2032 } // namespace libyuv 2068 } // namespace libyuv
2033 #endif 2069 #endif
2034 2070
2035 #endif // INCLUDE_LIBYUV_ROW_H_ 2071 #endif // INCLUDE_LIBYUV_ROW_H_
OLDNEW
« no previous file with comments | « no previous file | source/convert_from.cc » ('j') | source/row_msa.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698