diff options
author | Deepak Verma <dverma@codeaurora.org> | 2013-10-21 15:49:31 +0530 |
---|---|---|
committer | srikarri <sridur@codeaurora.org> | 2013-11-08 12:28:28 +0530 |
commit | cdf08c04fb839f39a85a50bf6487dfc927ef9168 (patch) | |
tree | 04b6eccd991368bf464ec7c57d8ce4b0a56e3c65 | |
parent | 94c3442361d3aa34119b6fa547f2e4b19d0dca66 (diff) | |
download | android_hardware_qcom_media-cdf08c04fb839f39a85a50bf6487dfc927ef9168.tar.gz android_hardware_qcom_media-cdf08c04fb839f39a85a50bf6487dfc927ef9168.tar.bz2 android_hardware_qcom_media-cdf08c04fb839f39a85a50bf6487dfc927ef9168.zip |
mm-video: venc: Correct a typo in variable name
A kernel variable was to be defined as unsigned long but
it is mistakenly defined as unsigned only, the space is
missing after long. This bug is silent because unsigned
is also a valid data type by itself.
Corresponding to kernel fix, similar correction is done
in userspace code.
Change-Id: Ie58f275149dc9c85553f75e02594113b1a03ddcf
CRs-fixed: 556771
-rw-r--r-- | mm-video/vidc/venc/src/video_encoder_device.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mm-video/vidc/venc/src/video_encoder_device.cpp b/mm-video/vidc/venc/src/video_encoder_device.cpp index a66f2620..96facccf 100644 --- a/mm-video/vidc/venc/src/video_encoder_device.cpp +++ b/mm-video/vidc/venc/src/video_encoder_device.cpp @@ -1613,7 +1613,7 @@ void venc_dev::venc_config_print() multislice.mslice_size); DEBUG_PRINT_HIGH("\nENC_CONFIG: EntropyMode: %d, CabacModel: %d", - entropy.longentropysel, entropy.cabacmodel); + entropy.entropysel, entropy.cabacmodel); DEBUG_PRINT_HIGH("\nENC_CONFIG: DB-Mode: %d, alpha: %d, Beta: %d\n", dbkfilter.db_mode, dbkfilter.slicealpha_offset, @@ -2447,7 +2447,7 @@ bool venc_dev::venc_set_entropy_config(OMX_BOOL enable, OMX_U32 i_cabac_level) DEBUG_PRINT_LOW("\n venc_set_entropy_config: CABAC = %u level: %u", enable, i_cabac_level); if(enable &&(codec_profile.profile != VEN_PROFILE_H264_BASELINE)){ - entropy_cfg.longentropysel = VEN_ENTROPY_MODEL_CABAC; + entropy_cfg.entropysel = VEN_ENTROPY_MODEL_CABAC; if (i_cabac_level == 0) { entropy_cfg.cabacmodel = VEN_CABAC_MODEL_0; } @@ -2467,7 +2467,7 @@ bool venc_dev::venc_set_entropy_config(OMX_BOOL enable, OMX_U32 i_cabac_level) #endif } else if(!enable){ - entropy_cfg.longentropysel = VEN_ENTROPY_MODEL_CAVLC; + entropy_cfg.entropysel = VEN_ENTROPY_MODEL_CAVLC; } else{ DEBUG_PRINT_ERROR("\nInvalid Entropy mode for Baseline Profile"); @@ -2481,7 +2481,7 @@ bool venc_dev::venc_set_entropy_config(OMX_BOOL enable, OMX_U32 i_cabac_level) DEBUG_PRINT_ERROR("\nERROR: Request for setting entropy config failed"); return false; } - entropy.longentropysel = entropy_cfg.longentropysel; + entropy.entropysel = entropy_cfg.entropysel; entropy.cabacmodel = entropy_cfg.cabacmodel; return true; } |