Searched refs:shm_buffer (Results 1 – 7 of 7) sorted by relevance
/external/chromium_org/content/renderer/media/ |
D | rtc_video_decoder.cc | 239 scoped_ptr<SHMBuffer> shm_buffer; in Decode() local 241 shm_buffer = GetSHM_Locked(inputImage._length); in Decode() 242 if (!shm_buffer) { in Decode() 252 SaveToDecodeBuffers_Locked(inputImage, shm_buffer.Pass(), buffer_data); in Decode() 516 SHMBuffer* shm_buffer = NULL; in RequestBufferDecode() local 523 shm_buffer = decode_buffers_.front().first; in RequestBufferDecode() 529 PutSHM_Locked(scoped_ptr<SHMBuffer>(shm_buffer)); in RequestBufferDecode() 536 shm_buffer->shm->handle(), in RequestBufferDecode() 539 .insert(std::make_pair(bitstream_buffer.id(), shm_buffer)).second; in RequestBufferDecode() 567 scoped_ptr<SHMBuffer> shm_buffer, in SaveToDecodeBuffers_Locked() argument [all …]
|
D | rtc_video_decoder.h | 127 scoped_ptr<SHMBuffer> shm_buffer, in NON_EXPORTED_BASE() 171 void PutSHM_Locked(scoped_ptr<SHMBuffer> shm_buffer); in NON_EXPORTED_BASE()
|
/external/chromium_org/media/filters/ |
D | gpu_video_decoder.cc | 50 : shm_buffer(s), buffer(b), done_cb(done_cb) { in PendingDecoderBuffer() 263 SHMBuffer* shm_buffer = GetSHM(size); in Decode() local 264 if (!shm_buffer) { in Decode() 269 memcpy(shm_buffer->shm->memory(), buffer->data(), size); in Decode() 271 next_bitstream_buffer_id_, shm_buffer->shm->handle(), size); in Decode() 277 PendingDecoderBuffer(shm_buffer, buffer, decode_cb))); in Decode() 539 void GpuVideoDecoder::PutSHM(SHMBuffer* shm_buffer) { in PutSHM() argument 541 available_shm_segments_.push_back(shm_buffer); in PutSHM() 556 PutSHM(it->second.shm_buffer); in NotifyEndOfBitstreamBuffer() 574 it->second.shm_buffer->shm->Close(); in ~GpuVideoDecoder()
|
D | gpu_video_decoder.h | 93 SHMBuffer* shm_buffer; member 124 void PutSHM(SHMBuffer* shm_buffer);
|
/external/chromium_org/ppapi/proxy/ |
D | video_decoder_resource.cc | 198 scoped_ptr<ShmBuffer> shm_buffer( in Decode() local 200 if (!shm_buffer->addr) in Decode() 203 available_shm_buffers_.push_back(shm_buffer.get()); in Decode() 205 shm_buffers_.push_back(shm_buffer.release()); in Decode() 210 shm_buffers_[shm_id] = shm_buffer.release(); in Decode() 218 ShmBuffer* shm_buffer = available_shm_buffers_.back(); in Decode() local 220 memcpy(shm_buffer->addr, buffer, size); in Decode() 224 PpapiHostMsg_VideoDecoder_Decode(shm_buffer->shm_id, size, uid), in Decode()
|
/external/chromium_org/content/child/ |
D | threaded_data_provider.h | 38 linked_ptr<base::SharedMemory> shm_buffer,
|
D | threaded_data_provider.cc | 123 linked_ptr<base::SharedMemory> shm_buffer, int shm_size) in ThreadedDataProvider() argument 125 shm_buffer_(shm_buffer), in ThreadedDataProvider()
|