[RFC] Need comments for supplementing a new pixelformat in videodev2.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

As the codec device of my new H/W I'm is giving output with Y and CbCr
as separated components which means it's just like other NV
pixelformats described in videodev2.h. However, there is a significant
difference in aligning each Y and CbCr components in memory.

Picking up the description from the user manual, it says

"Reference picture is always made in the tile mode memory structure.
Decoding reconstruction image is made in 64
pixels x 32 lines tiled mode. Encoding reconstruction image is made in
16 pixels x 16 lines tiled mode."

Besides that, it totally looks like NV12 pixelformat.
S/W engineer from the vendor wants to call this as "NV12 tiled" which
can be considered as a tiled alignment of 64pixel X 32 lines of macro
blocks of each components.

So, is that just a NV12 or should be called as a new pixelformat?

If that should be considered as a new pixelformat, how about the way like this:

#define V4L2_PIX_FMT_NV12T    v4l2_fourcc('T', 'V', '1', '2') /* 12
Y/CbCr 4:2:0 */

Any comment will be appreciated.
Cheers,

Nate

-- 
=
DongSoo, Nathaniel Kim
Engineer
Mobile S/W Platform Lab.
Digital Media & Communications R&D Centre
Samsung Electronics CO., LTD.
e-mail : dongsoo.kim@xxxxxxxxx
          dongsoo45.kim@xxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux