Home
last modified time | relevance | path

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

/device/moto/shamu/camera/QCamera2/HAL/
DQCameraChannel.cpp793 cam_stream_info_t *streamInfo = NULL; in addReprocStreamsFromSource() local
851 streamInfo = (cam_stream_info_t *)pStreamInfoBuf->getPtr(0); in addReprocStreamsFromSource()
852 memset(streamInfo, 0, sizeof(cam_stream_info_t)); in addReprocStreamsFromSource()
853 streamInfo->stream_type = CAM_STREAM_TYPE_OFFLINE_PROC; in addReprocStreamsFromSource()
854 rc = pStream->getFormat(streamInfo->fmt); in addReprocStreamsFromSource()
855 rc = pStream->getFrameDimension(streamInfo->dim); in addReprocStreamsFromSource()
857 streamInfo->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in addReprocStreamsFromSource()
858 streamInfo->num_of_burst = 0; in addReprocStreamsFromSource()
860 streamInfo->streaming_mode = CAM_STREAMING_MODE_BURST; in addReprocStreamsFromSource()
861 streamInfo->num_of_burst = burstNum; in addReprocStreamsFromSource()
[all …]
DQCameraStream.cpp464 int32_t QCameraStream::calcOffset(cam_stream_info_t *streamInfo) in calcOffset() argument
468 cam_dimension_t dim = streamInfo->dim; in calcOffset()
469 if (streamInfo->pp_config.feature_mask & CAM_QCOM_FEATURE_ROTATION && in calcOffset()
470 streamInfo->stream_type != CAM_STREAM_TYPE_VIDEO) { in calcOffset()
471 if (streamInfo->pp_config.rotation == ROTATE_90 || in calcOffset()
472 streamInfo->pp_config.rotation == ROTATE_270) { in calcOffset()
474 dim.width = streamInfo->dim.height; in calcOffset()
475 dim.height = streamInfo->dim.width; in calcOffset()
479 switch (streamInfo->stream_type) { in calcOffset()
481 rc = mm_stream_calc_offset_preview(streamInfo->fmt, in calcOffset()
[all …]
DQCamera2HWI.cpp1780 cam_stream_info_t *streamInfo = (cam_stream_info_t *)streamInfoBuf->getPtr(0); in allocateStreamInfoBuf() local
1781 memset(streamInfo, 0, sizeof(cam_stream_info_t)); in allocateStreamInfoBuf()
1782 streamInfo->stream_type = stream_type; in allocateStreamInfoBuf()
1783 rc = mParameters.getStreamFormat(stream_type, streamInfo->fmt); in allocateStreamInfoBuf()
1784 rc = mParameters.getStreamDimension(stream_type, streamInfo->dim); in allocateStreamInfoBuf()
1785 rc = mParameters.getStreamRotation(stream_type, streamInfo->pp_config, streamInfo->dim); in allocateStreamInfoBuf()
1786 streamInfo->num_bufs = getBufNumRequired(stream_type); in allocateStreamInfoBuf()
1787 streamInfo->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in allocateStreamInfoBuf()
1788 streamInfo->is_secure = NON_SECURE; in allocateStreamInfoBuf()
1793 streamInfo->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in allocateStreamInfoBuf()
[all …]
DQCameraStream.h181 int32_t calcOffset(cam_stream_info_t *streamInfo);
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraChannel.cpp887 cam_stream_info_t *streamInfo = NULL; in addReprocStreamsFromSource() local
966 streamInfo = (cam_stream_info_t *)pStreamInfoBuf->getPtr(0); in addReprocStreamsFromSource()
967 memset(streamInfo, 0, sizeof(cam_stream_info_t)); in addReprocStreamsFromSource()
968 streamInfo->stream_type = CAM_STREAM_TYPE_OFFLINE_PROC; in addReprocStreamsFromSource()
971 streamInfo->perf_mode = CAM_PERF_HIGH_PERFORMANCE; in addReprocStreamsFromSource()
973 streamInfo->fmt = CAM_FORMAT_YUV_420_NV21; in addReprocStreamsFromSource()
975 rc = pStream->getFormat(streamInfo->fmt); in addReprocStreamsFromSource()
977 rc = pStream->getFrameDimension(streamInfo->dim); in addReprocStreamsFromSource()
979 streamInfo->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in addReprocStreamsFromSource()
980 streamInfo->num_of_burst = 0; in addReprocStreamsFromSource()
[all …]
DQCameraStream.cpp670 int32_t QCameraStream::calcOffset(cam_stream_info_t *streamInfo) in calcOffset() argument
674 cam_dimension_t dim = streamInfo->dim; in calcOffset()
675 if (streamInfo->pp_config.feature_mask & CAM_QCOM_FEATURE_ROTATION && in calcOffset()
676 streamInfo->stream_type != CAM_STREAM_TYPE_VIDEO) { in calcOffset()
677 if (streamInfo->pp_config.rotation == ROTATE_90 || in calcOffset()
678 streamInfo->pp_config.rotation == ROTATE_270) { in calcOffset()
680 dim.width = streamInfo->dim.height; in calcOffset()
681 dim.height = streamInfo->dim.width; in calcOffset()
685 switch (streamInfo->stream_type) { in calcOffset()
687 rc = mm_stream_calc_offset_preview(streamInfo->fmt, in calcOffset()
[all …]
DQCameraAllocator.h49 virtual QCameraHeapMemory *allocateMiscBuf(cam_stream_info_t *streamInfo) = 0;
50 virtual QCameraMemory *allocateStreamUserBuf(cam_stream_info_t *streamInfo) = 0;
DQCamera2HWI.cpp1843 cam_stream_info_t *streamInfo) in allocateMiscBuf() argument
1850 streamInfo->reprocess_config.pp_feature_config.feature_mask; in allocateMiscBuf()
1852 switch (streamInfo->stream_type) { in allocateMiscBuf()
1916 cam_stream_info_t *streamInfo = (cam_stream_info_t *)streamInfoBuf->getPtr(0); in allocateStreamInfoBuf() local
1917 memset(streamInfo, 0, sizeof(cam_stream_info_t)); in allocateStreamInfoBuf()
1918 streamInfo->stream_type = stream_type; in allocateStreamInfoBuf()
1919 rc = mParameters.getStreamFormat(stream_type, streamInfo->fmt); in allocateStreamInfoBuf()
1920 rc = mParameters.getStreamDimension(stream_type, streamInfo->dim); in allocateStreamInfoBuf()
1921 rc = mParameters.getStreamRotation(stream_type, streamInfo->pp_config, streamInfo->dim); in allocateStreamInfoBuf()
1922 streamInfo->num_bufs = getBufNumRequired(stream_type); in allocateStreamInfoBuf()
[all …]
DQCamera2HWICallbacks.cpp668 cam_stream_info_t *streamInfo = in sendPreviewCallback() local
670 if (NULL == streamInfo) { in sendPreviewCallback()
686 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
687 yScanline = streamInfo->buf_planes.plane_info.mp[0].scanline; in sendPreviewCallback()
688 uStride = streamInfo->buf_planes.plane_info.mp[1].stride; in sendPreviewCallback()
689 uScanline = streamInfo->buf_planes.plane_info.mp[1].scanline; in sendPreviewCallback()
690 vStride = streamInfo->buf_planes.plane_info.mp[2].stride; in sendPreviewCallback()
691 vScanline = streamInfo->buf_planes.plane_info.mp[2].scanline; in sendPreviewCallback()
697 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
698 yScanline = streamInfo->buf_planes.plane_info.mp[0].scanline; in sendPreviewCallback()
[all …]
DQCameraStream.h202 int32_t calcOffset(cam_stream_info_t *streamInfo);
DQCamera2HWI.h259 virtual QCameraHeapMemory *allocateMiscBuf(cam_stream_info_t *streamInfo);
260 virtual QCameraMemory *allocateStreamUserBuf(cam_stream_info_t *streamInfo);
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraChannel.cpp887 cam_stream_info_t *streamInfo = NULL; in addReprocStreamsFromSource() local
966 streamInfo = (cam_stream_info_t *)pStreamInfoBuf->getPtr(0); in addReprocStreamsFromSource()
967 memset(streamInfo, 0, sizeof(cam_stream_info_t)); in addReprocStreamsFromSource()
968 streamInfo->stream_type = CAM_STREAM_TYPE_OFFLINE_PROC; in addReprocStreamsFromSource()
971 streamInfo->perf_mode = CAM_PERF_HIGH_PERFORMANCE; in addReprocStreamsFromSource()
973 streamInfo->fmt = CAM_FORMAT_YUV_420_NV21; in addReprocStreamsFromSource()
975 rc = pStream->getFormat(streamInfo->fmt); in addReprocStreamsFromSource()
977 rc = pStream->getFrameDimension(streamInfo->dim); in addReprocStreamsFromSource()
979 streamInfo->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in addReprocStreamsFromSource()
980 streamInfo->num_of_burst = 0; in addReprocStreamsFromSource()
[all …]
DQCameraStream.cpp670 int32_t QCameraStream::calcOffset(cam_stream_info_t *streamInfo) in calcOffset() argument
674 cam_dimension_t dim = streamInfo->dim; in calcOffset()
675 if (streamInfo->pp_config.feature_mask & CAM_QCOM_FEATURE_ROTATION && in calcOffset()
676 streamInfo->stream_type != CAM_STREAM_TYPE_VIDEO) { in calcOffset()
677 if (streamInfo->pp_config.rotation == ROTATE_90 || in calcOffset()
678 streamInfo->pp_config.rotation == ROTATE_270) { in calcOffset()
680 dim.width = streamInfo->dim.height; in calcOffset()
681 dim.height = streamInfo->dim.width; in calcOffset()
685 switch (streamInfo->stream_type) { in calcOffset()
687 rc = mm_stream_calc_offset_preview(streamInfo->fmt, in calcOffset()
[all …]
DQCameraAllocator.h49 virtual QCameraHeapMemory *allocateMiscBuf(cam_stream_info_t *streamInfo) = 0;
50 virtual QCameraMemory *allocateStreamUserBuf(cam_stream_info_t *streamInfo) = 0;
DQCamera2HWI.cpp1843 cam_stream_info_t *streamInfo) in allocateMiscBuf() argument
1850 streamInfo->reprocess_config.pp_feature_config.feature_mask; in allocateMiscBuf()
1852 switch (streamInfo->stream_type) { in allocateMiscBuf()
1916 cam_stream_info_t *streamInfo = (cam_stream_info_t *)streamInfoBuf->getPtr(0); in allocateStreamInfoBuf() local
1917 memset(streamInfo, 0, sizeof(cam_stream_info_t)); in allocateStreamInfoBuf()
1918 streamInfo->stream_type = stream_type; in allocateStreamInfoBuf()
1919 rc = mParameters.getStreamFormat(stream_type, streamInfo->fmt); in allocateStreamInfoBuf()
1920 rc = mParameters.getStreamDimension(stream_type, streamInfo->dim); in allocateStreamInfoBuf()
1921 rc = mParameters.getStreamRotation(stream_type, streamInfo->pp_config, streamInfo->dim); in allocateStreamInfoBuf()
1922 streamInfo->num_bufs = getBufNumRequired(stream_type); in allocateStreamInfoBuf()
[all …]
DQCamera2HWICallbacks.cpp668 cam_stream_info_t *streamInfo = in sendPreviewCallback() local
670 if (NULL == streamInfo) { in sendPreviewCallback()
686 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
687 yScanline = streamInfo->buf_planes.plane_info.mp[0].scanline; in sendPreviewCallback()
688 uStride = streamInfo->buf_planes.plane_info.mp[1].stride; in sendPreviewCallback()
689 uScanline = streamInfo->buf_planes.plane_info.mp[1].scanline; in sendPreviewCallback()
690 vStride = streamInfo->buf_planes.plane_info.mp[2].stride; in sendPreviewCallback()
691 vScanline = streamInfo->buf_planes.plane_info.mp[2].scanline; in sendPreviewCallback()
697 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
698 yScanline = streamInfo->buf_planes.plane_info.mp[0].scanline; in sendPreviewCallback()
[all …]
DQCameraStream.h202 int32_t calcOffset(cam_stream_info_t *streamInfo);
DQCamera2HWI.h259 virtual QCameraHeapMemory *allocateMiscBuf(cam_stream_info_t *streamInfo);
260 virtual QCameraMemory *allocateStreamUserBuf(cam_stream_info_t *streamInfo);