diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2015-09-08 09:18:14 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2015-09-15 10:11:39 +0800 |
commit | fa014add69105c123b98125029cbdb1c661ff3d4 (patch) | |
tree | 9e6a2634233d9fec2bfcef342d725c40e94b8e9c /src/gen9_mfc_hevc.c | |
parent | 4e434ef89683cdd5973e3413c5bf559d48125cd1 (diff) | |
download | libva-intel-driver-fa014add69105c123b98125029cbdb1c661ff3d4.tar.gz |
Silence compiler warning
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'src/gen9_mfc_hevc.c')
-rw-r--r-- | src/gen9_mfc_hevc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gen9_mfc_hevc.c b/src/gen9_mfc_hevc.c index 272479eb..46f8c590 100644 --- a/src/gen9_mfc_hevc.c +++ b/src/gen9_mfc_hevc.c @@ -719,9 +719,6 @@ gen9_hcpe_hevc_slice_state(VADriverContextP ctx, struct intel_encoder_context *encoder_context, struct intel_batchbuffer *batch) { - /* to do */ - struct gen9_hcpe_context *mfc_context = encoder_context->mfc_context; - VAEncSequenceParameterBufferHEVC *pSequenceParameter = (VAEncSequenceParameterBufferHEVC *)encode_state->seq_param_ext->buffer; int slice_type = slice_param->slice_type; @@ -1591,7 +1588,6 @@ gen9_hcpe_hevc_pipeline_slice_programing(VADriverContextP ctx, int height_in_ctb = (pSequenceParameter->pic_height_in_luma_samples + ctb_size - 1) / ctb_size; int last_slice = (pSliceParameter->slice_segment_address + pSliceParameter->num_ctu_in_slice) == (width_in_ctb * height_in_ctb); int ctb_width_in_mb = (ctb_size + 15) / 16; - int num_mb_in_ctb = ctb_width_in_mb * ctb_width_in_mb; int i_ctb, ctb_x, ctb_y; unsigned int split_coding_unit_flag = 0; int width_in_mbs = (pSequenceParameter->pic_width_in_luma_samples + 15) / 16; |