Searched refs:buffer_id (Results 1 - 25 of 78) sorted by relevance

1234

/external/chromium_org/android_webview/public/browser/
H A Ddraw_gl.h79 typedef void AwReleaseGraphicBufferFunction(long buffer_id);
81 typedef int AwMapFunction(long buffer_id, AwMapMode mode, void** vaddr);
83 typedef int AwUnmapFunction(long buffer_id);
85 typedef void* AwGetNativeBufferFunction(long buffer_id);
87 typedef unsigned int AwGetStrideFunction(long buffer_id);
/external/chromium_org/ui/gfx/
H A Dgpu_memory_buffer.cc18 buffer_id(0)
/external/chromium_org/content/browser/renderer_host/media/
H A Dvideo_capture_buffer_pool.h41 // called |buffer_id|. -1 (kInvalidId) is never a valid ID, and is returned by
55 base::SharedMemoryHandle ShareToProcess(int buffer_id,
59 // Query the memory parameters of |buffer_id|. Fills in parameters in the
61 bool GetBufferInfo(int buffer_id, void** memory, size_t* size);
81 void RelinquishProducerReservation(int buffer_id);
84 // |buffer_id| must be a buffer index previously returned by
86 void HoldForConsumers(int buffer_id, int num_clients);
91 void RelinquishConsumerHold(int buffer_id, int num_clients);
118 Buffer* GetBuffer(int buffer_id);
129 // The buffers, indexed by |buffer_id|
[all...]
H A Dvideo_capture_buffer_pool.cc30 int buffer_id,
35 Buffer* buffer = GetBuffer(buffer_id);
37 NOTREACHED() << "Invalid buffer_id.";
46 bool VideoCaptureBufferPool::GetBufferInfo(int buffer_id, argument
51 Buffer* buffer = GetBuffer(buffer_id);
53 NOTREACHED() << "Invalid buffer_id.";
69 void VideoCaptureBufferPool::RelinquishProducerReservation(int buffer_id) { argument
71 Buffer* buffer = GetBuffer(buffer_id);
73 NOTREACHED() << "Invalid buffer_id.";
81 int buffer_id,
29 ShareToProcess( int buffer_id, base::ProcessHandle process_handle, size_t* memory_size) argument
80 HoldForConsumers( int buffer_id, int num_clients) argument
98 RelinquishConsumerHold(int buffer_id, int num_clients) argument
151 int buffer_id = next_buffer_id_++; local
163 GetBuffer( int buffer_id) argument
[all...]
H A Dvideo_capture_host.h83 int buffer_id) OVERRIDE;
85 int buffer_id) OVERRIDE;
87 int buffer_id,
92 int buffer_id,
132 void OnReceiveEmptyBuffer(int device_id, int buffer_id, uint32 sync_point);
152 int buffer_id);
156 int buffer_id);
161 int buffer_id,
169 int buffer_id,
H A Dvideo_capture_controller_event_handler.h48 int buffer_id) = 0;
52 int buffer_id) = 0;
56 int buffer_id,
63 int buffer_id,
H A Dvideo_capture_host.cc60 int buffer_id) {
64 this, controller_id, handle, length, buffer_id));
69 int buffer_id) {
73 this, controller_id, buffer_id));
78 int buffer_id,
88 buffer_id,
96 int buffer_id,
106 buffer_id,
123 int buffer_id) {
130 length, buffer_id));
56 OnBufferCreated( const VideoCaptureControllerID& controller_id, base::SharedMemoryHandle handle, int length, int buffer_id) argument
67 OnBufferDestroyed( const VideoCaptureControllerID& controller_id, int buffer_id) argument
76 OnBufferReady( const VideoCaptureControllerID& controller_id, int buffer_id, const media::VideoCaptureFormat& frame_format, const gfx::Rect& visible_rect, base::TimeTicks timestamp) argument
94 OnMailboxBufferReady( const VideoCaptureControllerID& controller_id, int buffer_id, const gpu::MailboxHolder& mailbox_holder, const media::VideoCaptureFormat& frame_format, base::TimeTicks timestamp) argument
119 DoSendNewBufferOnIOThread( const VideoCaptureControllerID& controller_id, base::SharedMemoryHandle handle, int length, int buffer_id) argument
133 DoSendFreeBufferOnIOThread( const VideoCaptureControllerID& controller_id, int buffer_id) argument
144 DoSendFilledBufferOnIOThread( const VideoCaptureControllerID& controller_id, int buffer_id, const media::VideoCaptureFormat& format, const gfx::Rect& visible_rect, base::TimeTicks timestamp) argument
159 DoSendFilledMailboxBufferOnIOThread( const VideoCaptureControllerID& controller_id, int buffer_id, const gpu::MailboxHolder& mailbox_holder, const media::VideoCaptureFormat& format, base::TimeTicks timestamp) argument
329 OnReceiveEmptyBuffer(int device_id, int buffer_id, uint32 sync_point) argument
[all...]
H A Dvideo_capture_host_unittest.cc130 int buffer_id));
132 void(int device_id, int buffer_id));
135 int buffer_id,
141 int buffer_id,
210 int buffer_id) {
211 OnNewBufferCreated(device_id, handle, length, buffer_id);
214 filled_dib_[buffer_id] = dib;
217 void OnBufferFreedDispatch(int device_id, int buffer_id) { argument
218 OnBufferFreed(device_id, buffer_id);
221 filled_dib_.find(buffer_id);
207 OnNewBufferCreatedDispatch(int device_id, base::SharedMemoryHandle handle, uint32 length, int buffer_id) argument
227 OnBufferFilledDispatch(int device_id, int buffer_id, const media::VideoCaptureFormat& frame_format, const gfx::Rect& visible_rect, base::TimeTicks timestamp) argument
253 OnMailboxBufferFilledDispatch(int device_id, int buffer_id, const gpu::MailboxHolder& mailbox_holder, const media::VideoCaptureFormat& format, base::TimeTicks timestamp) argument
[all...]
H A Dvideo_capture_buffer_pool_unittest.cc53 int buffer_id = pool_->ReserveForProducer(frame_bytes, &buffer_id_to_drop); local
54 if (buffer_id == VideoCaptureBufferPool::kInvalidId)
59 pool_->GetBufferInfo(buffer_id, &memory, &size);
61 return scoped_ptr<Buffer>(new Buffer(pool_, buffer_id, memory, size));
H A Dvideo_capture_controller.h113 // Return a buffer with id |buffer_id| previously given in
120 int buffer_id,
/external/chromium_org/media/cdm/ppapi/
H A Dcdm_helpers.cc26 uint32_t buffer_id,
30 PP_DCHECK(buffer_id);
32 return new PpbBuffer(buffer, buffer_id, allocator);
67 uint32_t buffer_id,
69 : buffer_(buffer), buffer_id_(buffer_id), size_(0), allocator_(allocator) {
86 uint32_t buffer_id = 0; local
96 buffer_id = next_buffer_id_++;
99 buffer_id = found->second.first;
103 allocated_buffers_.insert(std::make_pair(buffer_id, buffer));
105 return PpbBuffer::Create(buffer, buffer_id, thi
25 Create(const pp::Buffer_Dev& buffer, uint32_t buffer_id, PpbBufferAllocator* allocator) argument
66 PpbBuffer(pp::Buffer_Dev buffer, uint32_t buffer_id, PpbBufferAllocator* allocator) argument
108 Release(uint32_t buffer_id) argument
[all...]
/external/chromium_org/content/renderer/media/
H A Dvideo_capture_message_filter.h34 int buffer_id) = 0;
36 virtual void OnBufferDestroyed(int buffer_id) = 0;
39 virtual void OnBufferReceived(int buffer_id,
46 int buffer_id,
98 int buffer_id);
102 int buffer_id);
106 int buffer_id,
113 int buffer_id,
H A Dvideo_capture_message_filter.cc108 int buffer_id) {
117 Send(new VideoCaptureHostMsg_BufferReady(device_id, buffer_id, 0));
121 delegate->OnBufferCreated(handle, length, buffer_id);
126 int buffer_id,
137 Send(new VideoCaptureHostMsg_BufferReady(device_id, buffer_id, 0));
141 delegate->OnBufferReceived(buffer_id, format, visible_rect, timestamp);
146 int buffer_id,
158 Send(new VideoCaptureHostMsg_BufferReady(device_id, buffer_id, 0));
163 buffer_id, mailbox_holder, format, timestamp);
168 int buffer_id) {
104 OnBufferCreated( int device_id, base::SharedMemoryHandle handle, int length, int buffer_id) argument
124 OnBufferReceived( int device_id, int buffer_id, const media::VideoCaptureFormat& format, const gfx::Rect& visible_rect, base::TimeTicks timestamp) argument
144 OnMailboxBufferReceived( int device_id, int buffer_id, const gpu::MailboxHolder& mailbox_holder, const media::VideoCaptureFormat& format, base::TimeTicks timestamp) argument
166 OnBufferDestroyed( int device_id, int buffer_id) argument
[all...]
H A Dvideo_capture_message_filter_unittest.cc30 int buffer_id));
31 MOCK_METHOD1(OnBufferDestroyed, void(int buffer_id));
33 void(int buffer_id,
38 void(int buffer_id,
92 int buffer_id = 22; local
98 EXPECT_CALL(delegate, OnBufferReceived(buffer_id, _, _, timestamp))
101 delegate.device_id(), buffer_id, shm_format, gfx::Rect(234, 512),
109 buffer_id = 33;
119 EXPECT_CALL(delegate, OnMailboxBufferReceived(buffer_id, _, _, timestamp))
125 buffer_id,
[all...]
H A Dvideo_capture_impl.h113 int buffer_id) OVERRIDE;
114 virtual void OnBufferDestroyed(int buffer_id) OVERRIDE;
115 virtual void OnBufferReceived(int buffer_id,
119 virtual void OnMailboxBufferReceived(int buffer_id,
132 void OnClientBufferFinished(int buffer_id,
H A Dvideo_capture_impl.cc174 int length, int buffer_id) {
192 buffer_id,
198 void VideoCaptureImpl::OnBufferDestroyed(int buffer_id) { argument
201 ClientBufferMap::iterator iter = client_buffers_.find(buffer_id);
210 void VideoCaptureImpl::OnBufferReceived(int buffer_id, argument
220 Send(new VideoCaptureHostMsg_BufferReady(device_id_, buffer_id, 0));
235 ClientBufferMap::iterator iter = client_buffers_.find(buffer_id);
251 buffer_id,
264 int buffer_id,
271 Send(new VideoCaptureHostMsg_BufferReady(device_id_, buffer_id,
172 OnBufferCreated( base::SharedMemoryHandle handle, int length, int buffer_id) argument
263 OnMailboxBufferReceived( int buffer_id, const gpu::MailboxHolder& mailbox_holder, const media::VideoCaptureFormat& format, base::TimeTicks timestamp) argument
298 OnClientBufferFinished( int buffer_id, const scoped_refptr<ClientBuffer>& , uint32 release_sync_point) argument
[all...]
/external/chromium_org/android_webview/browser/
H A Dgpu_memory_buffer_factory_impl.cc24 GpuMemoryBufferImpl(long buffer_id, const gfx::Size& size) argument
25 : buffer_id_(buffer_id), size_(size), mapped_(false) {
53 handle.buffer_id = buffer_id_;
82 long buffer_id = g_gl_draw_functions->create_graphic_buffer(width, height); local
83 if (!buffer_id)
87 new GpuMemoryBufferImpl(buffer_id, gfx::Size(width, height)))
99 g_gl_draw_functions->get_native_buffer(handle.buffer_id);
/external/chromium_org/content/common/gpu/media/
H A Dvaapi_wrapper.cc431 VABufferID buffer_id; local
434 1, buffer, &buffer_id);
441 pending_slice_bufs_.push_back(buffer_id);
445 pending_va_bufs_.push_back(buffer_id);
458 VABufferID buffer_id; local
465 &buffer_id);
469 va_res = vaMapBuffer(va_display_, buffer_id, &data_ptr);
472 vaDestroyBuffer(va_display_, buffer_id);
482 va_res = vaUnmapBuffer(va_display_, buffer_id);
485 pending_va_bufs_.push_back(buffer_id);
506 CreateCodedBuffer(size_t size, VABufferID* buffer_id) argument
686 DownloadAndDestroyCodedBuffer(VABufferID buffer_id, VASurfaceID sync_surface_id, uint8* target_ptr, size_t target_size, size_t* coded_data_size) argument
[all...]
H A Dgpu_video_encode_accelerator.cc255 int32 buffer_id,
259 "buffer_id=" << buffer_id
263 if (buffer_id < 0) {
265 "invalid buffer_id=" << buffer_id;
271 "buffer too small for buffer_id=" << buffer_id;
276 media::BitstreamBuffer(buffer_id, buffer_handle, buffer_size));
254 OnUseOutputBitstreamBuffer( int32 buffer_id, base::SharedMemoryHandle buffer_handle, uint32 buffer_size) argument
H A Dvaapi_wrapper.h125 bool CreateCodedBuffer(size_t size, VABufferID* buffer_id);
127 // Download the contents of the buffer with given |buffer_id| into a buffer of
133 bool DownloadAndDestroyCodedBuffer(VABufferID buffer_id,
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/drm/
H A Dmodeset.c95 if (fb->buffer_id)
111 &fb->buffer_id);
113 fb->buffer_id = 0;
129 drmModeDirtyFB(drmdpy->fd, drmsurf->front_fb.buffer_id, NULL, 0);
166 if (!drmsurf->back_fb.buffer_id) {
173 drmsurf->back_fb.buffer_id, 0, NULL);
239 if (drmsurf->front_fb.buffer_id)
240 drmModeRmFB(drmsurf->drmdpy->fd, drmsurf->front_fb.buffer_id);
243 if (drmsurf->back_fb.buffer_id)
244 drmModeRmFB(drmsurf->drmdpy->fd, drmsurf->back_fb.buffer_id);
387 drm_display_set_crtc(struct native_display *ndpy, int crtc_idx, uint32_t buffer_id, uint32_t x, uint32_t y, uint32_t *connectors, int num_connectors, drmModeModeInfoPtr mode) argument
457 uint32_t buffer_id; local
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/drm/
H A Dmodeset.c95 if (fb->buffer_id)
111 &fb->buffer_id);
113 fb->buffer_id = 0;
129 drmModeDirtyFB(drmdpy->fd, drmsurf->front_fb.buffer_id, NULL, 0);
166 if (!drmsurf->back_fb.buffer_id) {
173 drmsurf->back_fb.buffer_id, 0, NULL);
239 if (drmsurf->front_fb.buffer_id)
240 drmModeRmFB(drmsurf->drmdpy->fd, drmsurf->front_fb.buffer_id);
243 if (drmsurf->back_fb.buffer_id)
244 drmModeRmFB(drmsurf->drmdpy->fd, drmsurf->back_fb.buffer_id);
387 drm_display_set_crtc(struct native_display *ndpy, int crtc_idx, uint32_t buffer_id, uint32_t x, uint32_t y, uint32_t *connectors, int num_connectors, drmModeModeInfoPtr mode) argument
457 uint32_t buffer_id; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/va/
H A Dva_buffer.c72 vlVaDestroyBuffer(VADriverContextP ctx, VABufferID buffer_id) argument
/external/mesa3d/src/gallium/state_trackers/va/
H A Dva_buffer.c72 vlVaDestroyBuffer(VADriverContextP ctx, VABufferID buffer_id) argument
/external/chromium_org/gpu/command_buffer/client/
H A Dvertex_array_object_manager.cc69 GLuint buffer_id() const { function in class:gpu::gles2::VertexArrayObject::VertexAttrib
106 GLuint buffer_id,
112 buffer_id_ = buffer_id;
164 GLuint buffer_id,
208 if (attrib.buffer_id() == id) {
245 GLuint buffer_id,
259 attrib.SetInfo(buffer_id, size, type, normalized, stride, ptr);
276 *param = attrib->buffer_id();
432 GLuint buffer_id,
440 if (buffer_id
105 SetInfo( GLuint buffer_id, GLint size, GLenum type, GLboolean normalized, GLsizei gl_stride, const GLvoid* pointer) argument
244 SetAttribPointer( GLuint buffer_id, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr) argument
431 SetAttribPointer( GLuint buffer_id, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr) argument
[all...]

Completed in 930 milliseconds

1234