summaryrefslogtreecommitdiffstats
path: root/libhb/internal.h
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-01-21 09:11:09 -0800
committerJohn Stebbins <[email protected]>2016-01-21 09:11:09 -0800
commit254b1fac8bb35bb29688560dbc8a3811be652f36 (patch)
tree8232f55f36175db115ee08ebd5f5e41c29c53949 /libhb/internal.h
parent56925edbfa59cda34d3fa45f4c61f48970cee5fb (diff)
parentfcb78d5c24387bf2dad2e3c38b4417431b2836ae (diff)
Merge pull request #34 from jstebbins/sync
sync: gut and rewrite
Diffstat (limited to 'libhb/internal.h')
-rw-r--r--libhb/internal.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/libhb/internal.h b/libhb/internal.h
index 59510961a..8fe461dac 100644
--- a/libhb/internal.h
+++ b/libhb/internal.h
@@ -9,6 +9,9 @@
#include "hbffmpeg.h"
#include "extras/cl.h"
+#ifdef USE_QSV
+#include "libavcodec/qsv.h"
+#endif
/***********************************************************************
* Hardware Decode Context
@@ -145,11 +148,14 @@ struct hb_buffer_s
int size;
} plane[4]; // 3 Color components + alpha
+#ifdef USE_QSV
struct qsv
{
- void *qsv_atom;
- void *filter_details;
+ void * qsv_atom;
+ void * filter_details;
+ av_qsv_context * ctx;
} qsv_details;
+#endif
/* OpenCL */
struct cl_data
@@ -426,6 +432,7 @@ enum
WORK_NONE = 0,
WORK_SYNC_VIDEO,
WORK_SYNC_AUDIO,
+ WORK_SYNC_SUBTITLE,
WORK_DECCC608,
WORK_DECVOBSUB,
WORK_DECSRTSUB,