void device_config::get_all_possible_requestes(std::vector<stream_request>(&stream_requests)[RS_STREAM_NATIVE_COUNT]) const { for (size_t i = 0; i < info.subdevice_modes.size(); i++) { stream_request request; auto mode = info.subdevice_modes[i]; for (auto pad_crop : mode.pad_crop_options) { for (auto & unpacker : mode.pf.unpackers) { auto selection = subdevice_mode_selection(mode, pad_crop, int(&unpacker - mode.pf.unpackers.data())); request.enabled = true; request.fps = selection.get_framerate(); request.height = selection.get_height(); request.width = selection.get_width(); auto outputs = selection.get_outputs(); for (auto output : outputs) { request.format = output.second; for (auto output_format = static_cast<int>(RS_OUTPUT_BUFFER_FORMAT_CONTINUOUS); output_format < static_cast<int>(RS_OUTPUT_BUFFER_FORMAT_COUNT); output_format++) { request.output_format = static_cast<rs_output_buffer_format>(output_format); stream_requests[output.first].push_back(request); } } } } } }
ContainersTemp ScoreState::get_output_containers() const { IMPKERNEL_DEPRECATED_METHOD_DEF(2.1, "Use get_outputs() instead"); return IMP::kernel::get_output_containers(get_outputs()); }
ModelObjectsTemps ModelObject::do_get_interactions() const { return ModelObjectsTemps(1, get_inputs() + get_outputs()); }
ParticlesTemp ParticleOutputs::get_output_particles(Particle *p) const { IMPKERNEL_DEPRECATED_METHOD_DEF(2.1, "Call get_outputs instead."); return IMP::kernel::get_output_particles( get_outputs(p->get_model(), ParticleIndexes(1, p->get_index()))); }