mm-video-vidc: Handle ETB with EOS for NV12 ENCODEABLE format

Index calculation for HAL_PIXEL_FORMAT_NV12_ENCODEABLE format
case in push ETB with EOS function is done using m_inp_mem_ptr.
It has to be done using meta_buffer_hdr. Also in EBD for this
format input buffer is unnecessarily getting pushed again,
return it to omx client. Sanity check for index should be done
using respective headers.

Change-Id: Ibb3349855e643c3097256bb29305c0bded9a7425
1 file changed