Home
last modified time | relevance | path

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

/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3HWI.cpp600 camera3_stream_t *newStream = streamList->streams[j]; in validateStreamDimensions() local
606 switch (newStream->format) { in validateStreamDimensions()
613 == (int32_t) newStream->width in validateStreamDimensions()
615 == (int32_t) newStream->height) { in validateStreamDimensions()
636 if ((int32_t)(newStream->width) == available_jpeg_sizes[i*2] && in validateStreamDimensions()
637 (int32_t)(newStream->height) == available_jpeg_sizes[i*2+1]) { in validateStreamDimensions()
649 if (newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL) { in validateStreamDimensions()
650 if ((int32_t)(newStream->width) == in validateStreamDimensions()
652 && (int32_t)(newStream->height) == in validateStreamDimensions()
667 if ((int32_t)(newStream->width) == in validateStreamDimensions()
[all …]
/device/generic/goldfish/camera/
DEmulatedFakeCamera3.cpp286 camera3_stream_t *newStream = streamList->streams[i]; in configureStreams() local
288 if (newStream == NULL) { in configureStreams()
295 __FUNCTION__, newStream, i, newStream->stream_type, in configureStreams()
296 newStream->usage, in configureStreams()
297 newStream->format); in configureStreams()
299 if (newStream->stream_type == CAMERA3_STREAM_INPUT || in configureStreams()
300 newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL) { in configureStreams()
306 inputStream = newStream; in configureStreams()
313 if (newStream->format == kAvailableFormats[f]) { in configureStreams()
320 __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 …]
/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3HWI.cpp512 camera3_stream_t *newStream = streamList->streams[j]; in validateStreamDimensions() local
518 switch (newStream->format) { in validateStreamDimensions()
525 == (int32_t) newStream->width in validateStreamDimensions()
527 == (int32_t) newStream->height) { in validateStreamDimensions()
535 if ((int32_t)(newStream->width) == in validateStreamDimensions()
538 && (int32_t)(newStream->height) == in validateStreamDimensions()
551 if (newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL) { in validateStreamDimensions()
552 if ((int32_t)(newStream->width) == in validateStreamDimensions()
554 && (int32_t)(newStream->height) == in validateStreamDimensions()
569 if ((int32_t)(newStream->width) == in validateStreamDimensions()
[all …]
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3HWI.cpp447 camera3_stream_t *newStream = streamList->streams[i]; in configureStreams() local
449 __func__, newStream->stream_type, newStream->format, in configureStreams()
450 newStream->width, newStream->height); in configureStreams()
455 if ((*it)->stream == newStream) { in configureStreams()
470 stream_info->stream = newStream; in configureStreams()
475 if (newStream->stream_type == CAMERA3_STREAM_INPUT in configureStreams()
476 || newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL ) { in configureStreams()
482 inputStream = newStream; in configureStreams()
484 if (newStream->format == HAL_PIXEL_FORMAT_BLOB) { in configureStreams()
485 jpegStream = newStream; in configureStreams()
[all …]