/hardware/qcom/camera/QCamera2/HAL/ |
D | QCameraChannel.cpp | 966 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 …]
|
D | QCameraStream.cpp | 777 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 …]
|
D | QCameraAllocator.h | 54 virtual QCameraHeapMemory *allocateMiscBuf(cam_stream_info_t *streamInfo) = 0; 55 virtual QCameraMemory *allocateStreamUserBuf(cam_stream_info_t *streamInfo) = 0;
|
D | QCamera2HWI.cpp | 2884 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 …]
|
D | QCamera2HWICallbacks.cpp | 973 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 …]
|
D | QCameraStream.h | 247 int32_t calcOffset(cam_stream_info_t *streamInfo);
|
D | QCamera2HWI.h | 274 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/ |
D | OMX_G722Encoder.c | 1154 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/ |
D | OMX_G726Encoder.c | 889 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/ |
D | OMX_WmaDecoder.c | 1154 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/ |
D | OMX_AacEncoder.c | 1222 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/ |
D | OMX_WbAmrEncoder.c | 1312 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/ |
D | OMX_WbAmrDecoder.c | 1148 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/ |
D | OMX_AmrDecoder.c | 1177 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/ |
D | OMX_Mp3Decoder.c | 1398 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/ |
D | OMX_AacDecoder.c | 1346 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/ |
D | OMX_AmrEncoder.c | 1308 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()
|