OSDN Git Service

Encode/VP9: turn gen9_vp9_get_coded_status() into a local function
authorXiang, Haihao <haihao.xiang@intel.com>
Mon, 15 Aug 2016 02:46:10 +0000 (10:46 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Mon, 22 Aug 2016 04:09:29 +0000 (12:09 +0800)
commit4bbe4b5d3507a7f38a02169757d93a56f8bf376e
tree29118dcdc64479ab29f2e4b2c30d7e7ccd5d4297
parenta057c8120c0d3fd6fcc02927bada412e4c47c10a
Encode/VP9: turn gen9_vp9_get_coded_status() into a local function

Set encoder_context->get_status to this local function when initializing,
so that we can fetch VP9 encoding status from the underlying context.

This patch changes the input parameters and removes redundant assigns

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 1dea706fe10f7161d880f889f37b7fc86b193e55)
src/gen9_vp9_encapi.h
src/gen9_vp9_encoder.c
src/i965_drv_video.c