Defining V4L2_PIX_FMT_NV15 and DRM_FORMAT_NV15
Signed-off-by: Venkata Atchuta Bheemeswara Sarma Darbha <vdarbha0473@gmail.com>
This commit is contained in:
parent
c3a5da97e4
commit
bda805db4d
1 changed files with 9 additions and 0 deletions
|
|
@ -34,6 +34,15 @@
|
|||
#include "hwcontext_v4l2request_internal.h"
|
||||
#include "mem.h"
|
||||
|
||||
#ifndef V4L2_PIX_FMT_NV15
|
||||
#define V4L2_PIX_FMT_NV15 v4l2_fourcc('N', 'V', '1', '5') /* 15 Y/CbCr 4:2:0 */
|
||||
#endif
|
||||
|
||||
#ifndef DRM_FORMAT_NV15
|
||||
#define DRM_FORMAT_NV15 fourcc_code('N', 'V', '1', '5') /* 2x2 subsampled Cr:Cb plane */
|
||||
#endif
|
||||
|
||||
|
||||
typedef struct V4L2RequestVideoDecoder {
|
||||
dev_t media_dev;
|
||||
dev_t video_dev;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue