Lines Matching refs:output_inst
789 struct vivid_dev *output_inst = NULL; in vivid_input_is_connected_to() local
792 output_inst = vivid_ctrl_hdmi_to_output_instance[connected_output]; in vivid_input_is_connected_to()
793 if (vivid_ctrl_hdmi_to_output_index[connected_output] != output_inst->output) in vivid_input_is_connected_to()
795 return output_inst; in vivid_input_is_connected_to()
797 output_inst = vivid_ctrl_svid_to_output_instance[connected_output]; in vivid_input_is_connected_to()
798 if (vivid_ctrl_svid_to_output_index[connected_output] != output_inst->output) in vivid_input_is_connected_to()
800 return output_inst; in vivid_input_is_connected_to()
804 return output_inst; in vivid_input_is_connected_to()
809 struct vivid_dev *output_inst = vivid_input_is_connected_to(dev); in vivid_vid_can_loop() local
811 if (!output_inst) in vivid_vid_can_loop()
813 if (!vb2_is_streaming(&output_inst->vb_vid_out_q)) in vivid_vid_can_loop()
815 if (dev->src_rect.width != output_inst->sink_rect.width || in vivid_vid_can_loop()
816 dev->src_rect.height != output_inst->sink_rect.height) in vivid_vid_can_loop()
818 if (dev->fmt_cap->fourcc != output_inst->fmt_out->fourcc) in vivid_vid_can_loop()
820 if (dev->field_cap != output_inst->field_out) in vivid_vid_can_loop()
832 !(output_inst->std_out & V4L2_STD_525_60)) in vivid_vid_can_loop()