Searched refs:wr_idx (Results 1 – 8 of 8) sorted by relevance
17 if (!mix->wr_idx[i].used) in find_unused()18 return &mix->wr_idx[i]; in find_unused()31 if (mix->wr_idx[i].used && id == mix->wr_idx[i].id) in find_id()32 return &mix->wr_idx[i]; in find_id()43 mix->wr_idx = realloc(mix->wr_idx, sizeof(mix->wr_idx[0]) * new_size); in alloc_more_ids()46 mix->wr_idx[i].used = 0; in alloc_more_ids()57 mix->wr_idx = calloc(mix->id_sz, sizeof(mix->wr_idx[0])); in buffer_share_create()67 free(mix->wr_idx); in buffer_share_destroy()111 if (id != mix->wr_idx[i].id) in buffer_share_offset_update()114 mix->wr_idx[i].offset += delta; in buffer_share_offset_update()[all …]
21 struct id_offset *wr_idx; member
399 o = &rstream->buf_state->wr_idx[i]; in cras_rstream_dev_detach()
452 WORD32 wr_idx; in ih264_list_queue() local453 wr_idx = ps_list->i4_buf_wr_idx & (ps_list->i4_buf_max_idx - 1); in ih264_list_queue()454 pv_buf_wr = (UWORD8 *)ps_list->pv_buf_base + wr_idx * buf_size; in ih264_list_queue()
823 unsigned char wr_idx, wr_num = 0; in main() local1068 for (wr_idx = 0; wr_idx < wr_num; wr_idx++) { in main()1069 ifile = &input_file[wr_idx]; in main()
2733 WORD32 wr_idx; in hevcdec_main() local2735 wr_idx = dispq_producer_dequeue(&s_app_ctx); in hevcdec_main()2740 s_app_ctx.set_disp_buffers(s_app_ctx.pv_disp_ctx, wr_idx, in hevcdec_main()
2867 WORD32 wr_idx; in vdec_main() local2869 wr_idx = dispq_producer_dequeue(&s_app_ctx); in vdec_main()2874 s_app_ctx.set_disp_buffers(s_app_ctx.pv_disp_ctx, wr_idx, in vdec_main()
2855 WORD32 wr_idx; in h264dec_main() local2857 wr_idx = dispq_producer_dequeue(&s_app_ctx); in h264dec_main()2862 s_app_ctx.set_disp_buffers(s_app_ctx.pv_disp_ctx, wr_idx, in h264dec_main()