Remove the codec level stride field

This field isn't used at the moment at all. The public field
ive_ctl_set_dimensions_ip_t.u4_strd is kept to avoid breaking
other calling code, although it doesn't have any actual function
any longer.

Change-Id: Icfc88846fa63f209c67b8e1f8e0cc21bc4ddb73a
This commit is contained in:
Martin Storsjo 2015-06-09 17:07:01 +03:00 committed by Marco Nelissen
parent f768297941
commit d020be5ac7
3 changed files with 0 additions and 17 deletions

View file

@ -1833,7 +1833,6 @@ IH264E_ERROR_T ih264e_codec_update_config(codec_t *ps_codec,
ps_curr_cfg->i4_wd_mbs = ps_curr_cfg->u4_wd >> 4;
ps_curr_cfg->i4_ht_mbs = ps_curr_cfg->u4_ht >> 4;
ps_codec->i4_src_strd = ps_codec->s_cfg.u4_strd;
ps_codec->i4_rec_strd = ALIGN16(ps_cfg->u4_wd) + PAD_WD;
/* If number of MBs in a frame changes the air map also changes.

View file

@ -2004,12 +2004,6 @@ struct _codec_t
*/
IV_COLOR_FORMAT_T e_codec_color_format;
/**
* source stride
* (strides for luma and chroma are the same)
*/
WORD32 i4_src_strd;
/**
* recon stride
* (strides for luma and chroma are the same)

View file

@ -1239,9 +1239,6 @@ IH264E_ERROR_T ih264e_codec_init(codec_t *ps_codec)
ps_codec->s_cfg.u4_max_level);
}
/* src stride */
ps_codec->i4_src_strd = ps_codec->s_cfg.u4_strd;
/* recon stride */
ps_codec->i4_rec_strd = ALIGN16(ps_codec->s_cfg.u4_max_wd) + PAD_WD;
@ -1729,10 +1726,6 @@ IH264E_ERROR_T ih264e_pic_init(codec_t *ps_codec, inp_buf_t *ps_inp_buf)
/* chroma rec buffer */
ps_proc->pu1_rec_buf_chroma_base = pu1_cur_pic_chroma;
/* src stride */
ps_proc->i4_src_strd = ps_codec->i4_src_strd;
ps_proc->i4_src_chroma_strd = ps_codec->i4_src_strd;
/* rec stride */
ps_proc->i4_rec_strd = ps_codec->i4_rec_strd;
@ -2014,9 +2007,6 @@ IH264E_ERROR_T ih264e_pic_init(codec_t *ps_codec, inp_buf_t *ps_inp_buf)
ps_me_ctxt->ai2_srch_boundaries[1] =
ps_codec->s_cfg.u4_srch_rng_y;
/* src stride */
ps_me_ctxt->i4_src_strd = ps_codec->i4_src_strd;
/* rec stride */
ps_me_ctxt->i4_rec_strd = ps_codec->i4_rec_strd;