OSDN Git Service
(root)
/
android-x86
/
hardware-intel-common-vaapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a06c385
)
Fix:ROI number should be 4
author
Pengfei Qu
<Pengfei.Qu@intel.com>
Wed, 15 Mar 2017 03:16:47 +0000
(11:16 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Wed, 15 Mar 2017 04:22:06 +0000
(12:22 +0800)
Fixes #88
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
src/i965_encoder_common.h
patch
|
blob
|
history
diff --git
a/src/i965_encoder_common.h
b/src/i965_encoder_common.h
index
07057dc
..
970de7a
100644
(file)
--- a/
src/i965_encoder_common.h
+++ b/
src/i965_encoder_common.h
@@
-69,6
+69,8
@@
struct intel_encoder_context;
#define INTEL_VME_MIN_ALLOWED_WIDTH_HEIGHT 48
+#define INTEL_ROI_NUM 4
+
extern const unsigned int table_enc_search_path[2][8][16];
// BRC Flag in BRC Init Kernel
@@
-456,7
+458,7
@@
struct generic_enc_codec_state {
uint32_t num_roi;
uint32_t max_delta_qp;
uint32_t min_delta_qp;
- struct intel_roi roi[
3
];
+ struct intel_roi roi[
INTEL_ROI_NUM
];
};