]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/media/platform/vicodec/codec-fwht.h
media: vicodec: Add pixel encoding flags to fwht header
[linux.git] / drivers / media / platform / vicodec / codec-fwht.h
index 2984dc772515d32275d8d96b32ea659288155193..ad8cfc60a152e89664aad2124ccacb9a3efac9ae 100644 (file)
 #define FWHT_FL_COMPONENTS_NUM_MSK     GENMASK(18, 16)
 #define FWHT_FL_COMPONENTS_NUM_OFFSET  16
 
+#define FWHT_FL_PIXENC_MSK     GENMASK(20, 19)
+#define FWHT_FL_PIXENC_OFFSET  19
+#define FWHT_FL_PIXENC_YUV     (1 << FWHT_FL_PIXENC_OFFSET)
+#define FWHT_FL_PIXENC_RGB     (2 << FWHT_FL_PIXENC_OFFSET)
+#define FWHT_FL_PIXENC_HSV     (3 << FWHT_FL_PIXENC_OFFSET)
+
 /*
  * A macro to calculate the needed padding in order to make sure
  * both luma and chroma components resolutions are rounded up to