• Home
  • Raw
  • Download

Lines Matching refs:streamInfo

335         OutputStreamInfo& streamInfo, bool isStreamInfoValid,  in createSurfaceFromGbp()  argument
476 streamInfo.width = width; in createSurfaceFromGbp()
477 streamInfo.height = height; in createSurfaceFromGbp()
478 streamInfo.format = format; in createSurfaceFromGbp()
479 streamInfo.dataSpace = dataSpace; in createSurfaceFromGbp()
480 streamInfo.consumerUsage = consumerUsage; in createSurfaceFromGbp()
481 streamInfo.sensorPixelModesUsed = overriddenSensorPixelModes; in createSurfaceFromGbp()
482 streamInfo.dynamicRangeProfile = dynamicRangeProfile; in createSurfaceFromGbp()
483 streamInfo.streamUseCase = streamUseCase; in createSurfaceFromGbp()
484 streamInfo.timestampBase = timestampBase; in createSurfaceFromGbp()
485 streamInfo.mirrorMode = mirrorMode; in createSurfaceFromGbp()
488 if (width != streamInfo.width) { in createSurfaceFromGbp()
490 logicalCameraId.string(), width, streamInfo.width); in createSurfaceFromGbp()
494 if (height != streamInfo.height) { in createSurfaceFromGbp()
496 logicalCameraId.string(), height, streamInfo.height); in createSurfaceFromGbp()
500 if (format != streamInfo.format) { in createSurfaceFromGbp()
502 logicalCameraId.string(), format, streamInfo.format); in createSurfaceFromGbp()
507 if (dataSpace != streamInfo.dataSpace) { in createSurfaceFromGbp()
509 logicalCameraId.string(), dataSpace, streamInfo.dataSpace); in createSurfaceFromGbp()
515 if (consumerUsage != streamInfo.consumerUsage) { in createSurfaceFromGbp()
518 logicalCameraId.string(), consumerUsage, streamInfo.consumerUsage); in createSurfaceFromGbp()
526 void mapStreamInfo(const OutputStreamInfo &streamInfo, in mapStreamInfo() argument
534 stream->width = streamInfo.width; in mapStreamInfo()
535 stream->height = streamInfo.height; in mapStreamInfo()
536 stream->format = AidlCamera3Device::mapToAidlPixelFormat(streamInfo.format); in mapStreamInfo()
537 auto u = streamInfo.consumerUsage; in mapStreamInfo()
538 camera3::Camera3OutputStream::applyZSLUsageQuirk(streamInfo.format, &u); in mapStreamInfo()
540 stream->dataSpace = AidlCamera3Device::mapToAidlDataspace(streamInfo.dataSpace); in mapStreamInfo()
546 stream->sensorPixelModesUsed.resize(streamInfo.sensorPixelModesUsed.size()); in mapStreamInfo()
549 for (auto mode : streamInfo.sensorPixelModesUsed) { in mapStreamInfo()
555 stream->dynamicRangeProfile = static_cast<DynamicRangeProfile>(streamInfo.dynamicRangeProfile); in mapStreamInfo()
558 stream->useCase = static_cast<StreamUseCases>(streamInfo.streamUseCase); in mapStreamInfo()
647 OutputStreamInfo streamInfo; in convertToHALStreamCombination() local
663 streamInfo.width = it.getWidth(); in convertToHALStreamCombination()
664 streamInfo.height = it.getHeight(); in convertToHALStreamCombination()
665 streamInfo.format = HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED; in convertToHALStreamCombination()
666 streamInfo.dataSpace = android_dataspace_t::HAL_DATASPACE_UNKNOWN; in convertToHALStreamCombination()
668 streamInfo.consumerUsage = GraphicBuffer::USAGE_HW_TEXTURE; in convertToHALStreamCombination()
670 streamInfo.consumerUsage |= GraphicBuffer::USAGE_HW_COMPOSER; in convertToHALStreamCombination()
672 streamInfo.dynamicRangeProfile = it.getDynamicRangeProfile(); in convertToHALStreamCombination()
674 streamInfo.format, streamInfo.width, in convertToHALStreamCombination()
675 streamInfo.height, metadataChosen, false /*flexibleConsumer*/, in convertToHALStreamCombination()
676 &streamInfo.sensorPixelModesUsed) != OK) { in convertToHALStreamCombination()
682 streamInfo.streamUseCase = streamUseCase; in convertToHALStreamCombination()
683 mapStreamInfo(streamInfo, camera3::CAMERA_STREAM_ROTATION_0, physicalCameraId, groupId, in convertToHALStreamCombination()
694 res = createSurfaceFromGbp(streamInfo, isStreamInfoValid, surface, bufferProducer, in convertToHALStreamCombination()
712 ret = camera3::DepthCompositeStream::getCompositeStreamInfo(streamInfo, in convertToHALStreamCombination()
715 ret = camera3::HeicCompositeStream::getCompositeStreamInfo(streamInfo, in convertToHALStreamCombination()
743 mapStreamInfo(streamInfo, in convertToHALStreamCombination()