Home
last modified time | relevance | path

Searched refs:num_buffers (Results 1 – 25 of 62) sorted by relevance

123

/external/libvpx/libvpx/test/
Dexternal_frame_buffer_test.cc47 bool CreateBufferList(int num_buffers) { in CreateBufferList() argument
48 if (num_buffers < 0) in CreateBufferList()
51 num_buffers_ = num_buffers; in CreateBufferList()
261 void set_num_buffers(int num_buffers) { num_buffers_ = num_buffers; } in set_num_buffers() argument
262 int num_buffers() const { return num_buffers_; } in num_buffers() function in __anonef16c2580111::ExternalFrameBufferMD5Test
296 int num_buffers, in SetFrameBufferFunctions() argument
299 if (num_buffers > 0) { in SetFrameBufferFunctions()
300 num_buffers_ = num_buffers; in SetFrameBufferFunctions()
356 const int num_buffers = in TEST_P() local
358 set_num_buffers(num_buffers); in TEST_P()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/test/
Dexternal_frame_buffer_test.cc50 bool CreateBufferList(int num_buffers) { in CreateBufferList() argument
51 if (num_buffers < 0) in CreateBufferList()
54 num_buffers_ = num_buffers; in CreateBufferList()
265 void set_num_buffers(int num_buffers) { num_buffers_ = num_buffers; } in set_num_buffers() argument
266 int num_buffers() const { return num_buffers_; } in num_buffers() function in __anonaf85f26b0111::ExternalFrameBufferMD5Test
301 int num_buffers, in SetFrameBufferFunctions() argument
304 if (num_buffers > 0) { in SetFrameBufferFunctions()
305 num_buffers_ = num_buffers; in SetFrameBufferFunctions()
362 const int num_buffers = in TEST_P() local
364 set_num_buffers(num_buffers); in TEST_P()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_so.c77 int num_buffers) in llvmpipe_set_stream_output_buffers() argument
83 assert(num_buffers <= PIPE_MAX_SO_BUFFERS); in llvmpipe_set_stream_output_buffers()
84 if (num_buffers > PIPE_MAX_SO_BUFFERS) in llvmpipe_set_stream_output_buffers()
85 num_buffers = PIPE_MAX_SO_BUFFERS; in llvmpipe_set_stream_output_buffers()
89 for (i = 0; i < num_buffers; ++i) { in llvmpipe_set_stream_output_buffers()
95 lp->so_target.num_buffers = 0; in llvmpipe_set_stream_output_buffers()
113 lp->so_target.num_buffers = num_buffers; in llvmpipe_set_stream_output_buffers()
115 draw_set_mapped_so_buffers(lp->draw, map_buffers, num_buffers); in llvmpipe_set_stream_output_buffers()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
Dlp_state_so.c77 int num_buffers) in llvmpipe_set_stream_output_buffers() argument
83 assert(num_buffers <= PIPE_MAX_SO_BUFFERS); in llvmpipe_set_stream_output_buffers()
84 if (num_buffers > PIPE_MAX_SO_BUFFERS) in llvmpipe_set_stream_output_buffers()
85 num_buffers = PIPE_MAX_SO_BUFFERS; in llvmpipe_set_stream_output_buffers()
89 for (i = 0; i < num_buffers; ++i) { in llvmpipe_set_stream_output_buffers()
95 lp->so_target.num_buffers = 0; in llvmpipe_set_stream_output_buffers()
113 lp->so_target.num_buffers = num_buffers; in llvmpipe_set_stream_output_buffers()
115 draw_set_mapped_so_buffers(lp->draw, map_buffers, num_buffers); in llvmpipe_set_stream_output_buffers()
/external/chromium_org/third_party/webrtc/base/
Dsec_buffer.h99 template <int num_buffers,
107 desc_.cBuffers = num_buffers; in CSecBufferBundle()
128 ASSERT(num < num_buffers); // "Buffer index out of bounds"
134 ASSERT(num < num_buffers); // "Buffer index out of bounds"
141 for ( size_t i = 0; i < num_buffers; ++i ) { in Release()
151 CSecBuffer<pfnFreeBuffer> buffers_[num_buffers];
/external/qemu/distrib/sdl-1.2.15/src/audio/dma/
DSDL_dmaaudio.h42 int num_buffers; member
55 #define num_buffers (this->hidden->num_buffers) macro
DSDL_dmaaudio.c234 filling = (playing + 1)%num_buffers; in DMA_GetAudioBuf()
421 num_buffers = info.fragstotal; in DMA_OpenAudio()
422 dma_len = num_buffers*spec->size; in DMA_OpenAudio()
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
DSDL_ph_gl.c283 int num_buffers = 0; in ph_SetupOpenGLContext() local
343 num_buffers=2; in ph_SetupOpenGLContext()
347 num_buffers=1; in ph_SetupOpenGLContext()
365 num_buffers, width, height, qnxgl_attribs, -1); in ph_SetupOpenGLContext()
/external/chromium_org/content/browser/download/
Ddownload_file_impl.cc253 size_t num_buffers = 0; in StreamActive() local
268 ++num_buffers; in StreamActive()
310 RecordFileThreadReceiveBuffers(num_buffers); in StreamActive()
344 num_buffers)); in StreamActive()
Ddownload_net_log_parameters.cc162 size_t num_buffers, in FileStreamDrainedNetLogCallback() argument
167 dict->SetInteger("num_buffers", static_cast<int>(num_buffers)); in FileStreamDrainedNetLogCallback()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/dri/drm/
Ddri2.c91 int num_buffers; in dri2_drawable_get_buffers() local
187 &num_buffers, dri_drawable->loaderPrivate); in dri2_drawable_get_buffers()
193 &num_buffers, dri_drawable->loaderPrivate); in dri2_drawable_get_buffers()
197 *count = num_buffers; in dri2_drawable_get_buffers()
387 unsigned num_buffers = count; in dri2_allocate_textures() local
389 buffers = dri2_drawable_get_buffers(drawable, statts, &num_buffers); in dri2_allocate_textures()
391 dri2_drawable_process_buffers(drawable, buffers, num_buffers); in dri2_allocate_textures()
/external/mesa3d/src/gallium/state_trackers/dri/drm/
Ddri2.c91 int num_buffers; in dri2_drawable_get_buffers() local
187 &num_buffers, dri_drawable->loaderPrivate); in dri2_drawable_get_buffers()
193 &num_buffers, dri_drawable->loaderPrivate); in dri2_drawable_get_buffers()
197 *count = num_buffers; in dri2_drawable_get_buffers()
387 unsigned num_buffers = count; in dri2_allocate_textures() local
389 buffers = dri2_drawable_get_buffers(drawable, statts, &num_buffers); in dri2_allocate_textures()
391 dri2_drawable_process_buffers(drawable, buffers, num_buffers); in dri2_allocate_textures()
/external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/
Dplatform_android.c389 int num_buffers = 0, i; in droid_get_buffers_parse_attachments() local
395 assert(num_buffers < ARRAY_SIZE(dri2_surf->buffers)); in droid_get_buffers_parse_attachments()
396 buf = &dri2_surf->buffers[num_buffers]; in droid_get_buffers_parse_attachments()
408 num_buffers++; in droid_get_buffers_parse_attachments()
423 num_buffers++; in droid_get_buffers_parse_attachments()
437 return num_buffers; in droid_get_buffers_parse_attachments()
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_android.c389 int num_buffers = 0, i; in droid_get_buffers_parse_attachments() local
395 assert(num_buffers < ARRAY_SIZE(dri2_surf->buffers)); in droid_get_buffers_parse_attachments()
396 buf = &dri2_surf->buffers[num_buffers]; in droid_get_buffers_parse_attachments()
408 num_buffers++; in droid_get_buffers_parse_attachments()
423 num_buffers++; in droid_get_buffers_parse_attachments()
437 return num_buffers; in droid_get_buffers_parse_attachments()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_mpeg12_bitstream.h52 unsigned num_buffers,
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
Dvl_mpeg12_bitstream.h52 unsigned num_buffers,
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/va/
Dva_picture.c45 vlVaRenderPicture(VADriverContextP ctx, VAContextID context, VABufferID *buffers, int num_buffers) in vlVaRenderPicture() argument
/external/mesa3d/src/gallium/state_trackers/va/
Dva_picture.c45 vlVaRenderPicture(VADriverContextP ctx, VAContextID context, VABufferID *buffers, int num_buffers) in vlVaRenderPicture() argument
/external/mesa3d/src/gallium/drivers/trace/
Dtr_context.c1069 unsigned num_buffers, in trace_context_set_vertex_buffers() argument
1079 trace_dump_arg(uint, num_buffers); in trace_context_set_vertex_buffers()
1082 trace_dump_struct_array(vertex_buffer, buffers, num_buffers); in trace_context_set_vertex_buffers()
1085 if (num_buffers) { in trace_context_set_vertex_buffers()
1086 struct pipe_vertex_buffer *_buffers = MALLOC(num_buffers * sizeof(*_buffers)); in trace_context_set_vertex_buffers()
1087 memcpy(_buffers, buffers, num_buffers * sizeof(*_buffers)); in trace_context_set_vertex_buffers()
1088 for (i = 0; i < num_buffers; i++) in trace_context_set_vertex_buffers()
1090 pipe->set_vertex_buffers(pipe, num_buffers, _buffers); in trace_context_set_vertex_buffers()
1093 pipe->set_vertex_buffers(pipe, num_buffers, NULL); in trace_context_set_vertex_buffers()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/trace/
Dtr_context.c1069 unsigned num_buffers, in trace_context_set_vertex_buffers() argument
1079 trace_dump_arg(uint, num_buffers); in trace_context_set_vertex_buffers()
1082 trace_dump_struct_array(vertex_buffer, buffers, num_buffers); in trace_context_set_vertex_buffers()
1085 if (num_buffers) { in trace_context_set_vertex_buffers()
1086 struct pipe_vertex_buffer *_buffers = MALLOC(num_buffers * sizeof(*_buffers)); in trace_context_set_vertex_buffers()
1087 memcpy(_buffers, buffers, num_buffers * sizeof(*_buffers)); in trace_context_set_vertex_buffers()
1088 for (i = 0; i < num_buffers; i++) in trace_context_set_vertex_buffers()
1090 pipe->set_vertex_buffers(pipe, num_buffers, _buffers); in trace_context_set_vertex_buffers()
1093 pipe->set_vertex_buffers(pipe, num_buffers, NULL); in trace_context_set_vertex_buffers()
/external/mesa3d/src/gallium/include/pipe/
Dp_video_decoder.h84 unsigned num_buffers,
/external/chromium_org/third_party/mesa/src/src/gallium/include/pipe/
Dp_video_decoder.h84 unsigned num_buffers,
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/
Ddecode.c384 vlVdpDecoderFixVC1Startcode(uint32_t *num_buffers, const void *buffers[], unsigned sizes[]) in vlVdpDecoderFixVC1Startcode() argument
391 vl_vlc_init(&vlc, *num_buffers, buffers, sizes); in vlVdpDecoderFixVC1Startcode()
404 for (i = *num_buffers; i > 0; --i) { in vlVdpDecoderFixVC1Startcode()
408 ++(*num_buffers); in vlVdpDecoderFixVC1Startcode()
/external/mesa3d/src/gallium/state_trackers/vdpau/
Ddecode.c384 vlVdpDecoderFixVC1Startcode(uint32_t *num_buffers, const void *buffers[], unsigned sizes[]) in vlVdpDecoderFixVC1Startcode() argument
391 vl_vlc_init(&vlc, *num_buffers, buffers, sizes); in vlVdpDecoderFixVC1Startcode()
404 for (i = *num_buffers; i > 0; --i) { in vlVdpDecoderFixVC1Startcode()
408 ++(*num_buffers); in vlVdpDecoderFixVC1Startcode()
/external/chromium_org/media/audio/win/
Dwaveout_output_win.h39 int num_buffers,

123