Searched refs:usage (Results 1 - 17 of 17) sorted by relevance

/hardware/msm7k/libgralloc-qsd8k/
H A Dgpu.h55 int gralloc_alloc_framebuffer_locked(size_t size, int usage,
57 int gralloc_alloc_framebuffer(size_t size, int usage,
59 int gralloc_alloc_buffer(size_t size, int usage, buffer_handle_t* pHandle);
61 int alloc_impl(int w, int h, int format, int usage,
65 int usage, buffer_handle_t* pHandle, int* pStride);
H A Dgpu.cpp44 int gpu_context_t::gralloc_alloc_framebuffer_locked(size_t size, int usage, argument
50 if (usage & GRALLOC_USAGE_PRIVATE_PMEM_ADSP) {
71 int newUsage = (usage & ~GRALLOC_USAGE_HW_FB) | GRALLOC_USAGE_HW_2D;
103 int gpu_context_t::gralloc_alloc_framebuffer(size_t size, int usage, argument
108 int err = gralloc_alloc_framebuffer_locked(size, usage, pHandle);
114 int gpu_context_t::gralloc_alloc_buffer(size_t size, int usage, buffer_handle_t* pHandle) argument
127 if (usage & GRALLOC_USAGE_HW_TEXTURE) {
133 if (usage & GRALLOC_USAGE_HW_2D) {
137 if (usage & GRALLOC_USAGE_PRIVATE_PMEM_ADSP) {
165 err = pma->alloc_pmem_buffer(size, usage,
203 alloc_impl(int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride) argument
305 gralloc_alloc(alloc_device_t* dev, int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride) argument
[all...]
H A Dpmemalloc.cpp39 static int get_open_flags(int usage) { argument
41 uint32_t uread = usage & GRALLOC_USAGE_SW_READ_MASK;
42 uint32_t uwrite = usage & GRALLOC_USAGE_SW_WRITE_MASK;
145 int PmemUserspaceAllocator::alloc_pmem_buffer(size_t size, int usage, argument
158 int openFlags = get_open_flags(usage);
261 int PmemKernelAllocator::alloc_pmem_buffer(size_t size, int usage, argument
271 int openFlags = get_open_flags(usage);
H A Dpmemalloc.h38 virtual int alloc_pmem_buffer(size_t size, int usage, void** pBase,
91 virtual int alloc_pmem_buffer(size_t size, int usage, void** pBase,
150 virtual int alloc_pmem_buffer(size_t size, int usage, void** pBase,
H A Dmapper.cpp191 buffer_handle_t handle, int usage,
213 if (usage & (GRALLOC_USAGE_SW_WRITE_MASK | GRALLOC_USAGE_HW_RENDER)) {
224 if (usage & (GRALLOC_USAGE_SW_WRITE_MASK | GRALLOC_USAGE_HW_RENDER)) {
246 if ((usage & GRALLOC_USAGE_SW_WRITE_MASK) &&
252 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)) {
190 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void** vaddr) argument
H A Dgralloc.cpp34 size_t size, int usage, buffer_handle_t* pHandle);
45 buffer_handle_t handle, int usage,
/hardware/libhardware/modules/gralloc/
H A Dgralloc.cpp48 size_t size, int usage, buffer_handle_t* pHandle);
59 buffer_handle_t handle, int usage,
105 size_t size, int usage, buffer_handle_t* pHandle)
127 int newUsage = (usage & ~GRALLOC_USAGE_HW_FB) | GRALLOC_USAGE_HW_2D;
158 size_t size, int usage, buffer_handle_t* pHandle)
163 int err = gralloc_alloc_framebuffer_locked(dev, size, usage, pHandle);
169 size_t size, int usage, buffer_handle_t* pHandle)
200 int w, int h, int format, int usage,
232 if (usage & GRALLOC_USAGE_HW_FB) {
233 err = gralloc_alloc_framebuffer(dev, size, usage, pHandl
104 gralloc_alloc_framebuffer_locked(alloc_device_t* dev, size_t size, int usage, buffer_handle_t* pHandle) argument
157 gralloc_alloc_framebuffer(alloc_device_t* dev, size_t size, int usage, buffer_handle_t* pHandle) argument
168 gralloc_alloc_buffer(alloc_device_t* dev, size_t size, int usage, buffer_handle_t* pHandle) argument
199 gralloc_alloc(alloc_device_t* dev, int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride) argument
[all...]
H A Dmapper.cpp140 buffer_handle_t handle, int usage,
149 // flushed or invalidated depending on the usage bits and the
139 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void** vaddr) argument
/hardware/msm7k/libgralloc/
H A Dgralloc.cpp62 size_t size, int usage, buffer_handle_t* pHandle);
73 buffer_handle_t handle, int usage,
129 size_t size, int usage, buffer_handle_t* pHandle)
151 int newUsage = (usage & ~GRALLOC_USAGE_HW_FB) | GRALLOC_USAGE_HW_2D;
183 size_t size, int usage, buffer_handle_t* pHandle)
188 int err = gralloc_alloc_framebuffer_locked(dev, size, usage, pHandle);
315 size_t size, int usage, buffer_handle_t* pHandle)
327 if (usage & GRALLOC_USAGE_HW_TEXTURE) {
333 if (usage & GRALLOC_USAGE_HW_2D) {
344 } else if ((usage
128 gralloc_alloc_framebuffer_locked(alloc_device_t* dev, size_t size, int usage, buffer_handle_t* pHandle) argument
182 gralloc_alloc_framebuffer(alloc_device_t* dev, size_t size, int usage, buffer_handle_t* pHandle) argument
314 gralloc_alloc_buffer(alloc_device_t* dev, size_t size, int usage, buffer_handle_t* pHandle) argument
461 gralloc_alloc(alloc_device_t* dev, int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride) argument
[all...]
H A Dmapper.cpp170 buffer_handle_t handle, int usage,
179 // flushed or invalidated depending on the usage bits and the
169 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void** vaddr) argument
/hardware/libhardware/include/hardware/
H A Dgralloc.h70 /* mask for the software usage bit-mask */
73 /* implementation-specific private usage flags */
136 * specified usage. This call may block, for instance if the h/w needs
145 * If usage specifies GRALLOC_USAGE_SW_*, vaddr is filled with the address
160 * If the buffer was created with a usage mask incompatible with the
161 * requested usage flags here, -EINVAL is returned.
166 buffer_handle_t handle, int usage,
209 int w, int h, int format, int usage,
293 * GRALLOC_USAGE_HW_FB usage flag.
/hardware/libhardware_legacy/include/hardware_legacy/
H A DAudioPolicyInterface.h75 // force using a specific device category for the specified usage
76 virtual void setForceUse(AudioSystem::force_use usage, AudioSystem::forced_config config) = 0;
77 // retreive current device category forced for a given usage
78 virtual AudioSystem::forced_config getForceUse(AudioSystem::force_use usage) = 0;
H A DAudioPolicyManagerBase.h71 virtual void setForceUse(AudioSystem::force_use usage, AudioSystem::forced_config config);
72 virtual AudioSystem::forced_config getForceUse(AudioSystem::force_use usage);
127 // and keep track of the usage of this output by each audio stream type.
157 // and keep track of the usage of this input.
259 // manages A2DP output suspend/restore according to phone state and BT SCO usage
/hardware/qcom/media/mm-video/vidc/venc/test/
H A Dvenc_test.cpp39 //usage
1016 void usage(char* filename) function
1021 fprintf(stderr, "usage: %s LIVE <QCIF|QVGA> <MP4|H263> <FPS> <BITRATE> <NFRAMES> <OUTFILE>\n", fname);
1022 fprintf(stderr, "usage: %s FILE <QCIF|QVGA> <MP4|H263 <FPS> <BITRATE> <NFRAMES> <INFILE> <OUTFILE> ", fname);
1024 fprintf(stderr, "usage: %s PROFILE <QCIF|QVGA> <MP4|H263 <FPS> <BITRATE> <NFRAMES> <INFILE>\n", fname);
1025 fprintf(stderr, "usage: %s PREVIEW <QCIF|QVGA> <FPS> <NFRAMES>\n", fname);
1026 fprintf(stderr, "usage: %s DISPLAY <QCIF|QVGA> <FPS> <NFRAMES> <INFILE>\n", fname);
1039 usage(argv[0]);
1047 usage(argv[0]);
1056 usage(arg
[all...]
/hardware/ril/rild/
H A Drild.c41 static void usage(const char *argv0) function
121 usage(argv[0]);
/hardware/ril/reference-ril/
H A Dreference-ril.c1987 static void usage(char *s) function
1992 fprintf(stderr, "usage: %s [-p <tcp port>] [-d /dev/tty_device]\n", s);
2089 usage(argv[0]);
2107 usage(argv[0]);
2113 usage(argv[0]);
2135 usage(argv[0]);
2152 usage(argv[0]);
2157 usage(argv[0]);
/hardware/broadcom/wlan/bcm4329/src/dhd/exe/
H A Ddhdu.c232 "g/set dma usage: [PIO | SDMA | ADMA1 | ADMA2]"},
332 /* command usage */
422 /* print usage of port commands */
427 /* print usage of common commands without port counterparts */
1999 goto usage;
2013 usage:

Completed in 168 milliseconds