mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-07 01:06:46 +08:00
ifdef platform specific code.
Not all posix platforms have SSSE3 functionality. Review URL: http://webrtc-codereview.appspot.com/276001 git-svn-id: http://libyuv.googlecode.com/svn/trunk@62 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
b61497636a
commit
e518542da5
@ -793,6 +793,7 @@ void FastConvertYToARGBRow_MMX(const uint8* y_buf,
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAS_ARGBTOYROW_SSSE3
|
||||||
void ABGRToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix) {
|
void ABGRToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix) {
|
||||||
SIMD_ALIGNED(uint8 row[kMaxStride]);
|
SIMD_ALIGNED(uint8 row[kMaxStride]);
|
||||||
ABGRToARGBRow_SSSE3(src_argb, row, pix);
|
ABGRToARGBRow_SSSE3(src_argb, row, pix);
|
||||||
@ -804,6 +805,7 @@ void BGRAToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix) {
|
|||||||
BGRAToARGBRow_SSSE3(src_argb, row, pix);
|
BGRAToARGBRow_SSSE3(src_argb, row, pix);
|
||||||
ARGBToYRow_SSSE3(row, dst_y, pix);
|
ARGBToYRow_SSSE3(row, dst_y, pix);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAS_ARGBTOUVROW_SSSE3
|
#ifdef HAS_ARGBTOUVROW_SSSE3
|
||||||
void ABGRToUVRow_SSSE3(const uint8* src_argb, int src_stride_argb,
|
void ABGRToUVRow_SSSE3(const uint8* src_argb, int src_stride_argb,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user