Package boofcv.core.encoding.impl
Class ImplConvertNV21
java.lang.Object
boofcv.core.encoding.impl.ImplConvertNV21
NV21: The format is densely packed. Y is full resolution and UV are interlaced and 1/2 resolution.
So same UV values within a 2x2 square
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
nv21ToGray
(byte[] dataNV, GrayF32 output) First block contains gray-scale information and UV data can be ignored.static void
nv21ToGray
(byte[] dataNV, GrayU8 output) First block contains gray-scale information and UV data can be ignored.static void
nv21ToInterleaved_F32
(byte[] dataNV, InterleavedF32 output) static void
nv21ToInterleaved_U8
(byte[] dataNV, InterleavedU8 output) static void
nv21ToPlanarRgb_F32
(byte[] dataNV, Planar<GrayF32> output) static void
nv21ToPlanarRgb_U8
(byte[] dataNV, Planar<GrayU8> output) static void
nv21ToPlanarYuv_F32
(byte[] dataNV, Planar<GrayF32> output) static void
nv21ToPlanarYuv_U8
(byte[] dataNV, Planar<GrayU8> output)
-
Constructor Details
-
ImplConvertNV21
public ImplConvertNV21()
-
-
Method Details
-
nv21ToGray
First block contains gray-scale information and UV data can be ignored. -
nv21ToGray
First block contains gray-scale information and UV data can be ignored. -
nv21ToPlanarYuv_U8
-
nv21ToPlanarYuv_F32
-
nv21ToPlanarRgb_U8
-
nv21ToInterleaved_U8
-
nv21ToPlanarRgb_F32
-
nv21ToInterleaved_F32
-