aboutsummaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.h b/common.h
index a09ccce..72e8bbc 100644
--- a/common.h
+++ b/common.h
@@ -92,6 +92,8 @@
/* The buffer is free to use by video decoder */
#define BUF_FREE 0
+#define MAX_HDR10PLUSINFO_SIZE 1024
+#define V4L2_CID_MPEG_VIDEO_VENUS_METADATA (V4L2_CID_MPEG_BASE + 293)
/* Input file related parameters */
struct input {
char *name;
@@ -114,6 +116,7 @@ struct output {
struct video {
char *name;
int fd;
+ int media_fd;
/* Output queue related */
unsigned int out_w;
@@ -124,6 +127,7 @@ struct video {
uint32_t out_buf_off[MAX_OUT_BUF];
uint8_t *out_buf_addr[MAX_OUT_BUF];
int out_buf_flag[MAX_OUT_BUF];
+ int request_fd_out[MAX_OUT_BUF];
/* Capture queue related */
unsigned int cap_w;