summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoredward lin <edward.lin@intel.com>2014-01-17 14:37:51 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:06:33 -0700
commit6ad7bb8f3a63350e08061ba6ce640e9ed84d694e (patch)
treeb924c892c94b1f22022170c5be59e51f4a07c97e /src
parent8a158b454ab3005c8faf8bd8c8511c34e9c0cce3 (diff)
downloadandroid_hardware_intel_img_psb_video-6ad7bb8f3a63350e08061ba6ce640e9ed84d694e.tar.gz
android_hardware_intel_img_psb_video-6ad7bb8f3a63350e08061ba6ce640e9ed84d694e.tar.bz2
android_hardware_intel_img_psb_video-6ad7bb8f3a63350e08061ba6ce640e9ed84d694e.zip
The actual RTbitrate value of H263/MPEG4 es encode cases exceed the scope of criteria one
BZ: 165338 this modification is to delete the misc frame-rate parameters interface since H263/MPEG4 don't support it. Change-Id: Ib7ca7d6b5c91569b1f69dca1f2d206bd46def2ba Signed-off-by: edward lin <edward.lin@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/tng_H263ES.c5
-rw-r--r--src/tng_MPEG4ES.c5
2 files changed, 0 insertions, 10 deletions
diff --git a/src/tng_H263ES.c b/src/tng_H263ES.c
index e732ff3..b60569d 100644
--- a/src/tng_H263ES.c
+++ b/src/tng_H263ES.c
@@ -389,11 +389,6 @@ static VAStatus tng__H263ES_process_misc_param(context_ENC_p ctx, object_buffer_
obj_buffer->size = 0;
switch (pBuffer->type) {
- case VAEncMiscParameterTypeFrameRate:
- frame_rate_param = (VAEncMiscParameterFrameRate *)pBuffer->data;
- psRCParams->ui32FrameRate = frame_rate_param->framerate;
- if (psRCParams->ui32FrameRate == 0)
- psRCParams->ui32FrameRate = 30;
case VAEncMiscParameterTypeRateControl:
rate_control_param = (VAEncMiscParameterRateControl *)pBuffer->data;
diff --git a/src/tng_MPEG4ES.c b/src/tng_MPEG4ES.c
index 597a406..647d0e5 100644
--- a/src/tng_MPEG4ES.c
+++ b/src/tng_MPEG4ES.c
@@ -386,11 +386,6 @@ static VAStatus tng__MPEG4ES_process_misc_param(context_ENC_p ctx, object_buffer
obj_buffer->size = 0;
switch (pBuffer->type) {
- case VAEncMiscParameterTypeFrameRate:
- frame_rate_param = (VAEncMiscParameterFrameRate *)pBuffer->data;
- psRCParams->ui32FrameRate = frame_rate_param->framerate;
- if (psRCParams->ui32FrameRate == 0)
- psRCParams->ui32FrameRate = 30;
case VAEncMiscParameterTypeRateControl:
rate_control_param = (VAEncMiscParameterRateControl *)pBuffer->data;