watery01 / libyuv

Automatically exported from code.google.com/p/libyuv
0 stars 0 forks source link

ConvertFromI420 doesn't catch FOURCC_NV21 in switch case case. #192

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

I expected to see:

      case FOURCC_NV21: {
          int quarterwidth = (width + 3) / 4;
          uint8* dst_u = dst_sample + width * height;
          uint8* dst_v = dst_u + quarterwidth * height;
          r = I420ToNV21(y, y_stride,
                         u, u_stride,
                         v, v_stride,
                         dst_sample, width,
                         dst_u, dst_sample_stride ? dst_sample_stride : width,
                         width, height);
          break;
      }

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by jul...@ottapp.com on 24 Feb 2013 at 5:18

GoogleCodeExporter commented 9 years ago
Confirmed.  NV12 is also missing.

Original comment by fbarch...@chromium.org on 26 Feb 2013 at 2:41

GoogleCodeExporter commented 9 years ago
Fixed in r581.

Original comment by fbarch...@chromium.org on 26 Feb 2013 at 3:00