mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-07 10:00:55 +08:00
[mpp/osal]: add codec thread and hal thread
1. add MppThread / Mutex / Condition class 2. add internal flag to MppBuffer 3. change MppBufferService from structure to class 4. add mpp_buffer_put on mpp_frame_put 5. add coding type to Mpp initial function 6. mpp codec / hal thread basic flow done, but reset is not added git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@168 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
@@ -184,7 +184,7 @@ MPP_RET mpp_init(MppCtx *ctx, MppApi **mpi, MppCtxType type, MppCodingType codin
|
||||
|
||||
memset(p, 0, sizeof(*p));
|
||||
|
||||
p->ctx = new Mpp(type);
|
||||
p->ctx = new Mpp(type, coding);
|
||||
if (NULL == p->ctx) {
|
||||
mpp_free(p);
|
||||
mpp_err("mpp_init failed to new Mpp\n");
|
||||
|
Reference in New Issue
Block a user