mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 09:06:50 +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:
@@ -118,7 +118,7 @@ int main()
|
||||
mpp_packet_deinit(&dec_in);
|
||||
}
|
||||
|
||||
for (i = 0; i < MPI_DEC_LOOP_COUNT; i++) {
|
||||
for (i = 0; i < MPI_DEC_LOOP_COUNT; ) {
|
||||
ret = mpi->decode_get_frame(ctx, &dec_out);
|
||||
if (MPP_OK != ret) {
|
||||
goto MPP_TEST_FAILED;
|
||||
@@ -134,6 +134,7 @@ int main()
|
||||
mpp_frame_deinit(&dec_out);
|
||||
dec_out = next;
|
||||
} while (dec_out);
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user