summaryrefslogtreecommitdiffstats
path: root/encoder/ih264e_utils.c
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2015-06-09 17:07:01 +0300
committerMarco Nelissen <marcone@google.com>2015-06-25 08:25:50 -0700
commitce7f41973ce91bd7cba9d654183c4842bdbec77b (patch)
tree6bfb2a9bf2972940cab1854dc6af3dc88e390d3d /encoder/ih264e_utils.c
parent4f5ceca078b8caab482bfd314bb24308ad872446 (diff)
downloadandroid_external_libavc-ce7f41973ce91bd7cba9d654183c4842bdbec77b.tar.gz
android_external_libavc-ce7f41973ce91bd7cba9d654183c4842bdbec77b.tar.bz2
android_external_libavc-ce7f41973ce91bd7cba9d654183c4842bdbec77b.zip
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
Diffstat (limited to 'encoder/ih264e_utils.c')
-rw-r--r--encoder/ih264e_utils.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/encoder/ih264e_utils.c b/encoder/ih264e_utils.c
index f48be5b..d6a67b6 100644
--- a/encoder/ih264e_utils.c
+++ b/encoder/ih264e_utils.c
@@ -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;