Created
February 15, 2024 12:21
-
-
Save devarsht/298790af819f299a0a05fec89371097b to your computer and use it in GitHub Desktop.
v4_v5_range_diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1: de2cc0e2cf33 = 1: 402b19d2d831 media: dt-bindings: Add Imagination E5010 JPEG Encoder | |
2: 5779494b565e ! 2: 3a6fb5785659 media: jpeg: Add reference quantization and huffman tables | |
@@ Commit message | |
Signed-off-by: Devarsh Thakkar <devarsht@ti.com> | |
- ## include/media/jpeg.h ## | |
-@@ | |
- #define JPEG_MARKER_DHP 0xde | |
- #define JPEG_MARKER_APP0 0xe0 | |
- #define JPEG_MARKER_COM 0xfe | |
-+#define JPEG_LUM_HT 0x00 | |
-+#define JPEG_CHR_HT 0x01 | |
-+#define JPEG_DC_HT 0x00 | |
-+#define JPEG_AC_HT 0x10 | |
- | |
- #endif /* _MEDIA_JPEG_H_ */ | |
- | |
- ## include/media/jpeg_enc_reftables.h (new) ## | |
+ ## include/media/jpeg-enc-reftables.h (new) ## | |
@@ | |
+/* SPDX-License-Identifier: GPL-2.0-only */ | |
+/* Reference quantization, zig-zag scan and huffman tables as shared in ITU-T.81 */ | |
@@ include/media/jpeg_enc_reftables.h (new) | |
+}; | |
+ | |
+#endif /* _MEDIA_JPEG_ENC_REF_H_ */ | |
+ | |
+ ## include/media/jpeg.h ## | |
+@@ | |
+ #define JPEG_MARKER_DHP 0xde | |
+ #define JPEG_MARKER_APP0 0xe0 | |
+ #define JPEG_MARKER_COM 0xfe | |
++#define JPEG_LUM_HT 0x00 | |
++#define JPEG_CHR_HT 0x01 | |
++#define JPEG_DC_HT 0x00 | |
++#define JPEG_AC_HT 0x10 | |
+ | |
+ #endif /* _MEDIA_JPEG_H_ */ | |
3: 19049432c00b ! 3: 993e280df88f media: imagination: Add E5010 JPEG Encoder driver | |
@@ drivers/media/platform/imagination/e5010-jpeg-enc.c (new) | |
+ * Author: Devarsh Thakkar <devarsht@ti.com> | |
+ */ | |
+ | |
-+#include <linux/module.h> | |
-+#include <linux/of_device.h> | |
-+#include <linux/ioctl.h> | |
++#include <linux/clk.h> | |
+#include <linux/dma-mapping.h> | |
+#include <linux/err.h> | |
-+#include <linux/pm_runtime.h> | |
+#include <linux/interrupt.h> | |
-+#include <linux/clk.h> | |
++#include <linux/ioctl.h> | |
++#include <linux/module.h> | |
++#include <linux/of_device.h> | |
++#include <linux/pm_runtime.h> | |
++#include <media/jpeg.h> | |
++#include <media/jpeg-enc-reftables.h> | |
+#include <media/v4l2-common.h> | |
+#include <media/v4l2-ctrls.h> | |
+#include <media/v4l2-device.h> | |
+#include <media/v4l2-event.h> | |
+#include <media/v4l2-ioctl.h> | |
+#include <media/v4l2-mem2mem.h> | |
-+#include <media/jpeg-enc-reftables.h> | |
-+#include <media/videobuf2-v4l2.h> | |
+#include <media/videobuf2-dma-contig.h> | |
-+#include <media/jpeg.h> | |
++#include <media/videobuf2-v4l2.h> | |
+#include "e5010-jpeg-enc.h" | |
+#include "e5010-jpeg-enc-hw.h" | |
+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment