mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-08 10:30:04 +08:00
[h264d]: move h264d common header file to common directory
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@250 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
@@ -102,6 +102,7 @@ static MPP_RET get_logenv(LogEnv_t *env)
|
||||
static void print_env_help(LogEnv_t *env)
|
||||
{
|
||||
RK_U8 i = 0;
|
||||
(void)env;
|
||||
|
||||
fprintf(stdout, "--------------- h264d help -------------------- \n");
|
||||
|
||||
|
@@ -199,7 +199,6 @@ static void dump_slots(MppBufSlotsImpl *impl)
|
||||
RK_U32 decoding = (slot->status & MPP_SLOT_USED_AS_HW_DST) ? (1) : (0);
|
||||
RK_U32 display = (slot->status & MPP_SLOT_USED_AS_DISPLAY) ? (1) : (0);
|
||||
|
||||
RK_U32 pos = 0;
|
||||
mpp_log("slot %2d used %d refer %d decoding %d display %d\n",
|
||||
i, used, refer, decoding, display);
|
||||
}
|
||||
|
@@ -249,7 +249,7 @@ void *mpp_dec_hal_thread(void *data)
|
||||
* 3. add frame to output list
|
||||
*/
|
||||
mpp_buf_slot_clr_hw_dst(slots, task_dec->output);
|
||||
for (RK_S32 i = 0; i < MPP_ARRAY_ELEMS(task_dec->refer); i++) {
|
||||
for (RK_U32 i = 0; i < MPP_ARRAY_ELEMS(task_dec->refer); i++) {
|
||||
RK_S32 index = task_dec->refer[i];
|
||||
if (index >= 0)
|
||||
mpp_buf_slot_dec_hw_ref(slots, index);
|
||||
|
Reference in New Issue
Block a user