mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-11-03 09:40:50 +08:00
[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:
@@ -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,
|
||||
|
||||
@@ -72,7 +72,6 @@ struct MppDec_t {
|
||||
const MppDecParser *parser_api;
|
||||
void *parser_ctx;
|
||||
|
||||
const MppHalApi *hal_api;
|
||||
MppHal hal_ctx;
|
||||
|
||||
// common resource
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user