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