Home
last modified time | relevance | path

Searched refs:user_buf (Results 1 – 18 of 18) sorted by relevance

/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3Stream.cpp149 i < stream->mBatchBufDefs[index].user_buf.bufs_used; i++) { in invalidate_buf()
150 uint32_t buf_idx = stream->mBatchBufDefs[index].user_buf.buf_idx[i]; in invalidate_buf()
189 i < stream->mBatchBufDefs[index].user_buf.bufs_used; i++) { in clean_invalidate_buf()
190 uint32_t buf_idx = stream->mBatchBufDefs[index].user_buf.buf_idx[i]; in clean_invalidate_buf()
1299 batchBufDef.user_buf.num_buffers = mBatchSize; in getBatchBufDef()
1300 batchBufDef.user_buf.bufs_used = 0; in getBatchBufDef()
1301 batchBufDef.user_buf.plane_buf = mBufDefs; in getBatchBufDef()
1336 if (mBufsStaged == mCurrentBatchBufDef->user_buf.num_buffers) { in aggregateBufToBatch()
1341 mCurrentBatchBufDef->user_buf.buf_idx[mBufsStaged] = bufDef.buf_idx; in aggregateBufToBatch()
1369 mCurrentBatchBufDef->user_buf.bufs_used = mBufsStaged; in queueBatchBuf()
[all …]
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3Stream.cpp166 i < stream->mBatchBufDefs[index].user_buf.bufs_used; i++) { in invalidate_buf()
167 uint32_t buf_idx = stream->mBatchBufDefs[index].user_buf.buf_idx[i]; in invalidate_buf()
206 i < stream->mBatchBufDefs[index].user_buf.bufs_used; i++) { in clean_invalidate_buf()
207 uint32_t buf_idx = stream->mBatchBufDefs[index].user_buf.buf_idx[i]; in clean_invalidate_buf()
1436 batchBufDef.user_buf.num_buffers = mBatchSize; in getBatchBufDef()
1437 batchBufDef.user_buf.bufs_used = 0; in getBatchBufDef()
1438 batchBufDef.user_buf.plane_buf = mBufDefs; in getBatchBufDef()
1473 if (mBufsStaged == mCurrentBatchBufDef->user_buf.num_buffers) { in aggregateBufToBatch()
1478 mCurrentBatchBufDef->user_buf.buf_idx[mBufsStaged] = bufDef.buf_idx; in aggregateBufToBatch()
1505 mCurrentBatchBufDef->user_buf.bufs_used = mBufsStaged; in queueBatchBuf()
[all …]
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3Stream.cpp149 i < stream->mBatchBufDefs[index].user_buf.bufs_used; i++) { in invalidate_buf()
150 uint32_t buf_idx = stream->mBatchBufDefs[index].user_buf.buf_idx[i]; in invalidate_buf()
189 i < stream->mBatchBufDefs[index].user_buf.bufs_used; i++) { in clean_invalidate_buf()
190 uint32_t buf_idx = stream->mBatchBufDefs[index].user_buf.buf_idx[i]; in clean_invalidate_buf()
1299 batchBufDef.user_buf.num_buffers = mBatchSize; in getBatchBufDef()
1300 batchBufDef.user_buf.bufs_used = 0; in getBatchBufDef()
1301 batchBufDef.user_buf.plane_buf = mBufDefs; in getBatchBufDef()
1336 if (mBufsStaged == mCurrentBatchBufDef->user_buf.num_buffers) { in aggregateBufToBatch()
1341 mCurrentBatchBufDef->user_buf.buf_idx[mBufsStaged] = bufDef.buf_idx; in aggregateBufToBatch()
1369 mCurrentBatchBufDef->user_buf.bufs_used = mBufsStaged; in queueBatchBuf()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1046 cont_buf->buf_cnt = my_obj->buf[buf->buf_idx].user_buf.bufs_used; in mm_stream_write_user_buf()
1048 cont_buf->buf_idx[i] = my_obj->buf[buf->buf_idx].user_buf.buf_idx[i]; in mm_stream_write_user_buf()
1056 my_obj->buf[buf->buf_idx].user_buf.buf_idx[i] = -1; in mm_stream_write_user_buf()
1059 my_obj->buf[buf->buf_idx].user_buf.buf_in_use = 1; in mm_stream_write_user_buf()
1072 || (my_obj->buf[i].user_buf.buf_in_use)) { in mm_stream_write_user_buf()
1090 my_obj->buf[index].user_buf.buf_idx[count] = buf->buf_idx; in mm_stream_write_user_buf()
1096 my_obj->buf[index].user_buf.bufs_used); in mm_stream_write_user_buf()
1099 == my_obj->buf[index].user_buf.bufs_used){ in mm_stream_write_user_buf()
1103 cont_buf->buf_cnt = my_obj->buf[index].user_buf.bufs_used; in mm_stream_write_user_buf()
1105 cont_buf->buf_idx[i] = my_obj->buf[index].user_buf.buf_idx[i]; in mm_stream_write_user_buf()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1046 cont_buf->buf_cnt = my_obj->buf[buf->buf_idx].user_buf.bufs_used; in mm_stream_write_user_buf()
1048 cont_buf->buf_idx[i] = my_obj->buf[buf->buf_idx].user_buf.buf_idx[i]; in mm_stream_write_user_buf()
1056 my_obj->buf[buf->buf_idx].user_buf.buf_idx[i] = -1; in mm_stream_write_user_buf()
1059 my_obj->buf[buf->buf_idx].user_buf.buf_in_use = 1; in mm_stream_write_user_buf()
1072 || (my_obj->buf[i].user_buf.buf_in_use)) { in mm_stream_write_user_buf()
1090 my_obj->buf[index].user_buf.buf_idx[count] = buf->buf_idx; in mm_stream_write_user_buf()
1096 my_obj->buf[index].user_buf.bufs_used); in mm_stream_write_user_buf()
1099 == my_obj->buf[index].user_buf.bufs_used){ in mm_stream_write_user_buf()
1103 cont_buf->buf_cnt = my_obj->buf[index].user_buf.bufs_used; in mm_stream_write_user_buf()
1105 cont_buf->buf_idx[i] = my_obj->buf[index].user_buf.buf_idx[i]; in mm_stream_write_user_buf()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraMem.cpp300 bufDef.user_buf.num_buffers = (int8_t)buf_info.frame_buf_cnt; in getUserBufDef()
301 bufDef.user_buf.bufs_used = (int8_t)buf_info.frame_buf_cnt; in getUserBufDef()
305 cont_buf->buf_cnt = bufDef.user_buf.num_buffers; in getUserBufDef()
307 for (int i = 0; i < bufDef.user_buf.num_buffers; i++) { in getUserBufDef()
309 bufDef.user_buf.buf_idx[i] = -1; in getUserBufDef()
313 bufDef.user_buf.plane_buf = planeBufDef; in getUserBufDef()
316 __func__, bufDef.user_buf.num_buffers, index, plane_idx); in getUserBufDef()
DQCameraStream.cpp207 for (int i = 0; i < stream->mBufDefs[index].user_buf.bufs_used; i++) { in invalidate_buf()
208 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in invalidate_buf()
244 for (int i = 0; i < stream->mBufDefs[index].user_buf.bufs_used; i++) { in clean_invalidate_buf()
245 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in clean_invalidate_buf()
DQCamera2HWICallbacks.cpp1129 int fd_cnt = frame->user_buf.bufs_used; in video_stream_cb_routine()
1154 if (frame->user_buf.buf_idx[i] >= 0) { in video_stream_cb_routine()
1156 &frame->user_buf.plane_buf[frame->user_buf.buf_idx[i]]; in video_stream_cb_routine()
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraMem.cpp300 bufDef.user_buf.num_buffers = (int8_t)buf_info.frame_buf_cnt; in getUserBufDef()
301 bufDef.user_buf.bufs_used = (int8_t)buf_info.frame_buf_cnt; in getUserBufDef()
305 cont_buf->buf_cnt = bufDef.user_buf.num_buffers; in getUserBufDef()
307 for (int i = 0; i < bufDef.user_buf.num_buffers; i++) { in getUserBufDef()
309 bufDef.user_buf.buf_idx[i] = -1; in getUserBufDef()
313 bufDef.user_buf.plane_buf = planeBufDef; in getUserBufDef()
316 __func__, bufDef.user_buf.num_buffers, index, plane_idx); in getUserBufDef()
DQCameraStream.cpp207 for (int i = 0; i < stream->mBufDefs[index].user_buf.bufs_used; i++) { in invalidate_buf()
208 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in invalidate_buf()
244 for (int i = 0; i < stream->mBufDefs[index].user_buf.bufs_used; i++) { in clean_invalidate_buf()
245 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in clean_invalidate_buf()
DQCamera2HWICallbacks.cpp1129 int fd_cnt = frame->user_buf.bufs_used; in video_stream_cb_routine()
1154 if (frame->user_buf.buf_idx[i] >= 0) { in video_stream_cb_routine()
1156 &frame->user_buf.plane_buf[frame->user_buf.buf_idx[i]]; in video_stream_cb_routine()
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1327 cont_buf->buf_cnt = my_obj->buf[buf->buf_idx].user_buf.bufs_used; in mm_stream_write_user_buf()
1329 cont_buf->buf_idx[i] = my_obj->buf[buf->buf_idx].user_buf.buf_idx[i]; in mm_stream_write_user_buf()
1337 my_obj->buf[buf->buf_idx].user_buf.buf_idx[i] = -1; in mm_stream_write_user_buf()
1340 my_obj->buf[buf->buf_idx].user_buf.buf_in_use = 1; in mm_stream_write_user_buf()
1354 || (my_obj->buf[i].user_buf.buf_in_use)) { in mm_stream_write_user_buf()
1372 my_obj->buf[index].user_buf.buf_idx[count] = buf->buf_idx; in mm_stream_write_user_buf()
1378 my_obj->buf[index].user_buf.bufs_used); in mm_stream_write_user_buf()
1381 == my_obj->buf[index].user_buf.bufs_used){ in mm_stream_write_user_buf()
1387 cont_buf->buf_cnt = my_obj->buf[index].user_buf.bufs_used; in mm_stream_write_user_buf()
1389 cont_buf->buf_idx[i] = my_obj->buf[index].user_buf.buf_idx[i]; in mm_stream_write_user_buf()
[all …]
/device/google/marlin/camera/QCamera2/HAL/
DQCameraMem.cpp342 bufDef.user_buf.num_buffers = (int8_t)buf_info.frame_buf_cnt; in getUserBufDef()
343 bufDef.user_buf.bufs_used = (int8_t)buf_info.frame_buf_cnt; in getUserBufDef()
347 cont_buf->buf_cnt = bufDef.user_buf.num_buffers; in getUserBufDef()
349 for (int i = 0; i < bufDef.user_buf.num_buffers; i++) { in getUserBufDef()
351 bufDef.user_buf.buf_idx[i] = -1; in getUserBufDef()
355 bufDef.user_buf.plane_buf = planeBufDef; in getUserBufDef()
358 bufDef.user_buf.num_buffers, index, plane_idx); in getUserBufDef()
DQCameraStream.cpp216 for (int i = 0; i < stream->mBufDefs[index].user_buf.bufs_used; i++) { in invalidate_buf()
217 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in invalidate_buf()
253 for (int i = 0; i < stream->mBufDefs[index].user_buf.bufs_used; i++) { in clean_invalidate_buf()
254 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in clean_invalidate_buf()
DQCamera2HWICallbacks.cpp1501 int fd_cnt = frame->user_buf.bufs_used; in video_stream_cb_routine()
1516 if (frame->user_buf.buf_idx[i] >= 0) { in video_stream_cb_routine()
1518 &frame->user_buf.plane_buf[frame->user_buf.buf_idx[i]]; in video_stream_cb_routine()
/device/lge/bullhead/camera/QCamera2/stack/common/
Dmm_camera_interface.h130 mm_camera_user_buf_def_t user_buf; member
/device/huawei/angler/camera/QCamera2/stack/common/
Dmm_camera_interface.h130 mm_camera_user_buf_def_t user_buf; member
/device/google/marlin/camera/QCamera2/stack/common/
Dmm_camera_interface.h134 mm_camera_user_buf_def_t user_buf; member