/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | ring_buffer.cpp | 60 rb_entry_t *bufs; // Array of buffer pointers member 111 rbc->bufs = (rb_entry_t *)malloc(num_bufs * sizeof(rb_entry_t)); in ring_buffer_init() 112 if (rbc->bufs == NULL) { in ring_buffer_init() 117 memset(rbc->bufs, 0, (num_bufs * sizeof(rb_entry_t))); in ring_buffer_init() 143 free(rbc->bufs[buf_no].data); in ring_buffer_deinit() 145 free(rbc->bufs); in ring_buffer_deinit() 170 if (rbc->bufs[rbc->wr_buf_no].full == 1) in rb_write() 192 if (rbc->bufs[next_buf_no].full == 1) { in rb_write() 206 if (rbc->bufs[next_buf_no].full == 1) { in rb_write() 216 rbc->bufs[rbc->wr_buf_no].full = 1; in rb_write() [all …]
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_snapshot.c | 65 pme->current_job_frames->bufs[i])) { in jpeg_encode_cb() 68 mm_app_cache_ops((mm_camera_app_meminfo_t *) pme->current_job_frames->bufs[i]->mem_info, in jpeg_encode_cb() 182 static void mm_app_snapshot_metadata_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_snapshot_metadata_notify_cb() argument 192 if (NULL == bufs || NULL == user_data) { in mm_app_snapshot_metadata_notify_cb() 196 frame = bufs->bufs[0]; in mm_app_snapshot_metadata_notify_cb() 200 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_metadata_notify_cb() 225 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_metadata_notify_cb() 226 if (bufs->bufs[i]->stream_id == p_stream->s_id) { in mm_app_snapshot_metadata_notify_cb() 227 frame = bufs->bufs[i]; in mm_app_snapshot_metadata_notify_cb() 256 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_snapshot_metadata_notify_cb() [all …]
|
D | mm_qcamera_preview.c | 45 static void mm_app_metadata_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_metadata_notify_cb() argument 55 if (NULL == bufs || NULL == user_data) { in mm_app_metadata_notify_cb() 59 frame = bufs->bufs[0]; in mm_app_metadata_notify_cb() 63 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_metadata_notify_cb() 88 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_metadata_notify_cb() 89 if (bufs->bufs[i]->stream_id == p_stream->s_id) { in mm_app_metadata_notify_cb() 90 frame = bufs->bufs[i]; in mm_app_metadata_notify_cb() 122 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_metadata_notify_cb() 123 bufs->ch_id, in mm_app_metadata_notify_cb() 131 static void mm_app_snapshot_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_snapshot_notify_cb() argument [all …]
|
D | mm_qcamera_reprocess.c | 34 static void mm_app_reprocess_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_reprocess_notify_cb() argument 37 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_reprocess_notify_cb() 51 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_reprocess_notify_cb() 57 LOGE(" Wrong channel id (%d)", bufs->ch_id); in mm_app_reprocess_notify_cb() 64 m_frame = bufs->bufs[0]; in mm_app_reprocess_notify_cb() 84 rc = encodeData(pme, bufs, m_stream); in mm_app_reprocess_notify_cb() 87 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_reprocess_notify_cb() 88 bufs->ch_id, in mm_app_reprocess_notify_cb() 342 recvd_frame->bufs[i])) { in mm_app_release_ppinput() 345 mm_app_cache_ops((mm_camera_app_meminfo_t *) recvd_frame->bufs[i]->mem_info, in mm_app_release_ppinput()
|
D | mm_qcamera_video.c | 34 static void mm_app_video_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_video_notify_cb() argument 38 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_video_notify_cb() 46 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_video_notify_cb() 47 bufs->ch_id, in mm_app_video_notify_cb()
|
D | mm_qcamera_rdi.c | 67 static void mm_app_rdi_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_rdi_notify_cb() argument 71 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_rdi_notify_cb() 79 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_rdi_notify_cb() 80 bufs->ch_id, in mm_app_rdi_notify_cb()
|
/hardware/qcom/camera/QCamera2/HAL3/ |
D | QCamera3Stream.cpp | 82 mm_camera_buf_def_t **bufs, in get_bufs() argument 92 rc = stream->getBufs(offset, num_bufs, initial_reg_flag, bufs, ops_tbl); in get_bufs() 101 bufs, ops_tbl); in get_bufs() 512 bufDone(frame->bufs[0]->buf_idx); in processDataNotify() 539 recvd_frame->bufs[0] == NULL || in dataNotifyCB() 540 recvd_frame->bufs[0]->stream_id != stream->getMyHandle()) { in dataNotifyCB() 549 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB() 596 if (UNLIKELY(frame->bufs[0]->buf_type == in dataProcRoutine() 603 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine() 754 mm_camera_buf_def_t **bufs, in getBufs() argument [all …]
|
D | QCamera3Stream.h | 77 virtual int32_t processDataNotify(mm_camera_super_buf_t *bufs); 137 mm_camera_buf_def_t **bufs, 149 mm_camera_buf_def_t **bufs, 156 mm_camera_buf_def_t **bufs,
|
D | QCamera3Channel.cpp | 353 if (recvd_frame->bufs[i] != NULL) { in bufDone() 356 mStreams[j]->getMyHandle() == recvd_frame->bufs[i]->stream_id) { in bufDone() 357 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone() 799 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine() 812 dumpYUV(super_frame->bufs[0], dim, offset, QCAMERA_DUMP_FRM_PREVIEW); in streamCbRoutine() 814 dumpYUV(super_frame->bufs[0], dim, offset, QCAMERA_DUMP_FRM_VIDEO); in streamCbRoutine() 816 dumpYUV(super_frame->bufs[0], dim, offset, QCAMERA_DUMP_FRM_CALLBACK); in streamCbRoutine() 824 if (IS_BUFFER_ERROR(super_frame->bufs[0]->flags)) { in streamCbRoutine() 1164 if(NULL == super_frame->bufs[0]) { in checkStreamCbErrors() 2065 dumpRawSnapshot(super_frame->bufs[0]); in streamCbRoutine() [all …]
|
D | QCamera3PostProc.cpp | 1353 jpeg_job_data->src_frame->bufs[0]->buf_idx); in encodeData() 1380 srcChannel->getStreamByHandle(recvd_frame->bufs[i]->stream_id); in encodeData() 1386 main_frame = recvd_frame->bufs[i]; in encodeData() 1873 if (meta_buffer->bufs[0] != NULL) { in dataProcessRoutine() 1875 meta_buffer->bufs[0]->buffer; in dataProcessRoutine() 1881 meta_buffer_arg = meta_buffer->bufs[0]; in dataProcessRoutine()
|
/hardware/qcom/camera/QCamera2/HAL/ |
D | QCameraStream.h | 72 virtual int32_t processDataNotify(mm_camera_super_buf_t *bufs); 195 mm_camera_buf_def_t **bufs, 203 mm_camera_buf_def_t **bufs, 228 mm_camera_buf_def_t **bufs, 233 mm_camera_buf_def_t **bufs, 241 mm_camera_buf_def_t **bufs, mm_camera_map_unmap_ops_tbl_t *ops_tbl);
|
D | QCamera2HWICallbacks.cpp | 157 recvd_frame->bufs[0]->frame_idx); in zsl_channel_cb() 165 if (recvd_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_RAW) { in zsl_channel_cb() 166 mm_camera_buf_def_t * raw_frame = recvd_frame->bufs[i]; in zsl_channel_cb() 177 if (recvd_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in zsl_channel_cb() 178 mm_camera_buf_def_t * yuv_frame = recvd_frame->bufs[i]; in zsl_channel_cb() 193 QCameraStream *pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb() 196 pMetaFrame = frame->bufs[i]; //find the metadata in zsl_channel_cb() 234 pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb() 237 pMetaFrame = frame->bufs[i]; in zsl_channel_cb() 254 pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb() [all …]
|
D | QCameraChannel.cpp | 415 if (recvd_frame->bufs[i] != NULL) { in bufDone() 418 mStreams[j]->getMyHandle() == recvd_frame->bufs[i]->stream_id) { in bufDone() 419 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone() 448 if ((recvd_frame->bufs[i] != NULL) && in bufDone() 449 (recvd_frame->bufs[i]->stream_id == stream_id)) { in bufDone() 453 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone() 460 recvd_frame->bufs[j] = recvd_frame->bufs[j + 1]; in bufDone() 1397 pStream = getStreamBySrouceHandle(frame->bufs[i]->stream_id); in doReprocessOffline() 1417 uint32_t stream_id = frame->bufs[i]->stream_id; in doReprocessOffline() 1454 rc = doReprocessOffline (frame->bufs[i], meta_buf, pStream); in doReprocessOffline() [all …]
|
D | QCameraPostProc.cpp | 863 src_frame->bufs[i]->stream_id); in getOfflinePPInputBuffer() 867 data_frame = src_frame->bufs[i]; in getOfflinePPInputBuffer() 870 meta_frame = src_frame->bufs[i]; in getOfflinePPInputBuffer() 928 if (frame->bufs[i]->stream_type == CAM_STREAM_TYPE_METADATA) { in processData() 929 meta_frame = frame->bufs[i]; in processData() 967 mm_camera_buf_def_t *bufs = NULL; in processData() local 969 bufs = new mm_camera_buf_def_t[num_bufs]; in processData() 970 if (NULL == bufs) { in processData() 976 bufs[i] = *frame->bufs[i]; in processData() 977 frame->bufs[i] = &bufs[i]; in processData() [all …]
|
D | QCameraStream.cpp | 70 mm_camera_buf_def_t **bufs, in get_bufs() argument 84 initial_reg_flag, bufs, ops_tbl); in get_bufs() 88 initial_reg_flag, bufs, ops_tbl); in get_bufs() 114 mm_camera_buf_def_t **bufs, in get_bufs_deffered() argument 125 return stream->getBufsDeferred(NULL /*offset*/, num_bufs, initial_reg_flag, bufs, in get_bufs_deffered() 1002 bufDone(frame->bufs[0]->buf_idx); in processDataNotify() 1028 recvd_frame->bufs[0] == NULL || in dataNotifySYNCCB() 1029 recvd_frame->bufs[0]->stream_id != stream->getMyHandle()) { in dataNotifySYNCCB() 1058 recvd_frame->bufs[0] == NULL || in dataNotifyCB() 1059 recvd_frame->bufs[0]->stream_id != stream->getMyHandle()) { in dataNotifyCB() [all …]
|
D | QCameraMem.h | 107 mm_camera_buf_def_t *planebufDef, QCameraMemory *bufs) const;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
D | vp9_onyxc_int.h | 225 static INLINE void ref_cnt_fb(RefCntBuffer *bufs, int *idx, int new_idx) { in ref_cnt_fb() argument 228 if (ref_index >= 0 && bufs[ref_index].ref_count > 0) in ref_cnt_fb() 229 bufs[ref_index].ref_count--; in ref_cnt_fb() 233 bufs[new_idx].ref_count++; in ref_cnt_fb()
|
/hardware/qcom/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 159 mm_camera_buf_def_t* bufs[MAX_STREAM_NUM_IN_BUNDLE]; member 211 typedef void (*mm_camera_buf_notify_t) (mm_camera_super_buf_t *bufs, 277 mm_camera_buf_def_t **bufs,
|
/hardware/libhardware/tests/camera2/ |
D | camera2_utils.h | 64 status_t setStreamSlot(const List<camera_metadata_t*> &bufs);
|
D | camera2_utils.cpp | 168 status_t MetadataQueue::setStreamSlot(const List<camera_metadata_t*> &bufs) { in setStreamSlot() argument 172 mStreamSlot = bufs; in setStreamSlot()
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/inc/ |
D | mm_qcamera_app.h | 376 mm_camera_buf_def_t **bufs,
|
/hardware/ti/omap4-aah/camera/ |
D | CameraHal.cpp | 1666 status_t CameraHal::freeVideoBufs(CameraBuffer *bufs) in freeVideoBufs() argument 1673 if(bufs == NULL) in freeVideoBufs() 1683 CAMHAL_LOGVB("Free Video Gralloc Handle 0x%x", bufs[i].opaque); in freeVideoBufs() 1684 GrallocAlloc.free((buffer_handle_t)bufs[i].opaque); in freeVideoBufs() 2196 CameraBuffer *bufs = NULL; in setTapoutLocked() local 2202 bufs = out->allocateBufferList(stride, in setTapoutLocked() 2207 if (bufs == NULL){ in setTapoutLocked()
|
/hardware/qcom/msm8994/kernel-headers/sound/ |
D | asound.h | 451 void __user * __user *bufs; member
|
/hardware/qcom/msm8994/original-kernel-headers/sound/ |
D | asound.h | 457 void __user * __user *bufs; member
|
/hardware/qcom/msm8996/kernel-headers/sound/ |
D | asound.h | 455 void __user * __user * bufs; member
|