Home
last modified time | relevance | path

Searched refs:rbuffer (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/
Dr600_buffer_common.c228 struct r600_resource *rbuffer = r600_resource(buf); in r600_buffer_destroy() local
231 util_range_destroy(&rbuffer->valid_buffer_range); in r600_buffer_destroy()
232 pipe_resource_reference((struct pipe_resource**)&rbuffer->immed_buffer, NULL); in r600_buffer_destroy()
233 pb_reference(&rbuffer->buf, NULL); in r600_buffer_destroy()
234 FREE(rbuffer); in r600_buffer_destroy()
239 struct r600_resource *rbuffer) in r600_invalidate_buffer() argument
242 if (rbuffer->b.is_shared) in r600_invalidate_buffer()
246 if (rbuffer->flags & RADEON_FLAG_SPARSE) in r600_invalidate_buffer()
252 if (rbuffer->b.is_user_ptr) in r600_invalidate_buffer()
256 if (r600_rings_is_buffer_referenced(rctx, rbuffer->buf, RADEON_USAGE_READWRITE) || in r600_invalidate_buffer()
[all …]
Dr600_state.c1668 struct r600_resource *rbuffer; in r600_emit_vertex_buffers() local
1673 rbuffer = (struct r600_resource*)vb->buffer.resource; in r600_emit_vertex_buffers()
1674 assert(rbuffer); in r600_emit_vertex_buffers()
1682 radeon_emit(cs, rbuffer->b.b.width0 - offset - 1); /* RESOURCEi_WORD1 */ in r600_emit_vertex_buffers()
1692 radeon_emit(cs, radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, rbuffer, in r600_emit_vertex_buffers()
1708 struct r600_resource *rbuffer; in r600_emit_constant_buffers() local
1713 rbuffer = (struct r600_resource*)cb->buffer; in r600_emit_constant_buffers()
1714 assert(rbuffer); in r600_emit_constant_buffers()
1724 radeon_emit(cs, radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, rbuffer, in r600_emit_constant_buffers()
1741 radeon_emit(cs, radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, rbuffer, in r600_emit_constant_buffers()
[all …]
Dr600_streamout.c47 struct r600_resource *rbuffer = (struct r600_resource*)buffer; in r600_create_so_target() local
68 util_range_add(buffer, &rbuffer->valid_buffer_range, buffer_offset, in r600_create_so_target()
Dr600_state_common.c1693 struct r600_resource *rbuffer = scratch->buffer; in r600_setup_scratch_area_for_shader() local
1705 radeon_set_config_reg(cs, ring_base_reg, (rbuffer->gpu_address + size_per_se * se) >> 8); in r600_setup_scratch_area_for_shader()
1707 radeon_emit(cs, radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, rbuffer, in r600_setup_scratch_area_for_shader()
3215 struct r600_resource *rbuffer = r600_resource(buf); in r600_invalidate_buffer() local
3220 r600_alloc_resource(&rctx->screen->b, rbuffer); in r600_invalidate_buffer()
3227 if (rctx->vertex_buffer_state.vb[i].buffer.resource == &rbuffer->b.b) { in r600_invalidate_buffer()
3235 rctx->b.streamout.targets[i]->b.buffer == &rbuffer->b.b) { in r600_invalidate_buffer()
3252 if (state->cb[i].buffer == &rbuffer->b.b) { in r600_invalidate_buffer()
3264 if (view->base.texture == &rbuffer->b.b) { in r600_invalidate_buffer()
3266 uint64_t va = rbuffer->gpu_address + offset; in r600_invalidate_buffer()
[all …]
Devergreen_state.c2132 struct r600_resource *rbuffer; in evergreen_emit_vertex_buffers() local
2137 rbuffer = (struct r600_resource*)vb->buffer.resource; in evergreen_emit_vertex_buffers()
2138 assert(rbuffer); in evergreen_emit_vertex_buffers()
2140 va = rbuffer->gpu_address + vb->buffer_offset; in evergreen_emit_vertex_buffers()
2146 radeon_emit(cs, rbuffer->b.b.width0 - vb->buffer_offset - 1); /* RESOURCEi_WORD1 */ in evergreen_emit_vertex_buffers()
2162 radeon_emit(cs, radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, rbuffer, in evergreen_emit_vertex_buffers()
2191 struct r600_resource *rbuffer; in evergreen_emit_constant_buffers() local
2197 rbuffer = (struct r600_resource*)cb->buffer; in evergreen_emit_constant_buffers()
2198 assert(rbuffer); in evergreen_emit_constant_buffers()
2200 va = rbuffer->gpu_address + cb->buffer_offset; in evergreen_emit_constant_buffers()
[all …]
/external/webrtc/modules/video_capture/linux/
Dvideo_capture_linux.cc290 struct v4l2_requestbuffers rbuffer; in AllocateVideoBuffers() local
291 memset(&rbuffer, 0, sizeof(v4l2_requestbuffers)); in AllocateVideoBuffers()
293 rbuffer.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in AllocateVideoBuffers()
294 rbuffer.memory = V4L2_MEMORY_MMAP; in AllocateVideoBuffers()
295 rbuffer.count = kNoOfV4L2Bufffers; in AllocateVideoBuffers()
297 if (ioctl(_deviceFd, VIDIOC_REQBUFS, &rbuffer) < 0) { in AllocateVideoBuffers()
302 if (rbuffer.count > kNoOfV4L2Bufffers) in AllocateVideoBuffers()
303 rbuffer.count = kNoOfV4L2Bufffers; in AllocateVideoBuffers()
305 _buffersAllocatedByDevice = rbuffer.count; in AllocateVideoBuffers()
308 _pool = new Buffer[rbuffer.count]; in AllocateVideoBuffers()
[all …]
/external/flac/src/share/grabbag/
Dreplaygain.c132 static flac_float_t lbuffer[2048], rbuffer[2048]; in grabbag__replaygain_analyze() local
158 rbuffer[i] = (flac_float_t)s; in grabbag__replaygain_analyze()
163 if(AnalyzeSamples(lbuffer, rbuffer, n, 2) != GAIN_ANALYSIS_OK) in grabbag__replaygain_analyze()
201 rbuffer[i] = (flac_float_t)(scale * (double)s); in grabbag__replaygain_analyze()
206 if(AnalyzeSamples(lbuffer, rbuffer, n, 2) != GAIN_ANALYSIS_OK) in grabbag__replaygain_analyze()
/external/libnl/lib/route/qdisc/
Dhtb.c573 int rtnl_htb_set_rbuffer(struct rtnl_class *class, uint32_t rbuffer) in rtnl_htb_set_rbuffer() argument
581 htb->ch_rbuffer = rbuffer; in rtnl_htb_set_rbuffer()
/external/pcre/dist2/src/
Dpcre2test.c7291 uint8_t rbuffer[REPLACE_BUFFSIZE]; in process_data() local
7348 SETCASTPTR(r, rbuffer); /* Sets r8, r16, or r32, as appropriate. */ in process_data()
7432 rlen = (CASTVAR(uint8_t *, r) - rbuffer)/code_unit_size; in process_data()
7445 rbuffer, rlen, nbuffer, &nsize); in process_data()
/external/mesa3d/docs/relnotes/
D19.0.0.rst1811 - radeonsi: rename rbo, rbuffer to buf or buffer