Home
last modified time | relevance | path

Searched refs:streamInfo (Results 1 – 7 of 7) sorted by relevance

/device/google/marlin/camera/QCamera2/HAL/
DQCameraChannel.cpp969 cam_stream_info_t *streamInfo = NULL; in addReprocStreamsFromSource() local
1050 streamInfo = (cam_stream_info_t *)pStreamInfoBuf->getPtr(0); in addReprocStreamsFromSource()
1051 memset(streamInfo, 0, sizeof(cam_stream_info_t)); in addReprocStreamsFromSource()
1052 streamInfo->stream_type = CAM_STREAM_TYPE_OFFLINE_PROC; in addReprocStreamsFromSource()
1055 streamInfo->perf_mode = CAM_PERF_HIGH_PERFORMANCE; in addReprocStreamsFromSource()
1057 streamInfo->fmt = CAM_FORMAT_YUV_420_NV21; in addReprocStreamsFromSource()
1059 rc = pStream->getFormat(streamInfo->fmt); in addReprocStreamsFromSource()
1064 param.getThumbnailSize(&(streamInfo->dim.width), &(streamInfo->dim.height)); in addReprocStreamsFromSource()
1069 streamInfo->dim); in addReprocStreamsFromSource()
1072 param.getStreamDimension(CAM_STREAM_TYPE_SNAPSHOT,streamInfo->dim); in addReprocStreamsFromSource()
[all …]
DQCameraAllocator.h54 virtual QCameraHeapMemory *allocateMiscBuf(cam_stream_info_t *streamInfo) = 0;
55 virtual QCameraMemory *allocateStreamUserBuf(cam_stream_info_t *streamInfo) = 0;
DQCameraStream.cpp816 int32_t QCameraStream::calcOffset(cam_stream_info_t *streamInfo) in calcOffset() argument
820 cam_dimension_t dim = streamInfo->dim; in calcOffset()
821 if (streamInfo->pp_config.feature_mask & CAM_QCOM_FEATURE_ROTATION && in calcOffset()
822 streamInfo->stream_type != CAM_STREAM_TYPE_VIDEO) { in calcOffset()
823 if (streamInfo->pp_config.rotation == ROTATE_90 || in calcOffset()
824 streamInfo->pp_config.rotation == ROTATE_270) { in calcOffset()
826 dim.width = streamInfo->dim.height; in calcOffset()
827 dim.height = streamInfo->dim.width; in calcOffset()
831 switch (streamInfo->stream_type) { in calcOffset()
834 rc = mm_stream_calc_offset_preview(streamInfo, in calcOffset()
[all …]
DQCamera2HWI.cpp2941 cam_stream_info_t *streamInfo) in allocateMiscBuf() argument
2948 streamInfo->reprocess_config.pp_feature_config.feature_mask; in allocateMiscBuf()
2950 switch (streamInfo->stream_type) { in allocateMiscBuf()
3014 cam_stream_info_t *streamInfo = (cam_stream_info_t *)streamInfoBuf->getPtr(0); in allocateStreamInfoBuf() local
3015 memset(streamInfo, 0, sizeof(cam_stream_info_t)); in allocateStreamInfoBuf()
3016 streamInfo->stream_type = stream_type; in allocateStreamInfoBuf()
3017 rc = mParameters.getStreamFormat(stream_type, streamInfo->fmt); in allocateStreamInfoBuf()
3018 rc = mParameters.getStreamDimension(stream_type, streamInfo->dim); in allocateStreamInfoBuf()
3019 rc = mParameters.getStreamRotation(stream_type, streamInfo->pp_config, streamInfo->dim); in allocateStreamInfoBuf()
3020 streamInfo->num_bufs = getBufNumRequired(stream_type); in allocateStreamInfoBuf()
[all …]
DQCamera2HWICallbacks.cpp974 cam_stream_info_t *streamInfo = in sendPreviewCallback() local
976 if (NULL == streamInfo) { in sendPreviewCallback()
1000 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
1001 yScanline = streamInfo->buf_planes.plane_info.mp[0].scanline; in sendPreviewCallback()
1002 uStride = streamInfo->buf_planes.plane_info.mp[1].stride; in sendPreviewCallback()
1003 uScanline = streamInfo->buf_planes.plane_info.mp[1].scanline; in sendPreviewCallback()
1004 vStride = streamInfo->buf_planes.plane_info.mp[2].stride; in sendPreviewCallback()
1005 vScanline = streamInfo->buf_planes.plane_info.mp[2].scanline; in sendPreviewCallback()
1011 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
1012 yScanline = streamInfo->buf_planes.plane_info.mp[0].scanline; in sendPreviewCallback()
[all …]
DQCameraStream.h250 int32_t calcOffset(cam_stream_info_t *streamInfo);
DQCamera2HWI.h281 virtual QCameraHeapMemory *allocateMiscBuf(cam_stream_info_t *streamInfo);
282 virtual QCameraMemory *allocateStreamUserBuf(cam_stream_info_t *streamInfo);