diff options
author | Frank Barchard <fbarchard@google.com> | 2016-10-11 11:14:16 -0700 |
---|---|---|
committer | Frank Barchard <fbarchard@google.com> | 2016-10-11 11:14:16 -0700 |
commit | d363ea6527bf84b9498279c378e90de1dd8e3fcd (patch) | |
tree | 0e1c6885c4a8d1d3d7e5b84b5dcfd65f0b4afc08 /source/convert.cc | |
parent | 0071f46a1fad6151f16dd972456df236c0b6c23b (diff) | |
download | libyuv-d363ea6527bf84b9498279c378e90de1dd8e3fcd.tar.gz |
Remove I411 support.
YUV 411 is very uncommon format. Remove support.
Update documentation to reflect that 411 is deprecated.
Simplify tests for YUV to only test with the new side by side YUV but keep old 3 plane test around with a macro for now.
BUG=libyuv:645
R=kjellander@chromium.org
Review URL: https://codereview.chromium.org/2406123002 .
Diffstat (limited to 'source/convert.cc')
-rw-r--r-- | source/convert.cc | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/source/convert.cc b/source/convert.cc index ed3cd7fd..ba07b395 100644 --- a/source/convert.cc +++ b/source/convert.cc @@ -137,27 +137,6 @@ int I444ToI420(const uint8* src_y, int src_stride_y, width, height); } -// 411 chroma is 1/4 width, 1x height -// 420 chroma is 1/2 width, 1/2 height -LIBYUV_API -int I411ToI420(const uint8* src_y, int src_stride_y, - const uint8* src_u, int src_stride_u, - const uint8* src_v, int src_stride_v, - uint8* dst_y, int dst_stride_y, - uint8* dst_u, int dst_stride_u, - uint8* dst_v, int dst_stride_v, - int width, int height) { - const int src_uv_width = SUBSAMPLE(width, 3, 2); - return I4xxToI420(src_y, src_stride_y, - src_u, src_stride_u, - src_v, src_stride_v, - dst_y, dst_stride_y, - dst_u, dst_stride_u, - dst_v, dst_stride_v, - width, height, - src_uv_width, height); -} - // I400 is greyscale typically used in MJPG LIBYUV_API int I400ToI420(const uint8* src_y, int src_stride_y, |