Home
last modified time | relevance | path

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

/hardware/qcom/camera/QCamera2/HAL/
DQCameraChannel.cpp966 cam_stream_info_t *streamInfo = NULL; in addReprocStreamsFromSource() local
1047 streamInfo = (cam_stream_info_t *)pStreamInfoBuf->getPtr(0); in addReprocStreamsFromSource()
1048 memset(streamInfo, 0, sizeof(cam_stream_info_t)); in addReprocStreamsFromSource()
1049 streamInfo->stream_type = CAM_STREAM_TYPE_OFFLINE_PROC; in addReprocStreamsFromSource()
1052 streamInfo->perf_mode = CAM_PERF_HIGH_PERFORMANCE; in addReprocStreamsFromSource()
1054 streamInfo->fmt = CAM_FORMAT_YUV_420_NV21; in addReprocStreamsFromSource()
1056 rc = pStream->getFormat(streamInfo->fmt); in addReprocStreamsFromSource()
1061 param.getThumbnailSize(&(streamInfo->dim.width), &(streamInfo->dim.height)); in addReprocStreamsFromSource()
1066 streamInfo->dim); in addReprocStreamsFromSource()
1069 param.getStreamDimension(CAM_STREAM_TYPE_SNAPSHOT,streamInfo->dim); in addReprocStreamsFromSource()
[all …]
DQCameraStream.cpp777 int32_t QCameraStream::calcOffset(cam_stream_info_t *streamInfo) in calcOffset() argument
781 cam_dimension_t dim = streamInfo->dim; in calcOffset()
782 if (streamInfo->pp_config.feature_mask & CAM_QCOM_FEATURE_ROTATION && in calcOffset()
783 streamInfo->stream_type != CAM_STREAM_TYPE_VIDEO) { in calcOffset()
784 if (streamInfo->pp_config.rotation == ROTATE_90 || in calcOffset()
785 streamInfo->pp_config.rotation == ROTATE_270) { in calcOffset()
787 dim.width = streamInfo->dim.height; in calcOffset()
788 dim.height = streamInfo->dim.width; in calcOffset()
792 switch (streamInfo->stream_type) { in calcOffset()
795 rc = mm_stream_calc_offset_preview(streamInfo, in calcOffset()
[all …]
DQCameraAllocator.h54 virtual QCameraHeapMemory *allocateMiscBuf(cam_stream_info_t *streamInfo) = 0;
55 virtual QCameraMemory *allocateStreamUserBuf(cam_stream_info_t *streamInfo) = 0;
DQCamera2HWI.cpp2884 cam_stream_info_t *streamInfo) in allocateMiscBuf() argument
2891 streamInfo->reprocess_config.pp_feature_config.feature_mask; in allocateMiscBuf()
2893 switch (streamInfo->stream_type) { in allocateMiscBuf()
2957 cam_stream_info_t *streamInfo = (cam_stream_info_t *)streamInfoBuf->getPtr(0); in allocateStreamInfoBuf() local
2958 memset(streamInfo, 0, sizeof(cam_stream_info_t)); in allocateStreamInfoBuf()
2959 streamInfo->stream_type = stream_type; in allocateStreamInfoBuf()
2960 rc = mParameters.getStreamFormat(stream_type, streamInfo->fmt); in allocateStreamInfoBuf()
2961 rc = mParameters.getStreamDimension(stream_type, streamInfo->dim); in allocateStreamInfoBuf()
2962 rc = mParameters.getStreamRotation(stream_type, streamInfo->pp_config, streamInfo->dim); in allocateStreamInfoBuf()
2963 streamInfo->num_bufs = getBufNumRequired(stream_type); in allocateStreamInfoBuf()
[all …]
DQCamera2HWICallbacks.cpp973 cam_stream_info_t *streamInfo = in sendPreviewCallback() local
975 if (NULL == streamInfo) { in sendPreviewCallback()
999 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
1000 yScanline = streamInfo->buf_planes.plane_info.mp[0].scanline; in sendPreviewCallback()
1001 uStride = streamInfo->buf_planes.plane_info.mp[1].stride; in sendPreviewCallback()
1002 uScanline = streamInfo->buf_planes.plane_info.mp[1].scanline; in sendPreviewCallback()
1003 vStride = streamInfo->buf_planes.plane_info.mp[2].stride; in sendPreviewCallback()
1004 vScanline = streamInfo->buf_planes.plane_info.mp[2].scanline; in sendPreviewCallback()
1010 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
1011 yScanline = streamInfo->buf_planes.plane_info.mp[0].scanline; in sendPreviewCallback()
[all …]
DQCameraStream.h247 int32_t calcOffset(cam_stream_info_t *streamInfo);
DQCamera2HWI.h274 virtual QCameraHeapMemory *allocateMiscBuf(cam_stream_info_t *streamInfo);
275 virtual QCameraMemory *allocateStreamUserBuf(cam_stream_info_t *streamInfo);
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/
DOMX_G722Encoder.c1154 TI_OMX_STREAM_INFO *streamInfo = NULL; in GetConfig() local
1158 OMX_G722MALLOC_STRUCT (streamInfo, TI_OMX_STREAM_INFO); in GetConfig()
1159 if(streamInfo == NULL) in GetConfig()
1168 streamInfo->streamId = pComponentPrivate->streamID; in GetConfig()
1169 memcpy(ComponentConfigStructure,streamInfo,sizeof(TI_OMX_STREAM_INFO)); in GetConfig()
1174 if(streamInfo) in GetConfig()
1176 G722ENC_MEMPRINT("%d:::[FREE] %p\n",__LINE__,streamInfo); in GetConfig()
1177 free(streamInfo); in GetConfig()
1178 streamInfo = NULL; in GetConfig()
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/
DOMX_G726Encoder.c889 TI_OMX_STREAM_INFO *streamInfo = NULL; in GetConfig() local
895 OMX_NBMALLOC_STRUCT(streamInfo, TI_OMX_STREAM_INFO); in GetConfig()
896 if(streamInfo == NULL){ in GetConfig()
900 streamInfo->streamId = pComponentPrivate->streamID; in GetConfig()
901 memcpy(ComponentConfigStructure,streamInfo,sizeof(TI_OMX_STREAM_INFO)); in GetConfig()
902 OMX_NBMEMFREE_STRUCT(streamInfo); in GetConfig()
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/
DOMX_WmaDecoder.c1154 TI_OMX_STREAM_INFO *streamInfo; in GetConfig() local
1156 OMX_MALLOC_GENERIC(streamInfo, TI_OMX_STREAM_INFO); in GetConfig()
1172 streamInfo->streamId = pComponentPrivate->streamID; in GetConfig()
1173 memcpy(ComponentConfigStructure,streamInfo,sizeof(TI_OMX_STREAM_INFO)); in GetConfig()
1179 if(streamInfo) in GetConfig()
1181 free(streamInfo); in GetConfig()
1182 streamInfo = NULL; in GetConfig()
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/
DOMX_AacEncoder.c1222 TI_OMX_STREAM_INFO *streamInfo = NULL; in GetConfig() local
1224 OMX_MALLOC_SIZE(streamInfo, sizeof(TI_OMX_STREAM_INFO), void); in GetConfig()
1225 OMXDBG_PRINT(stderr, PRINT, 1, 0, "AACENC: streamInfo %p \n",streamInfo); in GetConfig()
1241 streamInfo->streamId = pComponentPrivate->streamID; in GetConfig()
1242 memcpy(ComponentConfigStructure,streamInfo,sizeof(TI_OMX_STREAM_INFO)); in GetConfig()
1250 OMX_MEMFREE_STRUCT(streamInfo); in GetConfig()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/
DOMX_WbAmrEncoder.c1312 TI_OMX_STREAM_INFO *streamInfo; in GetConfig() local
1316 OMX_MALLOC_GENERIC(streamInfo, TI_OMX_STREAM_INFO); in GetConfig()
1322 OMX_MEMFREE_STRUCT(streamInfo); in GetConfig()
1329 streamInfo->streamId = pComponentPrivate->streamID; in GetConfig()
1330 memcpy(ComponentConfigStructure, streamInfo, sizeof(TI_OMX_STREAM_INFO)); in GetConfig()
1335 OMX_MEMFREE_STRUCT(streamInfo); in GetConfig()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/
DOMX_WbAmrDecoder.c1148 TI_OMX_STREAM_INFO *streamInfo; in GetConfig() local
1150 OMX_MALLOC_GENERIC(streamInfo, TI_OMX_STREAM_INFO); in GetConfig()
1158 streamInfo->streamId = pComponentPrivate->streamID; in GetConfig()
1159 memcpy(ComponentConfigStructure,streamInfo,sizeof(TI_OMX_STREAM_INFO)); in GetConfig()
1166 OMX_MEMFREE_STRUCT(streamInfo); in GetConfig()
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/
DOMX_AmrDecoder.c1177 TI_OMX_STREAM_INFO *streamInfo; in GetConfig() local
1179 OMX_MALLOC_GENERIC(streamInfo, TI_OMX_STREAM_INFO); in GetConfig()
1197 streamInfo->streamId = pComponentPrivate->streamID; in GetConfig()
1198 memcpy(ComponentConfigStructure,streamInfo,sizeof(TI_OMX_STREAM_INFO)); in GetConfig()
1206 OMX_MEMFREE_STRUCT(streamInfo); in GetConfig()
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/
DOMX_Mp3Decoder.c1398 TI_OMX_STREAM_INFO *streamInfo; in GetConfig() local
1409 OMX_MALLOC_GENERIC(streamInfo,TI_OMX_STREAM_INFO); in GetConfig()
1412 streamInfo->streamId = pComponentPrivate->streamID; in GetConfig()
1414 memcpy(ComponentConfigStructure,streamInfo,sizeof(TI_OMX_STREAM_INFO)); in GetConfig()
1418 OMX_MEMFREE_STRUCT(streamInfo); in GetConfig()
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/
DOMX_AacDecoder.c1346 TI_OMX_STREAM_INFO *streamInfo; in GetConfig() local
1359 OMX_MALLOC_GENERIC(streamInfo,TI_OMX_STREAM_INFO); in GetConfig()
1363 streamInfo->streamId = pComponentPrivate->streamID; in GetConfig()
1364 memcpy(ComponentConfigStructure,streamInfo,sizeof(TI_OMX_STREAM_INFO)); in GetConfig()
1390 OMX_MEMFREE_STRUCT(streamInfo); in GetConfig()
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/
DOMX_AmrEncoder.c1308 TI_OMX_STREAM_INFO *streamInfo; in GetConfig() local
1309 OMX_MALLOC_GENERIC(streamInfo, TI_OMX_STREAM_INFO); in GetConfig()
1317 streamInfo->streamId = pComponentPrivate->streamID; in GetConfig()
1318 memcpy(ComponentConfigStructure,streamInfo,sizeof(TI_OMX_STREAM_INFO)); in GetConfig()
1325 OMX_MEMFREE_STRUCT(streamInfo); in GetConfig()