msm: vidc: cleanup vidc function to register o/p buf

This change modularizes map_and_register_buf function
used to add output buffer to registered buffer list.

Change-Id: I73c1d4b5c66f75fe4b1bce2c2bfc2277a6157e0a
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
(cherry picked from commit f5e7c3e283ba76d9d8769683368643e4a25c0e2b)
1 file changed