java - What is the difference between YUVFormat.YUV_420 and ColorSpace.YUV420? -
I've searched and read a ton of source, but I can not find the answer. I thought these "types" were identical, but when I decode the H264 in bytes using jcodec, I assumed the data output was YUV 4: 2: O Planner (YUV420P); This is the input type required for my VPX encoder. VPX encoded image looks like this:
then believe me YUVFormat.YUV_420 is most likely YUV420P, some other version of ColorSpace.YUV420 YUV420 does anyone know what kind of it is, so that I get a conversion routine?
The format is interlaced and v data for a full scan line. Others write whole u and then write whole V data. These are after the whole Y image. Yuv420 and yuv420p which specifies the layout. The UV420 writes all U, so all v data, the Yv420p scan line interfaces the scan scan line U and V. This image can be a little confusing because the size of the data is small, which is not showing large blocks of U and V pixels.
I believe yuv420p U1U2U3 will interrupt V1V2V3 U4U5U6 V4V5V6 < / P>
Comments
Post a Comment