Lines Matching refs:s
35 Stream::Stream(int id, camera3_stream_t *s) in Stream() argument
38 mStream(s), in Stream()
39 mType(s->stream_type), in Stream()
40 mWidth(s->width), in Stream()
41 mHeight(s->height), in Stream()
42 mFormat(s->format), in Stream()
152 bool Stream::isValidReuseStream(int id, camera3_stream_t *s) in isValidReuseStream() argument
159 if (s != mStream) { in isValidReuseStream()
161 __func__, mId, s, mStream); in isValidReuseStream()
164 if (s->stream_type != mType) { in isValidReuseStream()
166 "expect %s(%d)", __func__, mId, typeToString(s->stream_type), in isValidReuseStream()
167 s->stream_type, typeToString(mType), mType); in isValidReuseStream()
170 if (s->format != mFormat) { in isValidReuseStream()
172 "expect %s(%d)", __func__, mId, formatToString(s->format), in isValidReuseStream()
173 s->format, formatToString(mFormat), mFormat); in isValidReuseStream()
176 if (s->width != mWidth) { in isValidReuseStream()
178 __func__, mId, s->width, mWidth); in isValidReuseStream()
181 if (s->height != mHeight) { in isValidReuseStream()
183 __func__, mId, s->height, mHeight); in isValidReuseStream()