Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraChannel.cpp1110 cam_stream_info_t *streamInfo = NULL; in addReprocStreamsFromSource() local
1209 streamInfo = (cam_stream_info_t *)pStreamInfoBuf->getPtr(0); in addReprocStreamsFromSource()
1210 memset(streamInfo, 0, sizeof(cam_stream_info_t)); in addReprocStreamsFromSource()
1211 streamInfo->stream_type = CAM_STREAM_TYPE_OFFLINE_PROC; in addReprocStreamsFromSource()
1214 streamInfo->perf_mode = CAM_PERF_HIGH_PERFORMANCE; in addReprocStreamsFromSource()
1218 param.getStreamFormat(CAM_STREAM_TYPE_OFFLINE_PROC, streamInfo->fmt); in addReprocStreamsFromSource()
1220 streamInfo->fmt = CAM_FORMAT_YUV_420_NV21; in addReprocStreamsFromSource()
1223 rc = pStream->getFormat(streamInfo->fmt); in addReprocStreamsFromSource()
1231 param.getThumbnailSize(&(streamInfo->dim.width), in addReprocStreamsFromSource()
1232 &(streamInfo->dim.height)); in addReprocStreamsFromSource()
[all …]
DQCameraAllocator.h56 virtual QCameraHeapMemory *allocateMiscBuf(cam_stream_info_t *streamInfo) = 0;
57 virtual QCameraMemory *allocateStreamUserBuf(cam_stream_info_t *streamInfo) = 0;
DQCameraStream.cpp849 int32_t QCameraStream::calcOffset(cam_stream_info_t *streamInfo) in calcOffset() argument
853 cam_dimension_t dim = streamInfo->dim; in calcOffset()
854 if (streamInfo->pp_config.feature_mask & CAM_QCOM_FEATURE_ROTATION && in calcOffset()
855 streamInfo->stream_type != CAM_STREAM_TYPE_VIDEO) { in calcOffset()
856 if (streamInfo->pp_config.rotation == ROTATE_90 || in calcOffset()
857 streamInfo->pp_config.rotation == ROTATE_270) { in calcOffset()
859 dim.width = streamInfo->dim.height; in calcOffset()
860 dim.height = streamInfo->dim.width; in calcOffset()
864 switch (streamInfo->stream_type) { in calcOffset()
867 rc = mm_stream_calc_offset_preview(streamInfo, in calcOffset()
[all …]
DQCamera2HWI.cpp3245 cam_stream_info_t *streamInfo) in allocateMiscBuf() argument
3252 streamInfo->reprocess_config.pp_feature_config.feature_mask; in allocateMiscBuf()
3254 switch (streamInfo->stream_type) { in allocateMiscBuf()
3300 cam_stream_info_t *streamInfo, uint32_t cam_type) in initStreamInfoBuf() argument
3306 memset(streamInfo, 0, sizeof(cam_stream_info_t)); in initStreamInfoBuf()
3307 streamInfo->stream_type = stream_type; in initStreamInfoBuf()
3308 rc = mParameters.getStreamFormat(stream_type, streamInfo->fmt); in initStreamInfoBuf()
3309 rc = mParameters.getStreamDimension(stream_type, streamInfo->dim, cam_type); in initStreamInfoBuf()
3310 rc = mParameters.getStreamRotation(stream_type, streamInfo->pp_config, streamInfo->dim); in initStreamInfoBuf()
3311 streamInfo->num_bufs = getBufNumRequired(stream_type); in initStreamInfoBuf()
[all …]
DQCamera2HWICallbacks.cpp1007 cam_stream_info_t *streamInfo = in sendPreviewCallback() local
1009 if (NULL == streamInfo) { in sendPreviewCallback()
1033 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
1034 yScanline = streamInfo->buf_planes.plane_info.mp[0].scanline; in sendPreviewCallback()
1035 uStride = streamInfo->buf_planes.plane_info.mp[1].stride; in sendPreviewCallback()
1036 uScanline = streamInfo->buf_planes.plane_info.mp[1].scanline; in sendPreviewCallback()
1037 vStride = streamInfo->buf_planes.plane_info.mp[2].stride; in sendPreviewCallback()
1038 vScanline = streamInfo->buf_planes.plane_info.mp[2].scanline; in sendPreviewCallback()
1044 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
1045 yScanline = streamInfo->buf_planes.plane_info.mp[0].scanline; in sendPreviewCallback()
[all …]
DQCamera2HWI.h293 virtual QCameraHeapMemory *allocateMiscBuf(cam_stream_info_t *streamInfo);
294 virtual QCameraMemory *allocateStreamUserBuf(cam_stream_info_t *streamInfo);
311 cam_stream_info_t *streamInfo, uint32_t cam_type = MM_CAMERA_TYPE_MAIN);
DQCameraStream.h259 int32_t calcOffset(cam_stream_info_t *streamInfo);
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp5231 const cam_stream_info_t* streamInfo = stream->getStreamInfo(); in fillPbStreamConfig() local
5232 if (streamInfo == nullptr) { in fillPbStreamConfig()
5238 config->image.width = streamInfo->dim.width; in fillPbStreamConfig()
5239 config->image.height = streamInfo->dim.height; in fillPbStreamConfig()
5244 switch (streamInfo->fmt) { in fillPbStreamConfig()
5255 ALOGE("%s: Stream format %d not supported.", __FUNCTION__, streamInfo->fmt); in fillPbStreamConfig()
5262 for (uint32_t i = 0; i < streamInfo->buf_planes.plane_info.num_planes; i++) { in fillPbStreamConfig()
5264 plane.stride = streamInfo->buf_planes.plane_info.mp[i].stride * bytesPerPixel; in fillPbStreamConfig()
5265 plane.scanline = streamInfo->buf_planes.plane_info.mp[i].scanline; in fillPbStreamConfig()
5271 config->image.padding = streamInfo->buf_planes.plane_info.frame_len - totalPlaneSize; in fillPbStreamConfig()
[all …]