Support NV12 format in video decoding (#2330)
Summary: Support NV12 format in Streamer API. NV12 is a biplanar format with a full sized Y plane followed by a single chroma plane with weaved U and V values. https://chromium.googlesource.com/libyuv/libyuv/+/HEAD/docs/formats.md#nv12-and-nv21 The original UV plane is smaller than Y plane, so in this implmentation, UV plane is upsampled to match the size of Y plane. Pull Request resolved: https://github.com/pytorch/audio/pull/2330 Reviewed By: hwangjeff Differential Revision: D35632351 Pulled By: mthrok fbshipit-source-id: aab4fbc0ce2bb7a1fb67264c27208b610fb56e27
Showing
Please register or sign in to comment