video_enc: Change scheme of codec buffer alloc in video encode
authorSeungBeom Kim <sbcrux.kim@samsung.com>
Mon, 30 Mar 2015 12:14:58 +0000 (14:14 +0200)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Tue, 31 Mar 2015 17:19:13 +0000 (17:19 +0000)
commit728e5d6fd6342fd7f5395c1bfafc384cdd77eb5f
tree11c939a070a178c4fa59a22e8b802b7c44f215ed
parentde7febad85770e54fbf2955f56210650185c65a8
video_enc: Change scheme of codec buffer alloc in video encode

The case of input port copy mode in video encode, need codec buffer.
This patch supports dynamic calculation of the buffer size of the codec.

Backported-from: hardware/samsung_slsi/exynos5

Change-Id: Iac1ad718003061519fc9d0673d257406a4c77fd7
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
component/video/enc/Exynos_OMX_Venc.c
component/video/enc/h264/Exynos_OMX_H264enc.c
component/video/enc/mpeg4/Exynos_OMX_Mpeg4enc.c