[mpp_hal]: add hal_h264d_api to mpp_hal

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@207 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2008-01-29 22:47:09 +00:00
parent 533661dd0e
commit 34779b7d74
8 changed files with 108 additions and 24 deletions

View File

@@ -65,7 +65,7 @@ MPP_RET h264d_parser(void *decoder, MppPacket pkt, HalDecTask *task)
}
const MppDecParser api_h264d_parser = {
"h264d",
"h264d_parser",
MPP_VIDEO_CodingAVC,
0,
0,

View File

@@ -72,7 +72,6 @@ struct MppDec_t {
const MppDecParser *parser_api;
void *parser_ctx;
const MppHalApi *hal_api;
MppHal hal_ctx;
// common resource

View File

@@ -160,7 +160,7 @@ void *mpp_dec_hal_thread(void *data)
* hal thread wait for dxva interface intput firt
*/
hal->lock();
if (0 == hal_task_get_hnd(dec->tasks, 1, &task_hnd))
if (hal_task_get_hnd(dec->tasks, 1, &task_hnd))
hal->wait();
hal->unlock();