HomeSort by relevance Sort by last modified time
    Searched refs:shm (Results 1 - 25 of 73) sorted by null

1 2 3

  /external/qemu/distrib/sdl-1.2.15/src/video/picogui/
SDL_pgvideo.h 35 #include <sys/shm.h>
46 struct pgshmbitmap shm; /* shared memory info */ member in struct:SDL_PrivateVideoData
SDL_pgvideo.c 151 * but since this is based on SHM it's not important to be able to specify
211 this->hidden->shm = *pgMakeSHMBitmap(this->hidden->bitmap);
212 current->pixels = shmat(shmget(this->hidden->shm.shm_key,
213 this->hidden->shm.shm_length,0),NULL,0);
235 0,0,this->hidden->shm.width,this->hidden->shm.height,this->hidden->bitmap);
239 current->w = this->hidden->shm.width;
240 current->h = this->hidden->shm.height;
241 current->pitch = this->hidden->shm.pitch;
244 current->format->BitsPerPixel = this->hidden->shm.bpp
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/audio/mme/
SDL_mmeaudio.h 43 struct SharedMem *shm; member in struct:SDL_PrivateAudioData
47 #define shm (this->hidden->shm) macro
SDL_mmeaudio.c 126 shm = mmeAllocMem(sizeof(*shm));
127 if ( shm == NULL ) {
128 SDL_SetError("Out of memory: shm");
131 shm->sound = 0;
132 shm->wFmt.wf.wFormatTag = WAVE_FORMAT_PCM;
139 shm->wFmt.wBitsPerSample = 8;
144 shm->wFmt.wBitsPerSample = 16;
151 shm->wFmt.wf.nChannels = spec->channels;
152 shm->wFmt.wf.nSamplesPerSec = spec->freq
    [all...]
  /external/chromium_org/third_party/npapi/npspy/extern/nspr/
prshm.h 192 ** shm to the current process.
195 ** shm -- The handle returned from PR_OpenSharedMemory().
201 ** On success, the shared memory segment represented by shm is mapped
212 PRSharedMemory *shm,
223 ** by shm.
226 ** shm -- The handle returned from PR_OpenSharedMemory().
238 PRSharedMemory *shm,
247 ** shm.
250 ** shm -- The handle returned from PR_OpenSharedMemory().
253 ** the shared memory represented by shm is close
260 PRSharedMemory *shm variable
    [all...]
  /external/chromium_org/content/renderer/pepper/
host_array_buffer_var.cc 67 scoped_ptr<base::SharedMemory> shm(
70 if (!shm)
73 shm->Map(ByteLength());
74 memcpy(shm->memory(), Map(), ByteLength());
75 shm->Unmap();
89 shm->handle();
91 shm->handle().fd;
ppb_graphics_3d_impl.cc 41 PP_Bool ShmToHandle(base::SharedMemory* shm,
45 if (!shm || !shm_handle || !shm_size)
48 *shm_handle = shm->handle().fd;
50 *shm_handle = reinterpret_cast<int>(shm->handle());
  /external/valgrind/main/memcheck/tests/darwin/
scalar_nocancel.c 6 #include <sys/shm.h>
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/
glxheader.h 39 # ifdef USE_XSHM /* was SHM */
41 # include <sys/shm.h>
  /external/mesa3d/src/mesa/drivers/x11/
glxheader.h 39 # ifdef USE_XSHM /* was SHM */
41 # include <sys/shm.h>
  /external/chromium_org/chrome/renderer/pepper/
pepper_shared_memory_message_filter.cc 49 scoped_ptr<base::SharedMemory> shm(content::RenderThread::Get()->
51 if (!shm.get())
55 shm->ShareToProcess(base::GetCurrentProcessHandle(), &host_shm_handle);
  /external/chromium_org/gpu/command_buffer/client/
mapped_memory.cc 17 int32 shm_id, gpu::Buffer shm, CommandBufferHelper* helper)
19 shm_(shm),
20 allocator_(shm.size, helper, shm.ptr) {
85 gpu::Buffer shm = cmd_buf->CreateTransferBuffer(chunk_size, &id); local
88 MemoryChunk* mc = new MemoryChunk(id, shm, helper_);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/sys/
shm.h 31 #include <bits/shm.h>
65 #endif /* sys/shm.h */
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sys/
shm.h 31 #include <bits/shm.h>
65 #endif /* sys/shm.h */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sys/
shm.h 31 #include <bits/shm.h>
65 #endif /* sys/shm.h */
  /external/chromium_org/media/cast/test/
linux_output_window.h 11 #include <sys/shm.h>
  /external/qemu/distrib/sdl-1.2.15/src/video/x11/
SDL_x11dyn.h 44 #include <sys/shm.h>
  /external/chromium_org/third_party/mesa/src/src/gallium/winsys/sw/xlib/
xlib_sw_winsys.c 48 #include <sys/shm.h>
78 Bool shm; /** Using shared memory images? */ member in struct:xlib_displaytarget
168 xlib_dt->shm = False;
185 xlib_dt->shm = False;
190 xlib_dt->shm = True;
200 if (xlib_dt->shm) {
335 if (xlib_dt->shm) {
407 xlib_dt->shm = True;
  /external/mesa3d/src/gallium/winsys/sw/xlib/
xlib_sw_winsys.c 48 #include <sys/shm.h>
78 Bool shm; /** Using shared memory images? */ member in struct:xlib_displaytarget
168 xlib_dt->shm = False;
185 xlib_dt->shm = False;
190 xlib_dt->shm = True;
200 if (xlib_dt->shm) {
335 if (xlib_dt->shm) {
407 xlib_dt->shm = True;
  /external/chromium_org/content/common/gpu/media/
gpu_video_encode_accelerator.cc 161 scoped_ptr<base::SharedMemory> shm(
163 if (!shm->Map(buffer_size)) {
170 uint8* shm_memory = reinterpret_cast<uint8*>(shm->memory());
188 base::Passed(&shm))));
238 scoped_ptr<base::SharedMemory> shm) {
240 // Just let shm fall out of scope.
video_encode_accelerator_unittest.cc 128 void FeedEncoderWithOutput(base::SharedMemory* shm);
291 base::SharedMemory* shm = new base::SharedMemory(); local
292 CHECK(shm->CreateAndMapAnonymous(output_buffer_size_));
293 output_shms_.push_back(shm);
294 FeedEncoderWithOutput(shm);
309 base::SharedMemory* shm = it->second; local
317 h264_parser_.SetStream(static_cast<uint8*>(shm->memory()), payload_size);
382 static_cast<char*>(shm->memory()),
387 FeedEncoderWithOutput(shm);
464 void VEAClient::FeedEncoderWithOutput(base::SharedMemory* shm) {
    [all...]
gpu_video_encode_accelerator.h 73 void EncodeFrameFinished(int32 frame_id, scoped_ptr<base::SharedMemory> shm);
android_video_encode_accelerator.cc 388 scoped_ptr<base::SharedMemory> shm(
390 RETURN_ON_FAILURE(shm->Map(bitstream_buffer.size()),
391 "Failed to map SHM",
393 RETURN_ON_FAILURE(size <= shm->mapped_size(),
395 << shm->mapped_size(),
398 media_codec_->CopyFromOutputBuffer(buf_index, offset, shm->memory(), size);
  /external/chromium_org/content/browser/gpu/
browser_gpu_channel_host_factory.cc 192 scoped_ptr<base::SharedMemory> shm(new base::SharedMemory());
193 if (!shm->CreateAnonymous(size))
195 return shm.Pass();
384 scoped_ptr<base::SharedMemory> shm(new base::SharedMemory());
385 if (!shm->CreateAnonymous(size))
390 if (!buffer->InitializeFromSharedMemory(shm.Pass()))
  /external/chromium_org/base/
sys_info_openbsd.cc 8 #include <sys/shm.h>

Completed in 172 milliseconds

1 2 3