Home
last modified time | relevance | path

Searched refs:wr_idx (Results 1 – 8 of 8) sorted by relevance

/external/adhd/cras/src/server/
Dbuffer_share.c17 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 …]
Dbuffer_share.h21 struct id_offset *wr_idx; member
Dcras_rstream.c399 o = &rstream->buf_state->wr_idx[i]; in cras_rstream_dev_detach()
/external/libavc/common/
Dih264_list.c452 WORD32 wr_idx; in ih264_list_queue() local
453 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()
/external/u-boot/tools/
Difdtool.c823 unsigned char wr_idx, wr_num = 0; in main() local
1068 for (wr_idx = 0; wr_idx < wr_num; wr_idx++) { in main()
1069 ifile = &input_file[wr_idx]; in main()
/external/libhevc/test/decoder/
Dmain.c2733 WORD32 wr_idx; in hevcdec_main() local
2735 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()
/external/libmpeg2/test/decoder/
Dmain.c2867 WORD32 wr_idx; in vdec_main() local
2869 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()
/external/libavc/test/decoder/
Dmain.c2855 WORD32 wr_idx; in h264dec_main() local
2857 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()