Home | History | Annotate | Download | only in default

Lines Matching refs:src

33 void convertToHidl(const Camera3Stream* src, HalStream* dst) {
34 dst->overrideDataSpace = src->data_space;
35 dst->v3_2.id = src->mId;
36 dst->v3_2.overrideFormat = (PixelFormat) src->format;
37 dst->v3_2.maxBuffers = src->max_buffers;
38 if (src->stream_type == CAMERA3_STREAM_OUTPUT) {
40 dst->v3_2.producerUsage = (BufferUsageFlags)src->usage;
41 } else if (src->stream_type == CAMERA3_STREAM_INPUT) {
43 dst->v3_2.consumerUsage = (BufferUsageFlags)src->usage;
48 __FUNCTION__, src->stream_type);
52 void convertToHidl(const camera3_stream_configuration_t& src, HalStreamConfiguration* dst) {
53 dst->streams.resize(src.num_streams);
54 for (uint32_t i = 0; i < src.num_streams; i++) {
55 convertToHidl(static_cast<Camera3Stream*>(src.streams[i]), &dst->streams[i]);