Home
last modified time | relevance | path

Searched refs:usage (Results 1 – 25 of 25) sorted by relevance

/device/generic/goldfish/opengl/system/gralloc/
Dgralloc.cpp126 int w, int h, int format, int usage, in gralloc_alloc() argument
129 D("gralloc_alloc w=%d h=%d usage=0x%x\n", w, h, usage); in gralloc_alloc()
142 bool sw_write = (0 != (usage & GRALLOC_USAGE_SW_WRITE_MASK)); in gralloc_alloc()
143 bool hw_write = (usage & GRALLOC_USAGE_HW_RENDER); in gralloc_alloc()
144 bool sw_read = (0 != (usage & GRALLOC_USAGE_SW_READ_MASK)); in gralloc_alloc()
145 bool hw_cam_write = usage & GRALLOC_USAGE_HW_CAMERA_WRITE; in gralloc_alloc()
146 bool hw_cam_read = usage & GRALLOC_USAGE_HW_CAMERA_READ; in gralloc_alloc()
147 bool hw_vid_enc_read = usage & GRALLOC_USAGE_HW_VIDEO_ENCODER; in gralloc_alloc()
155 if (usage & GRALLOC_USAGE_HW_CAMERA_WRITE) { in gralloc_alloc()
156 if (usage & GRALLOC_USAGE_HW_TEXTURE) { in gralloc_alloc()
[all …]
/device/generic/goldfish/opengl/system/OpenglSystemCommon/
Dgralloc_cb.h37 usage(p_usage), in cb_handle_t()
82 return (0 != (usage & GRALLOC_USAGE_HW_FB)); in canBePosted()
90 int usage; // usage bits the buffer was created with member
/device/generic/goldfish/libqemu/
Dtest_host_1.c128 static void usage(int code) in usage() function
162 usage(0); in main()
181 usage(1); in main()
Dtest_guest_2.c34 static void usage(int code) in usage() function
76 usage(0); in main()
103 usage(1); in main()
/device/generic/goldfish/camera/
DEmulatedCamera2.h109 uint32_t *usage,
185 uint32_t *usage,
DEmulatedCamera2.cpp137 uint32_t *usage, in allocateStream() argument
265 uint32_t *usage, in allocate_stream() argument
269 stream_id, format_actual, usage, max_buffers); in allocate_stream()
DEmulatedFakeCamera2.h97 uint32_t *usage,
DEmulatedFakeCamera3.cpp264 newStream->usage, in configureStreams()
326 newStream->usage = GRALLOC_USAGE_HW_CAMERA_WRITE; in configureStreams()
329 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ; in configureStreams()
332 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ | in configureStreams()
DEmulatedFakeCamera2.cpp347 uint32_t *usage, in allocateStream() argument
452 *usage = GRALLOC_USAGE_HW_CAMERA_WRITE; in allocateStream()
456 *stream_id, width, height, format, *usage, *max_buffers); in allocateStream()
/device/moto/shamu/camera/QCamera/HAL2/wrapper/
DQualcommCamera.h71 uint32_t *usage,
DQualcommCamera.cpp282 uint32_t *usage, in allocate_stream() argument
290 stream_id, format_actual, usage, max_buffers); in allocate_stream()
/device/moto/shamu/camera/QCamera/HAL2/core/src/
DQCameraHWI.cpp392 uint32_t *usage, in allocate_stream() argument
419 *usage = GRALLOC_USAGE_HW_CAMERA_WRITE | CAMERA_GRALLOC_HEAP_ID in allocate_stream()
/device/generic/goldfish/opengl/system/GLESv1_enc/
DGLEncoder.h123 …void s_glBufferData(void *self, GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage);
DGLEncoder.cpp363 …der::s_glBufferData(void * self, GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) in s_glBufferData() argument
371 ctx->m_glBufferData_enc(self, target, size, data, usage); in s_glBufferData()
Dgl_entry.cpp52 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage);
567 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage) in glBufferData() argument
570 ctx->glBufferData(ctx, target, size, data, usage); in glBufferData()
Dgl_enc.cpp766 void glBufferData_enc(void *self , GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage) in glBufferData_enc() argument
783 memcpy(ptr, &usage, 4); ptr += 4; in glBufferData_enc()
/device/generic/goldfish/opengl/system/GLESv2_enc/
DGL2Encoder.h79 …void s_glBufferData(void *self, GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage);
Dgl2_entry.cpp21 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage);
298 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage) in glBufferData() argument
301 ctx->glBufferData(ctx, target, size, data, usage); in glBufferData()
DGL2Encoder.cpp193 …der::s_glBufferData(void * self, GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) in s_glBufferData() argument
202 ctx->m_glBufferData_enc(self, target, size, data, usage); in s_glBufferData()
Dgl2_enc.cpp217 void glBufferData_enc(void *self , GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage) in glBufferData_enc() argument
236 memcpy(ptr, &usage, 4); ptr += 4; in glBufferData_enc()
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3HWI.cpp687 || newStream->usage & GRALLOC_USAGE_HW_CAMERA_ZSL){ in validateStreamDimensions()
871 (newStream->usage & private_handle_t::PRIV_FLAGS_VIDEO_ENCODER)) { in configureStreams()
902 newStream->usage & GRALLOC_USAGE_HW_CAMERA_ZSL) { in configureStreams()
999 if (newStream->usage & GRALLOC_USAGE_HW_CAMERA_ZSL in configureStreams()
1066 uint32_t stream_usage = newStream->usage; in configureStreams()
1070 || newStream->usage & GRALLOC_USAGE_HW_CAMERA_ZSL) in configureStreams()
1151 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ; in configureStreams()
1152 newStream->usage |= GRALLOC_USAGE_HW_CAMERA_WRITE;//WR for inplace algo's in configureStreams()
1155 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ | in configureStreams()
1161 if (newStream->usage & GRALLOC_USAGE_HW_VIDEO_ENCODER) in configureStreams()
[all …]
/device/moto/shamu/camera/QCamera/HAL2/core/inc/
DQCameraHWI.h211 uint32_t *usage,
/device/generic/goldfish/opengl/tests/gles_android_wrapper/
Dgles.cpp271 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage) in glBufferData() argument
273 getDispatch()->glBufferData(target, size, data, usage); in glBufferData()
/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3HWI.cpp759 uint32_t stream_usage = newStream->usage; in configureStreams()
811 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ; in configureStreams()
814 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ | in configureStreams()
820 if (newStream->usage & GRALLOC_USAGE_HW_VIDEO_ENCODER) in configureStreams()
821 newStream->usage = in configureStreams()
826 newStream->usage = GRALLOC_USAGE_HW_CAMERA_WRITE; in configureStreams()
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3HWI.cpp535 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ; in configureStreams()
538 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ | in configureStreams()
542 newStream->usage = GRALLOC_USAGE_HW_CAMERA_WRITE; in configureStreams()