mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
0171157d45
The patches were generated from the RPi repo with the following command: git format-patch v6.6.44..rpi-6.6.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
33 lines
1.4 KiB
Diff
33 lines
1.4 KiB
Diff
From 7c36a1feb61d964055bee777efc1db60790aa215 Mon Sep 17 00:00:00 2001
|
|
From: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
|
|
Date: Thu, 27 Jun 2024 16:07:43 +0200
|
|
Subject: [PATCH 1156/1215] media: uapi: pisp_common: Add 32 bpp format test
|
|
|
|
Add definition and test for 32-bits image formats to the pisp_common.h
|
|
uAPI header.
|
|
|
|
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
|
|
---
|
|
include/uapi/linux/media/raspberrypi/pisp_common.h | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
--- a/include/uapi/linux/media/raspberrypi/pisp_common.h
|
|
+++ b/include/uapi/linux/media/raspberrypi/pisp_common.h
|
|
@@ -72,6 +72,8 @@ enum pisp_image_format {
|
|
PISP_IMAGE_FORMAT_SHIFT_8 = 0x00080000,
|
|
PISP_IMAGE_FORMAT_SHIFT_MASK = 0x000f0000,
|
|
|
|
+ PISP_IMAGE_FORMAT_BPP_32 = 0x00100000,
|
|
+
|
|
PISP_IMAGE_FORMAT_UNCOMPRESSED = 0x00000000,
|
|
PISP_IMAGE_FORMAT_COMPRESSION_MODE_1 = 0x01000000,
|
|
PISP_IMAGE_FORMAT_COMPRESSION_MODE_2 = 0x02000000,
|
|
@@ -134,6 +136,7 @@ enum pisp_image_format {
|
|
PISP_IMAGE_FORMAT_PLANARITY_PLANAR)
|
|
#define PISP_IMAGE_FORMAT_wallpaper(fmt) \
|
|
((fmt) & PISP_IMAGE_FORMAT_WALLPAPER_ROLL)
|
|
+#define PISP_IMAGE_FORMAT_bpp_32(fmt) ((fmt) & PISP_IMAGE_FORMAT_BPP_32)
|
|
#define PISP_IMAGE_FORMAT_HOG(fmt) \
|
|
((fmt) & \
|
|
(PISP_IMAGE_FORMAT_HOG_SIGNED | PISP_IMAGE_FORMAT_HOG_UNSIGNED))
|