Lines Matching refs:cur_pos
37 INT32 cur_pos; /* current position */ member
66 bta_av_sbc_ups_cb.cur_pos = -1; in bta_av_sbc_init_up_sample()
175 while (bta_av_sbc_ups_cb.cur_pos > 0 && dst_samples) in bta_av_sbc_up_sample_16s()
180 bta_av_sbc_ups_cb.cur_pos -= src_sps; in bta_av_sbc_up_sample_16s()
184 bta_av_sbc_ups_cb.cur_pos = dst_sps; in bta_av_sbc_up_sample_16s()
196 bta_av_sbc_ups_cb.cur_pos -= src_sps; in bta_av_sbc_up_sample_16s()
198 } while (bta_av_sbc_ups_cb.cur_pos > 0 && dst_samples); in bta_av_sbc_up_sample_16s()
200 bta_av_sbc_ups_cb.cur_pos += dst_sps; in bta_av_sbc_up_sample_16s()
203 if (bta_av_sbc_ups_cb.cur_pos == (INT32)dst_sps) in bta_av_sbc_up_sample_16s()
204 bta_av_sbc_ups_cb.cur_pos = 0; in bta_av_sbc_up_sample_16s()
237 while (bta_av_sbc_ups_cb.cur_pos > 0 && dst_samples) in bta_av_sbc_up_sample_16m()
242 bta_av_sbc_ups_cb.cur_pos -= src_sps; in bta_av_sbc_up_sample_16m()
248 bta_av_sbc_ups_cb.cur_pos = dst_sps; in bta_av_sbc_up_sample_16m()
259 bta_av_sbc_ups_cb.cur_pos -= src_sps; in bta_av_sbc_up_sample_16m()
263 } while (bta_av_sbc_ups_cb.cur_pos > 0 && dst_samples); in bta_av_sbc_up_sample_16m()
265 bta_av_sbc_ups_cb.cur_pos += dst_sps; in bta_av_sbc_up_sample_16m()
268 if (bta_av_sbc_ups_cb.cur_pos == (INT32)dst_sps) in bta_av_sbc_up_sample_16m()
269 bta_av_sbc_ups_cb.cur_pos = 0; in bta_av_sbc_up_sample_16m()
303 while (bta_av_sbc_ups_cb.cur_pos > 0 && dst_samples) in bta_av_sbc_up_sample_8s()
308 bta_av_sbc_ups_cb.cur_pos -= src_sps; in bta_av_sbc_up_sample_8s()
313 bta_av_sbc_ups_cb.cur_pos = dst_sps; in bta_av_sbc_up_sample_8s()
329 bta_av_sbc_ups_cb.cur_pos -= src_sps; in bta_av_sbc_up_sample_8s()
332 } while (bta_av_sbc_ups_cb.cur_pos > 0 && dst_samples); in bta_av_sbc_up_sample_8s()
334 bta_av_sbc_ups_cb.cur_pos += dst_sps; in bta_av_sbc_up_sample_8s()
337 if (bta_av_sbc_ups_cb.cur_pos == (INT32)dst_sps) in bta_av_sbc_up_sample_8s()
338 bta_av_sbc_ups_cb.cur_pos = 0; in bta_av_sbc_up_sample_8s()
371 while (bta_av_sbc_ups_cb.cur_pos > 0 && dst_samples) in bta_av_sbc_up_sample_8m()
376 bta_av_sbc_ups_cb.cur_pos -= src_sps; in bta_av_sbc_up_sample_8m()
381 bta_av_sbc_ups_cb.cur_pos = dst_sps; in bta_av_sbc_up_sample_8m()
394 bta_av_sbc_ups_cb.cur_pos -= src_sps; in bta_av_sbc_up_sample_8m()
397 } while (bta_av_sbc_ups_cb.cur_pos > 0 && dst_samples); in bta_av_sbc_up_sample_8m()
399 bta_av_sbc_ups_cb.cur_pos += dst_sps; in bta_av_sbc_up_sample_8m()
402 if (bta_av_sbc_ups_cb.cur_pos == (INT32)dst_sps) in bta_av_sbc_up_sample_8m()
403 bta_av_sbc_ups_cb.cur_pos = 0; in bta_av_sbc_up_sample_8m()