video: driver: fix line and dpb buffers for enc

- Removed internal bufsize hack to increase bufsize by
  100MB.
- update enc internal buf size adn count macros to align
  with video fw macro definitions.
  P4 cl: 28472789 and 28496178

Change-Id: I30a4d043a07c6e890d58f4138590f112d192080a
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
This commit is contained in:
Akshata Sahukar
2021-01-27 10:30:36 -08:00
parent aa46dbf712
commit c0b11f6482
3 changed files with 13 additions and 14 deletions

View File

@@ -1579,10 +1579,6 @@ int msm_vidc_get_internal_buffers(struct msm_vidc_inst *inst,
buf_size = call_session_op(core, buffer_size,
inst, buffer_type);
/* TODO: remove below hack to increase enc inter buf size by 100MB */
if (is_encode_session(inst))
buf_size += 100000000;
buf_count = call_session_op(core, min_count,
inst, buffer_type);