Home
last modified time | relevance | path

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

12

/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/
DQCameraMjpegDecode.cpp279 rc = jpeg_buffer_init(&source.buffers[0]); in decoder_test()
282 rc = jpeg_buffer_init(&source.buffers[1]); in decoder_test()
286 rc = jpeg_buffer_allocate(source.buffers[0], 0xA000, use_pmem); in decoder_test()
288 rc = jpeg_buffer_use_external_buffer(source.buffers[0], in decoder_test()
294 source.buffers[0], p_args->inputMjpegBuffer); in decoder_test()
298 rc = jpeg_buffer_allocate(source.buffers[1], 0xA000, use_pmem); in decoder_test()
300 rc = jpeg_buffer_use_external_buffer(source.buffers[1], in decoder_test()
306 source.buffers[1], p_args->inputMjpegBuffer); in decoder_test()
309 jpeg_buffer_destroy(&source.buffers[0]); in decoder_test()
310 jpeg_buffer_destroy(&source.buffers[1]); in decoder_test()
[all …]
DQualcommUsbCamera.cpp1205 camHal->buffers = in initV4L2mmap()
1208 if (!camHal->buffers) { in initV4L2mmap()
1228 camHal->buffers[camHal->n_buffers].len = tempBuf.length; in initV4L2mmap()
1229 camHal->buffers[camHal->n_buffers].data = in initV4L2mmap()
1236 if (MAP_FAILED == camHal->buffers[camHal->n_buffers].data) in initV4L2mmap()
1262 if (-1 == munmap(camHal->buffers[i].data, camHal->buffers[i].len)){ in unInitV4L2mmap()
1580 (char *)camHal->buffers[camHal->curCaptureBuf.index].data, in prvwThreadTakePictureInternal()
1934 (char *)camHal->buffers[camHal->curCaptureBuf.index].data, in convert_data_frm_cam_to_disp()
1957 (char *)camHal->buffers[camHal->curCaptureBuf.index].data, in convert_data_frm_cam_to_disp()
2145 (char*)camHal->buffers[camHal->curCaptureBuf.index].data, in previewloop()
[all …]
/device/generic/goldfish/camera/fake-pipeline2/
DJpegCompressor.h59 status_t start(Buffers *buffers, JpegListener *listener);
62 status_t compressSynchronous(Buffers *buffers);
DJpegCompressor.cpp41 status_t JpegCompressor::start(Buffers *buffers, JpegListener *listener) { in start() argument
57 mBuffers = buffers; in start()
71 status_t JpegCompressor::compressSynchronous(Buffers *buffers) { in compressSynchronous() argument
85 mBuffers = buffers; in compressSynchronous()
DSensor.h115 void setDestinationBuffers(Buffers *buffers);
DSensor.cpp174 void Sensor::setDestinationBuffers(Buffers *buffers) { in setDestinationBuffers() argument
176 mNextBuffers = buffers; in setDestinationBuffers()
/device/google/dragon/audio/hal/
Dcras_dsp_pipeline.c117 float **buffers; member
527 pipeline->buffers = (float **)calloc(peak_buf, sizeof(float *)); in allocate_buffers()
529 if (!pipeline->buffers) { in allocate_buffers()
541 pipeline->buffers[i] = buf; in allocate_buffers()
663 float *buf = pipeline->buffers[audio_port->buf_index]; in cras_dsp_pipeline_instantiate()
672 float *buf = pipeline->buffers[audio_port->buf_index]; in cras_dsp_pipeline_instantiate()
762 return pipeline->buffers[audio_port->buf_index]; in find_buffer()
892 free(pipeline->buffers[i]); in cras_dsp_pipeline_free()
893 free(pipeline->buffers); in cras_dsp_pipeline_free()
/device/generic/goldfish/camera/
DEmulatedFakeCamera2.h103 buffer_handle_t *buffers);
236 Buffers *buffers);
259 Buffers *buffers; member
DEmulatedCamera2.h115 buffer_handle_t *buffers);
191 buffer_handle_t *buffers);
DEmulatedFakeCamera3.cpp857 HalBufferVector *buffers = new HalBufferVector(); in processCaptureRequest() local
860 buffers->setCapacity(request->num_output_buffers); in processCaptureRequest()
928 buffers->push_back(srcBuf); in processCaptureRequest()
985 r.buffers = buffers; in processCaptureRequest()
2261 delete i->buffers; in ~ReadoutThread()
2322 mCurrentRequest.buffers = mInFlightQueue.begin()->buffers; in threadLoop()
2350 HalBufferVector::iterator buf = mCurrentRequest.buffers->begin(); in threadLoop()
2351 while(buf != mCurrentRequest.buffers->end()) { in threadLoop()
2376 buf = mCurrentRequest.buffers->erase(buf); in threadLoop()
2447 result.num_output_buffers = mCurrentRequest.buffers->size(); in threadLoop()
[all …]
DEmulatedCamera2.cpp145 buffer_handle_t *buffers) { in registerStreamBuffers() argument
275 buffer_handle_t *buffers) { in register_stream_buffers() argument
279 buffers); in register_stream_buffers()
DEmulatedFakeCamera3.h200 HalBufferVector *buffers; member
DEmulatedFakeCamera2.cpp465 buffer_handle_t *buffers) { in registerStreamBuffers() argument
483 reinterpret_cast<const cb_handle_t*>(buffers[0]); in registerStreamBuffers()
1163 Buffers *buffers) { in setNextOperation() argument
1172 mInFlightQueue[mInFlightTail].buffers = buffers; in setNextOperation()
1189 for (size_t j = 0; j < mInFlightQueue[i].buffers->size(); j++) { in isStreamInUse()
1190 if ( (*(mInFlightQueue[i].buffers))[j].streamId == (int)id ) in isStreamInUse()
1243 mBuffers = mInFlightQueue[mInFlightHead].buffers; in threadLoop()
1245 mInFlightQueue[mInFlightHead].buffers = NULL; in threadLoop()
/device/moto/shamu/camera/QCamera/HAL2/core/src/
DQCameraHWI.cpp433 buffer_handle_t *buffers) in register_stream_buffers() argument
436 (struct private_handle_t *)buffers[0]; in register_stream_buffers()
445 if(NO_ERROR!=stream->registerStreamBuffers(num_buffers, buffers)) { in register_stream_buffers()
DQCameraStream_Preview.cpp53 buffer_handle_t *buffers) in registerStreamBuffers() argument
60 mPreviewMemory.buffer_handle[i] = buffers[i]; in registerStreamBuffers()
61 mPreviewMemory.private_buffer_handle[i] = (struct private_handle_t *)buffers[i]; in registerStreamBuffers()
/device/moto/shamu/camera/QCamera/HAL2/wrapper/
DQualcommCamera.h78 buffer_handle_t *buffers);
DQualcommCamera.cpp299 buffer_handle_t *buffers) in register_stream_buffers() argument
305 rc = hardware->register_stream_buffers(stream_id, num_buffers, buffers); in register_stream_buffers()
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/inc/
DQCameraUsbPriv.h159 struct bufObj *buffers; member
/device/generic/goldfish/opengl/system/GLESv2_enc/
Dgl2_entry.cpp37 void glDeleteBuffers(GLsizei n, const GLuint* buffers);
58 void glGenBuffers(GLsizei n, GLuint* buffers);
197 void glExtGetBuffersQCOM(GLuint* buffers, GLint maxBuffers, GLint* numBuffers);
394 void glDeleteBuffers(GLsizei n, const GLuint* buffers) in glDeleteBuffers() argument
398 ctx->glDeleteBuffers(ctx, n, buffers); in glDeleteBuffers()
524 void glGenBuffers(GLsizei n, GLuint* buffers) in glGenBuffers() argument
528 ctx->glGenBuffers(ctx, n, buffers); in glGenBuffers()
1364 void glExtGetBuffersQCOM(GLuint* buffers, GLint maxBuffers, GLint* numBuffers) in glExtGetBuffersQCOM() argument
1367 ctx->glExtGetBuffersQCOM(ctx, buffers, maxBuffers, numBuffers); in glExtGetBuffersQCOM()
/device/generic/goldfish/opengl/tests/gles_android_wrapper/
Dgles.cpp356 void glDeleteBuffers(GLsizei n, const GLuint *buffers) in glDeleteBuffers() argument
358 getDispatch()->glDeleteBuffers(n, buffers); in glDeleteBuffers()
456 void glGenBuffers(GLsizei n, GLuint *buffers) in glGenBuffers() argument
458 getDispatch()->glGenBuffers(n, buffers); in glGenBuffers()
1346 void glExtGetBuffersQCOM(GLuint *buffers, GLint maxBuffers, GLint *numBuffers) in glExtGetBuffersQCOM() argument
1348 getDispatch()->glExtGetBuffersQCOM(buffers, maxBuffers, numBuffers); in glExtGetBuffersQCOM()
/device/generic/goldfish/opengl/system/GLESv1_enc/
DGLEncoder.h126 static void s_glDeleteBuffers(void *self, GLsizei n, const GLuint * buffers);
Dgl_entry.cpp68 void glDeleteBuffers(GLsizei n, const GLuint* buffers);
88 void glGenBuffers(GLsizei n, GLuint* buffers);
287 void glExtGetBuffersQCOM(GLuint* buffers, GLint maxBuffers, GLint* numBuffers);
663 void glDeleteBuffers(GLsizei n, const GLuint* buffers) in glDeleteBuffers() argument
667 ctx->glDeleteBuffers(ctx, n, buffers); in glDeleteBuffers()
785 void glGenBuffers(GLsizei n, GLuint* buffers) in glGenBuffers() argument
789 ctx->glGenBuffers(ctx, n, buffers); in glGenBuffers()
1989 void glExtGetBuffersQCOM(GLuint* buffers, GLint maxBuffers, GLint* numBuffers) in glExtGetBuffersQCOM() argument
1992 ctx->glExtGetBuffersQCOM(ctx, buffers, maxBuffers, numBuffers); in glExtGetBuffersQCOM()
/device/moto/shamu/camera/QCamera/HAL2/core/inc/
DQCameraStream.h194 int registerStreamBuffers(int num_buffers, buffer_handle_t *buffers);
/device/moto/shamu/camera/QCamera2/HAL/test/
Dqcamera_test.h339 Vector<sp<ABuffer> > buffers; member
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3HWI.h279 List<RequestedBufferInfo> buffers; member

12