Skip to content

Commit

Permalink
[common] Add RGB565 and BGR565 definitions
Browse files Browse the repository at this point in the history
Now we use implicit definition in Media SDK
that is not good approach for open source.

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
  • Loading branch information
rkazants authored and xhaihao committed Mar 30, 2018
1 parent 6ac580c commit 3f3e705
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions va/va.h
Original file line number Diff line number Diff line change
Expand Up @@ -3586,6 +3586,8 @@ VAStatus vaQuerySurfaceError(
#define VA_FOURCC_RGBP 0x50424752
#define VA_FOURCC_BGRP 0x50524742
#define VA_FOURCC_411R 0x52313134 /* rotated 411P */
#define VA_FOURCC_RGB565 0x36314752 /* VA_FOURCC('R','G','1','6') */
#define VA_FOURCC_BGR565 0x36314742 /* VA_FOURCC('B','G','1','6') */
/**
* Planar YUV 4:2:2.
* 8-bit Y plane, followed by 8-bit 2x1 subsampled V and U planes
Expand Down

0 comments on commit 3f3e705

Please sign in to comment.