summaryrefslogtreecommitdiff
path: root/src/i965_encoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/i965_encoder.h')
-rw-r--r--src/i965_encoder.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/i965_encoder.h b/src/i965_encoder.h
index d9d6511f..20d49fc2 100644
--- a/src/i965_encoder.h
+++ b/src/i965_encoder.h
@@ -39,10 +39,12 @@
struct intel_encoder_context
{
struct hw_context base;
- VAProfile profile;
+ int codec;
VASurfaceID input_yuv_surface;
int is_tmp_id;
unsigned int rate_control_mode;
+ unsigned int quality_level;
+ unsigned int quality_range;
void *vme_context;
void *mfc_context;
void (*vme_context_destroy)(void *vme_context);
@@ -62,6 +64,8 @@ struct intel_encoder_context
extern struct hw_context *
gen75_enc_hw_context_init(VADriverContextP ctx, struct object_config *obj_config);
+extern struct hw_context *
+gen8_enc_hw_context_init(VADriverContextP ctx, struct object_config *obj_config);
#endif /* _I965_ENCODER_H_ */