[misc]: format coding style and fix comment error

Change-Id: I70d8688971b298be6af07150504b08b7d6aa32c8
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2016-09-06 14:05:11 +08:00
parent f47309f8dc
commit 009bc1fc0d
2 changed files with 17 additions and 17 deletions

View File

@@ -294,12 +294,12 @@ MPP_RET mpp_enc_init(MppEnc **enc, MppCodingType coding)
ret = controller_init(&controller, &controller_cfg); ret = controller_init(&controller, &controller_cfg);
if (ret) { if (ret) {
mpp_err_f("could not init parser\n"); mpp_err_f("could not init controller\n");
break; break;
} }
cb.callBack = hal_enc_callback; cb.callBack = hal_enc_callback;
cb.opaque = controller; cb.opaque = controller;
// then init hal with task count from parser // then init hal with task count from controller
MppHalCfg hal_cfg = { MppHalCfg hal_cfg = {
MPP_CTX_ENC, MPP_CTX_ENC,
coding, coding,

View File

@@ -1,19 +1,19 @@
/* /*
* *
* Copyright 2015 Rockchip Electronics Co. LTD * Copyright 2015 Rockchip Electronics Co. LTD
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef __HAL_JPEGE_API_H__ #ifndef __HAL_JPEGE_API_H__
#define __HAL_JPEGE_API_H__ #define __HAL_JPEGE_API_H__