Home
last modified time | relevance | path

Searched refs:bq (Results 1 – 25 of 58) sorted by relevance

123

/third_party/pulseaudio/src/pulsecore/
Dmemblockq.c72 pa_memblockq* bq; in pa_memblockq_new() local
77 bq = pa_xnew0(pa_memblockq, 1); in pa_memblockq_new()
78 bq->name = pa_xstrdup(name); in pa_memblockq_new()
80 bq->sample_spec = *sample_spec; in pa_memblockq_new()
81 bq->base = pa_frame_size(sample_spec); in pa_memblockq_new()
82 bq->read_index = bq->write_index = idx; in pa_memblockq_new()
85 …(unsigned long) maxlength, (unsigned long) tlength, (unsigned long) bq->base, (unsigned long) preb… in pa_memblockq_new()
87 bq->in_prebuf = true; in pa_memblockq_new()
89 pa_memblockq_set_maxlength(bq, maxlength); in pa_memblockq_new()
90 pa_memblockq_set_tlength(bq, tlength); in pa_memblockq_new()
[all …]
Dmemblockq.h77 void pa_memblockq_free(pa_memblockq*bq);
80 int pa_memblockq_push(pa_memblockq* bq, const pa_memchunk *chunk);
85 int pa_memblockq_push_align(pa_memblockq* bq, const pa_memchunk *chunk);
88 void pa_memblockq_seek(pa_memblockq *bq, int64_t offset, pa_seek_mode_t seek, bool account);
96 int pa_memblockq_peek(pa_memblockq* bq, pa_memchunk *chunk);
101 int pa_memblockq_peek_fixed_size(pa_memblockq *bq, size_t block_size, pa_memchunk *chunk);
104 void pa_memblockq_drop(pa_memblockq *bq, size_t length);
107 void pa_memblockq_rewind(pa_memblockq *bq, size_t length);
110 bool pa_memblockq_is_readable(pa_memblockq *bq);
113 size_t pa_memblockq_get_length(pa_memblockq *bq);
[all …]
/third_party/pulseaudio/src/tests/
Dmemblockq-test.c77 static void dump(pa_memblockq *bq, int n) { in dump() argument
82 pa_assert(bq); in dump()
86 pa_memblockq_peek_fixed_size(bq, 64, &out); in dump()
100 if (pa_memblockq_peek(bq, &out) < 0) in dump()
105 pa_memblockq_drop(bq, out.length); in dump()
120 static void check_queue_invariants(pa_memblockq *bq) { in check_queue_invariants() argument
121 size_t base = pa_memblockq_get_base(bq); in check_queue_invariants()
122 size_t maxlength = pa_memblockq_get_maxlength(bq); in check_queue_invariants()
123 size_t tlength = pa_memblockq_get_tlength(bq); in check_queue_invariants()
124 size_t minreq = pa_memblockq_get_minreq(bq); in check_queue_invariants()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/hud/
Dhud_driver_query.c56 hud_batch_query_update(struct hud_batch_query_context *bq, in hud_batch_query_update() argument
59 if (!bq || bq->failed) in hud_batch_query_update()
62 if (bq->query[bq->head]) in hud_batch_query_update()
63 pipe->end_query(pipe, bq->query[bq->head]); in hud_batch_query_update()
65 bq->results = 0; in hud_batch_query_update()
67 while (bq->pending) { in hud_batch_query_update()
68 unsigned idx = (bq->head - bq->pending + 1) % NUM_QUERIES; in hud_batch_query_update()
69 struct pipe_query *query = bq->query[idx]; in hud_batch_query_update()
71 if (!bq->result[idx]) in hud_batch_query_update()
72 bq->result[idx] = MALLOC(sizeof(bq->result[idx]->batch[0]) * in hud_batch_query_update()
[all …]
Dhud_private.h179 void hud_batch_query_begin(struct hud_batch_query_context *bq,
181 void hud_batch_query_update(struct hud_batch_query_context *bq,
/third_party/pulseaudio/src/pulsecore/filter/
Dbiquad.c29 static void set_coefficient(struct biquad *bq, double b0, double b1, double b2, in set_coefficient() argument
33 bq->b0 = b0 * a0_inv; in set_coefficient()
34 bq->b1 = b1 * a0_inv; in set_coefficient()
35 bq->b2 = b2 * a0_inv; in set_coefficient()
36 bq->a1 = a1 * a0_inv; in set_coefficient()
37 bq->a2 = a2 * a0_inv; in set_coefficient()
40 static void biquad_lowpass(struct biquad *bq, double cutoff) in biquad_lowpass() argument
48 set_coefficient(bq, 1, 0, 0, 1, 0, 0); in biquad_lowpass()
63 set_coefficient(bq, b0, b1, b2, 1, a1, a2); in biquad_lowpass()
68 set_coefficient(bq, 0, 0, 0, 1, 0, 0); in biquad_lowpass()
[all …]
Dcrossover.c16 biquad_set(&lr4->bq, type, freq); in lr4_set()
33 float lb0 = lr4->bq.b0; in lr4_process_float32()
34 float lb1 = lr4->bq.b1; in lr4_process_float32()
35 float lb2 = lr4->bq.b2; in lr4_process_float32()
36 float la1 = lr4->bq.a1; in lr4_process_float32()
37 float la2 = lr4->bq.a2; in lr4_process_float32()
70 float lb0 = lr4->bq.b0; in lr4_process_s16()
71 float lb1 = lr4->bq.b1; in lr4_process_s16()
72 float lb2 = lr4->bq.b2; in lr4_process_s16()
73 float la1 = lr4->bq.a1; in lr4_process_s16()
[all …]
Dbiquad.h39 void biquad_set(struct biquad *bq, enum biquad_type type, double freq);
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_comparison_pre.c74 block_queue_init(struct block_queue *bq) in block_queue_init() argument
76 exec_list_make_empty(&bq->blocks); in block_queue_init()
77 exec_list_make_empty(&bq->reusable_blocks); in block_queue_init()
81 block_queue_finish(struct block_queue *bq) in block_queue_finish() argument
85 while ((n = (struct block_instructions *) exec_list_pop_head(&bq->blocks)) != NULL) { in block_queue_finish()
90 while ((n = (struct block_instructions *) exec_list_pop_head(&bq->reusable_blocks)) != NULL) { in block_queue_finish()
96 push_block(struct block_queue *bq) in push_block() argument
99 (struct block_instructions *) exec_list_pop_head(&bq->reusable_blocks); in push_block()
113 exec_list_push_tail(&bq->blocks, &bi->node); in push_block()
119 pop_block(struct block_queue *bq, struct block_instructions *bi) in pop_block() argument
[all …]
/third_party/ffmpeg/libavfilter/
Daf_aemphasis.c70 static inline void biquad_process(BiquadCoeffs *bq, double *dst, const double *src, int nb_samples, in biquad_process() argument
73 const double a0 = bq->a0; in biquad_process()
74 const double a1 = bq->a1; in biquad_process()
75 const double a2 = bq->a2; in biquad_process()
76 const double b1 = bq->b1; in biquad_process()
77 const double b2 = bq->b2; in biquad_process()
184 static inline void set_highshelf_rbj(BiquadCoeffs *bq, double freq, double q, double peak, double s… in set_highshelf_rbj() argument
193 bq->a0 = A*( (A+1) + (A-1)*cw0 + tmp); in set_highshelf_rbj()
194 bq->a1 = -2*A*( (A-1) + (A+1)*cw0); in set_highshelf_rbj()
195 bq->a2 = A*( (A+1) + (A-1)*cw0 - tmp); in set_highshelf_rbj()
[all …]
/third_party/grpc/tools/run_tests/performance/
Dbq_upload_result.py55 bq = big_query_utils.create_big_query()
56 _create_results_table(bq, dataset_id, table_id)
59 bq, dataset_id, table_id, scenario_result, flatten=False):
68 bq = big_query_utils.create_big_query()
69 _create_results_table(bq, dataset_id, table_id)
71 if not _insert_result(bq, dataset_id, table_id, scenario_result):
76 def _insert_result(bq, dataset_id, table_id, scenario_result, flatten=True): argument
81 return big_query_utils.insert_rows(bq, _PROJECT_ID, dataset_id, table_id,
85 def _create_results_table(bq, dataset_id, table_id): argument
90 return big_query_utils.create_table2(bq, _PROJECT_ID, dataset_id, table_id,
Dpatch_scenario_results_schema.py37 bq = big_query_utils.create_big_query()
42 return big_query_utils.patch_table(bq, _PROJECT_ID, dataset_id, table_id,
/third_party/grpc/tools/run_tests/python_utils/
Dupload_test_results.py87 def _insert_rows_with_retries(bq, bq_table, bq_rows): argument
93 if big_query_utils.insert_rows(bq, _PROJECT_ID, _DATASET_ID,
115 bq = big_query_utils.create_big_query()
116 big_query_utils.create_partitioned_table(bq,
141 _insert_rows_with_retries(bq, bq_table, bq_rows)
151 bq = big_query_utils.create_big_query()
152 big_query_utils.create_partitioned_table(bq,
176 _insert_rows_with_retries(bq, bq_table, bq_rows)
Dupload_rbe_results.py87 bq = big_query_utils.create_big_query()
88 big_query_utils.create_partitioned_table(bq,
99 if big_query_utils.insert_rows(bq, _PROJECT_ID, _DATASET_ID, _TABLE_ID,
/third_party/skia/third_party/externals/oboe/src/opensles/
DAudioStreamOpenSLES.cpp292 SLresult AudioStreamOpenSLES::enqueueCallbackBuffer(SLAndroidSimpleBufferQueueItf bq) { in enqueueCallbackBuffer() argument
293 return (*bq)->Enqueue(bq, mCallbackBuffer.get(), mBytesPerCallback); in enqueueCallbackBuffer()
296 int32_t AudioStreamOpenSLES::getBufferDepth(SLAndroidSimpleBufferQueueItf bq) { in getBufferDepth() argument
298 SLresult result = (*bq)->GetState(bq, &queueState); in getBufferDepth()
302 void AudioStreamOpenSLES::processBufferCallback(SLAndroidSimpleBufferQueueItf bq) { in processBufferCallback() argument
308 SLresult enqueueResult = enqueueCallbackBuffer(bq); in processBufferCallback()
332 static void bqCallbackGlue(SLAndroidSimpleBufferQueueItf bq, void *context) { in bqCallbackGlue() argument
333 (reinterpret_cast<AudioStreamOpenSLES *>(context))->processBufferCallback(bq); in bqCallbackGlue()
DAudioStreamOpenSLES.h75 void processBufferCallback(SLAndroidSimpleBufferQueueItf bq);
92 int32_t getBufferDepth(SLAndroidSimpleBufferQueueItf bq);
94 SLresult enqueueCallbackBuffer(SLAndroidSimpleBufferQueueItf bq);
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavutils.h80 AVRational bq = { 1, GST_SECOND }; in gst_ffmpeg_time_ff_to_gst() local
81 out = av_rescale_q (pts, base, bq); in gst_ffmpeg_time_ff_to_gst()
95 AVRational bq = { 1, GST_SECOND }; in gst_ffmpeg_time_gst_to_ff() local
96 out = av_rescale_q (time, bq, base); in gst_ffmpeg_time_gst_to_ff()
/third_party/ffmpeg/libavcodec/x86/
Ddirac_dwt.asm188 lea b_w2q, [bq+wq]
192 mova m0, [bq + 2*xq]
221 mova [bq+4*xq], m0
222 mova [bq+4*xq+mmsize], m2
238 lea b_w2q, [bq+wq]
239 movu m4, [bq+wq]
244 mova m0, [bq + 2*xq]
286 mova [bq+4*xq], m6
287 mova [bq+4*xq+mmsize], m2
/third_party/ffmpeg/libavutil/
Dmathematics.c134 int64_t av_rescale_q_rnd(int64_t a, AVRational bq, AVRational cq, in av_rescale_q_rnd() argument
137 int64_t b = bq.num * (int64_t)cq.den; in av_rescale_q_rnd()
138 int64_t c = cq.num * (int64_t)bq.den; in av_rescale_q_rnd()
142 int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq) in av_rescale_q() argument
144 return av_rescale_q_rnd(a, bq, cq, AV_ROUND_NEAR_INF); in av_rescale_q()
Dmathematics.h152 int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq) av_const;
161 int64_t av_rescale_q_rnd(int64_t a, AVRational bq, AVRational cq,
/third_party/boost/boost/geometry/srs/projections/proj/
Dnsper.hpp156 T bm, bq, yt; in inv() local
160 bq = this->m_proj_parm.pn1 * xy_y * this->m_proj_parm.cw * yt; in inv()
161 xy_x = bm * this->m_proj_parm.cg + bq * this->m_proj_parm.sg; in inv()
162 xy_y = bq * this->m_proj_parm.cg - bm * this->m_proj_parm.sg; in inv()
/third_party/protobuf/benchmarks/util/
Dresult_uploader.py64 bq = big_query_utils.create_big_query()
66 if not big_query_utils.insert_rows(bq, _PROJECT_ID, _DATASET,
/third_party/flutter/flutter/dev/bots/
Dtest.dart8 import 'package:googleapis/bigquery/v2.dart' as bq;
163 Future<bq.BigqueryApi> _getBigqueryApi() async {
179 final List<String> scopes = <String>[bq.BigqueryApi.BigqueryInsertdataScope];
181 return bq.BigqueryApi(client);
242 final bq.BigqueryApi bigqueryApi = await _getBigqueryApi();
375 final bq.BigqueryApi bigqueryApi = await _getBigqueryApi();
522 bq.TabledataResourceApi tableData,
584 bq.TabledataResourceApi tableData,
704 bq.TabledataResourceApi tableData,
716 final bq.TableDataInsertAllRequest request = bq.TableDataInsertAllRequest();
[all …]
/third_party/ffmpeg/libavfilter/x86/
Dvf_idet.asm50 movu m3, [bq + indexq*1]
105 movu m2, [bq + indexq * 2] ; B
146 movu m2, [bq + indexq*1] ; B
/third_party/grpc/tools/failures/
Ddetect_new_failures.py135 bq = big_query_utils.create_big_query()
145 query_job = big_query_utils.sync_query_job(bq, 'grpc-testing', query)
146 page = bq.jobs().getQueryResults(

123