• Home
  • Raw
  • Download

Lines Matching refs:frame

467 void QCamera3Channel::dumpYUV(mm_camera_buf_def_t *frame, cam_dimension_t dim,  in dumpYUV()  argument
478 name, counter, frame->frame_idx, dim.width, dim.height); in dumpYUV()
482 int written_len = write(file_fd, frame->buffer, offset.frame_len); in dumpYUV()
986 void QCamera3RawChannel::dumpRawSnapshot(mm_camera_buf_def_t *frame) in dumpRawSnapshot() argument
999 frame->frame_idx, dim.width, dim.height); in dumpRawSnapshot()
1003 int written_len = write(file_fd, frame->buffer, offset.frame_len); in dumpRawSnapshot()
1012 void QCamera3RawChannel::convertLegacyToRaw16(mm_camera_buf_def_t *frame) in convertLegacyToRaw16() argument
1030 uint16_t* raw16_buffer = (uint16_t *)frame->buffer; in convertLegacyToRaw16()
1040 uint64_t* row_start = (uint64_t *)frame->buffer + in convertLegacyToRaw16()
1049 void QCamera3RawChannel::convertMipiToRaw16(mm_camera_buf_def_t *frame) in convertMipiToRaw16() argument
1066 uint16_t* raw16_buffer = (uint16_t *)frame->buffer; in convertMipiToRaw16()
1076 uint8_t* row_start = (uint8_t *)frame->buffer + in convertMipiToRaw16()
1148 void QCamera3RawDumpChannel::dumpRawSnapshot(mm_camera_buf_def_t *frame) in dumpRawSnapshot() argument
1172 frame->frame_idx, dim.width, dim.height); in dumpRawSnapshot()
1176 int written_len = write(file_fd, frame->buffer, offset.frame_len); in dumpRawSnapshot()
1892 mm_camera_super_buf_t* frame = NULL; in streamCbRoutine() local
1921 frame = (mm_camera_super_buf_t *)malloc(sizeof(mm_camera_super_buf_t)); in streamCbRoutine()
1922 if (frame == NULL) { in streamCbRoutine()
1932 *frame = *super_frame; in streamCbRoutine()
1941 dumpYUV(frame->bufs[0], dim, offset, 1); in streamCbRoutine()
1944 m_postprocessor.processData(frame); in streamCbRoutine()
2685 mm_camera_super_buf_t* frame = NULL; in streamCbRoutine() local
2704 frame = (mm_camera_super_buf_t *)malloc(sizeof(mm_camera_super_buf_t)); in streamCbRoutine()
2705 if (frame == NULL) { in streamCbRoutine()
2715 *frame = *super_frame; in streamCbRoutine()
2723 dumpYUV(frame->bufs[0], dim, offset, 2); in streamCbRoutine()
2725 obj->m_postprocessor.processPPData(frame); in streamCbRoutine()
2956 int32_t QCamera3ReprocessChannel::extractFrameCropAndRotation(mm_camera_super_buf_t *frame, in extractFrameCropAndRotation() argument
2960 if ((NULL == meta_buffer) || (NULL == frame) || (NULL == jpeg_settings)) { in extractFrameCropAndRotation()
2969 for (int i = 0; i < frame->num_bufs; i++) { in extractFrameCropAndRotation()
2970 QCamera3Stream *pStream = getStreamBySrcHandle(frame->bufs[i]->stream_id); in extractFrameCropAndRotation()
2971 QCamera3Stream *pSrcStream = getSrcStreamBySrcHandle(frame->bufs[i]->stream_id); in extractFrameCropAndRotation()
3003 fwk_frame.input_buffer = *frame->bufs[i]; in extractFrameCropAndRotation()
3027 int32_t QCamera3ReprocessChannel::extractCrop(qcamera_fwk_input_pp_data_t *frame) in extractCrop() argument
3029 if (NULL == frame) { in extractCrop()
3034 if (NULL == frame->metadata_buffer.buffer) { in extractCrop()
3040 metadata_buffer_t *meta = (metadata_buffer_t *) frame->metadata_buffer.buffer; in extractCrop()
3045 frame->reproc_config.output_crop = crop_data->crop_info[0].crop; in extractCrop()
3076 int32_t QCamera3ReprocessChannel::doReprocessOffline(qcamera_fwk_input_pp_data_t *frame) in doReprocessOffline() argument
3086 if (NULL == frame) { in doReprocessOffline()
3091 if (NULL == frame->metadata_buffer.buffer) { in doReprocessOffline()
3096 if (NULL == frame->input_buffer.buffer) { in doReprocessOffline()
3117 frame->input_buffer.fd, frame->input_buffer.frame_len); in doReprocessOffline()
3137 frame->metadata_buffer.fd, frame->metadata_buffer.frame_len); in doReprocessOffline()
3152 param.reprocess.frame_idx = frame->input_buffer.frame_idx; in doReprocessOffline()
3155 param.reprocess.frame_pp_config.rotation = frame->reproc_config.rotation; in doReprocessOffline()
3156 param.reprocess.frame_pp_config.crop.input_crop = frame->reproc_config.output_crop; in doReprocessOffline()