Home
last modified time | relevance | path

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

/device/generic/goldfish/camera/
DEmulatedFakeCamera3.cpp259 camera3_stream_t *newStream = streamList->streams[i]; in configureStreams() local
261 if (newStream == NULL) { in configureStreams()
269 __FUNCTION__, newStream, i, newStream->stream_type, in configureStreams()
270 newStream->usage, in configureStreams()
271 newStream->format, in configureStreams()
272 newStream->width, in configureStreams()
273 newStream->height); in configureStreams()
275 if (newStream->stream_type == CAMERA3_STREAM_INPUT || in configureStreams()
276 newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL) { in configureStreams()
282 inputStream = newStream; in configureStreams()
[all …]
DEmulatedQemuCamera3.cpp336 camera3_stream_t *newStream = streamList->streams[i]; in configureStreams() local
338 if (newStream == nullptr) { in configureStreams()
344 __FUNCTION__, newStream, i, newStream->stream_type, in configureStreams()
345 newStream->usage, newStream->format); in configureStreams()
347 if (newStream->stream_type == CAMERA3_STREAM_INPUT || in configureStreams()
348 newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL) { in configureStreams()
353 inputStream = newStream; in configureStreams()
360 if (newStream->format == kAvailableFormats[f]) { in configureStreams()
367 __FUNCTION__, newStream->format); in configureStreams()
386 camera3_stream_t *newStream = streamList->streams[i]; in configureStreams() local
[all …]
DEmulatedFakeCamera2.cpp455 Stream newStream; in allocateStream() local
456 newStream.ops = stream_ops; in allocateStream()
457 newStream.width = width; in allocateStream()
458 newStream.height = height; in allocateStream()
459 newStream.format = format; in allocateStream()
461 newStream.stride = width; in allocateStream()
463 mStreams.add(mNextStreamId, newStream); in allocateStream()
580 ReprocessStream newStream; in allocateReprocessStreamFromStream() local
581 newStream.ops = stream_ops; in allocateReprocessStreamFromStream()
582 newStream.width = baseStream.width; in allocateReprocessStreamFromStream()
[all …]
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3HWI.cpp989 camera3_stream_t *newStream = streamList->streams[j]; in validateStreamDimensions() local
991 uint32_t rotatedHeight = newStream->height; in validateStreamDimensions()
992 uint32_t rotatedWidth = newStream->width; in validateStreamDimensions()
993 if ((newStream->rotation == CAMERA3_STREAM_ROTATION_90) || in validateStreamDimensions()
994 (newStream->rotation == CAMERA3_STREAM_ROTATION_270)) { in validateStreamDimensions()
995 rotatedHeight = newStream->width; in validateStreamDimensions()
996 rotatedWidth = newStream->height; in validateStreamDimensions()
1003 switch (newStream->format) { in validateStreamDimensions()
1032 if (newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL in validateStreamDimensions()
1033 || newStream->stream_type == CAMERA3_STREAM_INPUT in validateStreamDimensions()
[all …]
/device/google/cuttlefish_common/guest/hals/camera/
DEmulatedFakeCamera3.cpp262 camera3_stream_t *newStream = streamList->streams[i]; in configureStreams() local
264 if (newStream == NULL) { in configureStreams()
270 __FUNCTION__, newStream, i, newStream->stream_type, newStream->usage, in configureStreams()
271 newStream->format); in configureStreams()
273 if (newStream->stream_type == CAMERA3_STREAM_INPUT || in configureStreams()
274 newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL) { in configureStreams()
279 inputStream = newStream; in configureStreams()
285 if (newStream->format == kAvailableFormats[f]) { in configureStreams()
292 newStream->format); in configureStreams()
311 camera3_stream_t *newStream = streamList->streams[i]; in configureStreams() local
[all …]
DEmulatedFakeCamera2.cpp468 Stream newStream; in allocateStream() local
469 newStream.ops = stream_ops; in allocateStream()
470 newStream.width = width; in allocateStream()
471 newStream.height = height; in allocateStream()
472 newStream.format = format; in allocateStream()
474 newStream.stride = width; in allocateStream()
476 mStreams.add(mNextStreamId, newStream); in allocateStream()
592 ReprocessStream newStream; in allocateReprocessStreamFromStream() local
593 newStream.ops = stream_ops; in allocateReprocessStreamFromStream()
594 newStream.width = baseStream.width; in allocateReprocessStreamFromStream()
[all …]