Home
last modified time | relevance | path

Searched refs:newStream (Results 1 – 5 of 5) sorted by relevance

/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3HWI.cpp667 camera3_stream_t *newStream = streamList->streams[j]; in validateStreamDimensions() local
669 uint32_t rotatedHeight = newStream->height; in validateStreamDimensions()
670 uint32_t rotatedWidth = newStream->width; in validateStreamDimensions()
671 if ((newStream->rotation == CAMERA3_STREAM_ROTATION_90) || in validateStreamDimensions()
672 (newStream->rotation == CAMERA3_STREAM_ROTATION_270)) { in validateStreamDimensions()
673 rotatedHeight = newStream->width; in validateStreamDimensions()
674 rotatedWidth = newStream->height; in validateStreamDimensions()
681 switch (newStream->format) { in validateStreamDimensions()
724 if (newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL in validateStreamDimensions()
725 || newStream->stream_type == CAMERA3_STREAM_INPUT in validateStreamDimensions()
[all …]
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3HWI.cpp818 camera3_stream_t *newStream = streamList->streams[j]; in validateStreamDimensions() local
820 uint32_t rotatedHeight = newStream->height; in validateStreamDimensions()
821 uint32_t rotatedWidth = newStream->width; in validateStreamDimensions()
822 if ((newStream->rotation == CAMERA3_STREAM_ROTATION_90) || in validateStreamDimensions()
823 (newStream->rotation == CAMERA3_STREAM_ROTATION_270)) { in validateStreamDimensions()
824 rotatedHeight = newStream->width; in validateStreamDimensions()
825 rotatedWidth = newStream->height; in validateStreamDimensions()
832 switch (newStream->format) { in validateStreamDimensions()
872 if (newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL in validateStreamDimensions()
873 || newStream->stream_type == CAMERA3_STREAM_INPUT in validateStreamDimensions()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3HWI.cpp818 camera3_stream_t *newStream = streamList->streams[j]; in validateStreamDimensions() local
820 uint32_t rotatedHeight = newStream->height; in validateStreamDimensions()
821 uint32_t rotatedWidth = newStream->width; in validateStreamDimensions()
822 if ((newStream->rotation == CAMERA3_STREAM_ROTATION_90) || in validateStreamDimensions()
823 (newStream->rotation == CAMERA3_STREAM_ROTATION_270)) { in validateStreamDimensions()
824 rotatedHeight = newStream->width; in validateStreamDimensions()
825 rotatedWidth = newStream->height; in validateStreamDimensions()
832 switch (newStream->format) { in validateStreamDimensions()
872 if (newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL in validateStreamDimensions()
873 || newStream->stream_type == CAMERA3_STREAM_INPUT in validateStreamDimensions()
[all …]
/device/generic/goldfish/camera/
DEmulatedFakeCamera3.cpp254 camera3_stream_t *newStream = streamList->streams[i]; in configureStreams() local
256 if (newStream == NULL) { in configureStreams()
263 __FUNCTION__, newStream, i, newStream->stream_type, in configureStreams()
264 newStream->usage, in configureStreams()
265 newStream->format); in configureStreams()
267 if (newStream->stream_type == CAMERA3_STREAM_INPUT || in configureStreams()
268 newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL) { in configureStreams()
274 inputStream = newStream; in configureStreams()
281 if (newStream->format == kAvailableFormats[f]) { in configureStreams()
288 __FUNCTION__, newStream->format); in configureStreams()
[all …]
DEmulatedFakeCamera2.cpp440 Stream newStream; in allocateStream() local
441 newStream.ops = stream_ops; in allocateStream()
442 newStream.width = width; in allocateStream()
443 newStream.height = height; in allocateStream()
444 newStream.format = format; in allocateStream()
446 newStream.stride = width; in allocateStream()
448 mStreams.add(mNextStreamId, newStream); in allocateStream()
570 ReprocessStream newStream; in allocateReprocessStreamFromStream() local
571 newStream.ops = stream_ops; in allocateReprocessStreamFromStream()
572 newStream.width = baseStream.width; in allocateReprocessStreamFromStream()
[all …]