/frameworks/webview/chromium/plat_support/ |
graphic_buffer_impl.h | 34 static void Release(int buffer_id); 35 static int MapStatic(int buffer_id, AwMapMode mode, void** vaddr); 36 static int UnmapStatic(int buffer_id); 37 static void* GetNativeBufferStatic(int buffer_id); 38 static uint32_t GetStrideStatic(int buffer_id);
|
graphic_buffer_impl.cpp | 48 void GraphicBufferImpl::Release(int buffer_id) { 49 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); 54 int GraphicBufferImpl::MapStatic(int buffer_id, AwMapMode mode, void** vaddr) { 55 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); 60 int GraphicBufferImpl::UnmapStatic(int buffer_id) { 61 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); 66 void* GraphicBufferImpl::GetNativeBufferStatic(int buffer_id) { 67 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); 72 uint32_t GraphicBufferImpl::GetStrideStatic(int buffer_id) { 73 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); [all...] |
/external/chromium_org/content/browser/renderer_host/media/ |
video_capture_buffer_pool.h | 41 // 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...] |
video_capture_controller_event_handler.h | 37 int buffer_id) = 0; 41 int buffer_id) = 0; 46 int buffer_id,
|
video_capture_buffer_pool.cc | 29 int buffer_id, 34 Buffer* buffer = GetBuffer(buffer_id); 36 NOTREACHED() << "Invalid buffer_id."; 45 bool VideoCaptureBufferPool::GetBufferInfo(int buffer_id, 50 Buffer* buffer = GetBuffer(buffer_id); 52 NOTREACHED() << "Invalid buffer_id."; 68 void VideoCaptureBufferPool::RelinquishProducerReservation(int buffer_id) { 70 Buffer* buffer = GetBuffer(buffer_id); 72 NOTREACHED() << "Invalid buffer_id."; 80 int buffer_id, 150 int buffer_id = next_buffer_id_++; local [all...] |
video_capture_host.h | 84 int buffer_id) OVERRIDE; 86 int buffer_id) OVERRIDE; 89 int buffer_id, 124 void OnReceiveEmptyBuffer(int device_id, int buffer_id); 131 int buffer_id); 135 int buffer_id); 140 int buffer_id,
|
video_capture_host.cc | 53 int buffer_id) { 57 this, controller_id, handle, length, buffer_id)); 62 int buffer_id) { 66 this, controller_id, buffer_id)); 71 int buffer_id, 77 this, controller_id, buffer_id, timestamp, 92 int buffer_id) { 99 length, buffer_id)); 104 int buffer_id) { 110 Send(new VideoCaptureMsg_FreeBuffer(controller_id.device_id, buffer_id)); [all...] |
video_capture_host_unittest.cc | 118 int length, int buffer_id)); 120 void(int device_id, int buffer_id)); 122 void(int device_id, int buffer_id, base::Time timestamp, 187 int buffer_id) { 188 OnNewBufferCreated(device_id, handle, length, buffer_id); 191 filled_dib_[buffer_id] = dib; 194 void OnBufferFreedDispatch(int device_id, int buffer_id) { 195 OnBufferFreed(device_id, buffer_id); 198 filled_dib_.find(buffer_id); 205 int buffer_id, [all...] |
/external/chromium_org/android_webview/public/browser/ |
draw_gl.h | 89 typedef void AwReleaseGraphicBufferFunction(int buffer_id); 91 typedef int AwMapFunction(int buffer_id, AwMapMode mode, void** vaddr); 93 typedef int AwUnmapFunction(int buffer_id); 95 typedef void* AwGetNativeBufferFunction(int buffer_id); 97 typedef unsigned int AwGetStrideFunction(int buffer_id);
|
/external/chromium_org/media/cdm/ppapi/ |
cdm_helpers.cc | 30 uint32_t buffer_id = 0; local 40 buffer_id = next_buffer_id_++; 43 buffer_id = found->second.first; 47 allocated_buffers_.insert(std::make_pair(buffer_id, buffer)); 49 return PpbBuffer::Create(buffer, buffer_id); 52 void PpbBufferAllocator::Release(uint32_t buffer_id) { 53 if (!buffer_id) 56 AllocatedBufferMap::iterator found = allocated_buffers_.find(buffer_id); 62 std::make_pair(buffer.size(), std::make_pair(buffer_id, buffer)));
|
cdm_helpers.h | 30 static PpbBuffer* Create(const pp::Buffer_Dev& buffer, uint32_t buffer_id) { 33 PP_DCHECK(buffer_id); 34 return new PpbBuffer(buffer, buffer_id); 60 uint32_t buffer_id() const { return buffer_id_; } function in class:media::PpbBuffer 63 PpbBuffer(pp::Buffer_Dev buffer, uint32_t buffer_id) 65 buffer_id_(buffer_id), 85 // Releases the buffer with |buffer_id|. A buffer can be recycled after 87 void Release(uint32_t buffer_id);
|
/external/chromium_org/content/renderer/media/ |
video_capture_message_filter.h | 31 int buffer_id) = 0; 33 virtual void OnBufferDestroyed(int buffer_id) = 0; 36 virtual void OnBufferReceived(int buffer_id, 79 int buffer_id); 83 int buffer_id); 87 int buffer_id,
|
video_capture_impl.h | 63 int buffer_id) OVERRIDE; 64 virtual void OnBufferDestroyed(int buffer_id) OVERRIDE; 66 int buffer_id, 95 int buffer_id); 96 void DoBufferDestroyedOnCaptureThread(int buffer_id); 98 int buffer_id, 102 int buffer_id,
|
video_capture_message_filter.cc | 101 int buffer_id) { 110 Send(new VideoCaptureHostMsg_BufferReady(device_id, buffer_id)); 114 delegate->OnBufferCreated(handle, length, buffer_id); 119 int buffer_id, 129 Send(new VideoCaptureHostMsg_BufferReady(device_id, buffer_id)); 133 delegate->OnBufferReceived(buffer_id, timestamp, format); 138 int buffer_id) { 146 delegate->OnBufferDestroyed(buffer_id);
|
video_capture_message_filter_unittest.cc | 30 int buffer_id)); 31 MOCK_METHOD1(OnBufferDestroyed, void(int buffer_id)); 32 MOCK_METHOD3(OnBufferReceived, void(int buffer_id, 81 int buffer_id = 22; local 87 EXPECT_CALL(delegate, OnBufferReceived(buffer_id, timestamp, _)) 90 delegate.device_id(), buffer_id, timestamp, format)); 97 EXPECT_CALL(delegate, OnBufferDestroyed(buffer_id)); 99 delegate.device_id(), buffer_id));
|
video_capture_impl.cc | 93 int length, int buffer_id) { 96 base::Unretained(this), handle, length, buffer_id)); 99 void VideoCaptureImpl::OnBufferDestroyed(int buffer_id) { 102 base::Unretained(this), buffer_id)); 106 int buffer_id, 111 base::Unretained(this), buffer_id, timestamp, format)); 207 int length, int buffer_id) { 225 buffer_id, 231 void VideoCaptureImpl::DoBufferDestroyedOnCaptureThread(int buffer_id) { 234 ClientBufferMap::iterator iter = client_buffers_.find(buffer_id); [all...] |
/external/chromium_org/android_webview/browser/ |
gpu_memory_buffer_factory_impl.cc | 22 GpuMemoryBufferImpl(int buffer_id, gfx::Size size) 23 : buffer_id_(buffer_id), 94 int buffer_id = g_gl_draw_functions->create_graphic_buffer(width, height); local 95 if (!buffer_id) 98 return new GpuMemoryBufferImpl(buffer_id, gfx::Size(width, height));
|
/frameworks/av/media/libstagefright/include/ |
OMX.h | 80 buffer_id *buffer); 84 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer); 88 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer); 98 buffer_id *buffer, void **buffer_data); 102 buffer_id *buffer); 105 node_id node, OMX_U32 port_index, buffer_id buffer); 107 virtual status_t fillBuffer(node_id node, buffer_id buffer); 111 buffer_id buffer,
|
OMXNodeInstance.h | 67 OMX::buffer_id *buffer); 71 OMX::buffer_id *buffer); 75 OMX::buffer_id buffer); 83 OMX_U32 portIndex, size_t size, OMX::buffer_id *buffer, 88 OMX::buffer_id *buffer); 90 status_t freeBuffer(OMX_U32 portIndex, OMX::buffer_id buffer); 92 status_t fillBuffer(OMX::buffer_id buffer); 95 OMX::buffer_id buffer, 138 OMX::buffer_id mID; 144 void addActiveBuffer(OMX_U32 portIndex, OMX::buffer_id id) [all...] |
/frameworks/av/include/media/ |
IOMX.h | 41 typedef void *buffer_id; typedef in class:android::IOMX 98 buffer_id *buffer) = 0; 102 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) = 0; 106 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) = 0; 120 buffer_id *buffer, void **buffer_data) = 0; 124 buffer_id *buffer) = 0; 127 node_id node, OMX_U32 port_index, buffer_id buffer) = 0; 129 virtual status_t fillBuffer(node_id node, buffer_id buffer) = 0; 133 buffer_id buffer, 175 IOMX::buffer_id buffer [all...] |
/frameworks/av/media/libstagefright/ |
OMXClient.cpp | 84 buffer_id *buffer); 88 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer); 92 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer); 102 buffer_id *buffer, void **buffer_data); 106 buffer_id *buffer); 109 node_id node, OMX_U32 port_index, buffer_id buffer); 111 virtual status_t fillBuffer(node_id node, buffer_id buffer); 115 buffer_id buffer, 294 buffer_id *buffer) { 300 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/drm/ |
modeset.c | 95 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); 457 uint32_t buffer_id; local [all...] |
/external/mesa3d/src/gallium/state_trackers/egl/drm/ |
modeset.c | 95 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); 457 uint32_t buffer_id; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/va/ |
va_buffer.c | 72 vlVaDestroyBuffer(VADriverContextP ctx, VABufferID buffer_id)
|
/external/mesa3d/src/gallium/state_trackers/va/ |
va_buffer.c | 72 vlVaDestroyBuffer(VADriverContextP ctx, VABufferID buffer_id)
|