diff options
author | Zhong Li <zhong.li@intel.com> | 2015-01-15 22:04:54 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2015-03-19 10:01:29 +0800 |
commit | d954c80771a83d511d950aec0a8fbe0bd15f4957 (patch) | |
tree | afd6031361353f789126499f07ccbd14efa834d3 /src/gen6_mfc.h | |
parent | 4f0df22066c00528f463a0eb6f5c0b6f95e09b05 (diff) | |
download | libva-intel-driver-d954c80771a83d511d950aec0a8fbe0bd15f4957.tar.gz |
VP8 HWEnc: Build VP8 PAK pipeline and enabling I frame
Signed-off-by: Zhong Li <zhong.li@intel.com>
(cherry picked from commit a18ce4664113d5b1a9b29ed45bf137df6b7a7898)
Conflicts:
src/i965_encoder_utils.c
Diffstat (limited to 'src/gen6_mfc.h')
-rw-r--r-- | src/gen6_mfc.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/gen6_mfc.h b/src/gen6_mfc.h index c0798637..191de329 100644 --- a/src/gen6_mfc.h +++ b/src/gen6_mfc.h @@ -34,6 +34,7 @@ #include <intel_bufmgr.h> #include "i965_gpe_utils.h" +#include "i965_encoder.h" struct encode_state; @@ -189,6 +190,37 @@ struct gen6_mfc_context int i_cpb_removal_delay_length; int i_dpb_output_delay_length; }vui_hrd; + + struct { + unsigned char *vp8_frame_header; + unsigned int frame_header_bit_count; + unsigned int frame_header_qindex_update_pos; + unsigned int frame_header_lf_update_pos; + unsigned int frame_header_token_update_pos; + unsigned int frame_header_bin_mv_upate_pos; + + unsigned int intermediate_partition_offset[8]; + unsigned int intermediate_buffer_max_size; + unsigned int final_frame_byte_offset; + + unsigned char mb_segment_tree_probs[3]; + unsigned char y_mode_probs[4]; + unsigned char uv_mode_probs[3]; + unsigned char mv_probs[2][19]; + + unsigned char prob_skip_false; + unsigned char prob_intra; + unsigned char prob_last; + unsigned char prob_gf; + + dri_bo *frame_header_bo; + dri_bo *intermediate_bo; + dri_bo *final_frame_bo; + dri_bo *stream_out_bo; + dri_bo *coeff_probs_stream_in_bo; + dri_bo *token_statistics_bo; + dri_bo *mpc_row_store_bo; + }vp8_state; //"buffered_QMatrix" will be used to buffer the QMatrix if the app sends one. // Or else, we will load a default QMatrix from the driver for JPEG encode. |