#define VSP1_ENTITY_MAX_INPUTS 5 /* For the BRU */
/* * struct vsp1_route - Entity routing configuration * @type: Entity type this routing entry is associated with * @index: Entity index this routing entry is associated with * @reg: Output routing configuration register * @inputs: Target node value for each input * @output: Target node value for entity output * * Each $vsp1_route entry describes routing configuration for the entity * specified by the entry's @type and @index. @reg indicates the register that * holds output routing configuration for the entity, and the @inputs array * store the target node value for each input of the entity. The @output field * stores the target node value of the entity output when used as a source for * histogram generation.
*/ struct vsp1_route { enum vsp1_entity_type type; unsignedint index; unsignedint reg; unsignedint inputs[VSP1_ENTITY_MAX_INPUTS]; unsignedint output;
};
/** * struct vsp1_entity_operations - Entity operations * @destroy: Destroy the entity. * @configure_stream: Setup the hardware parameters for the stream which do * not vary between frames (pipeline, formats). Note that * the vsp1_dl_list argument is only valid for display * pipeline and will be NULL for mem-to-mem pipelines. * @configure_frame: Configure the runtime parameters for each frame. * @configure_partition: Configure partition specific parameters. * @max_width: Return the max supported width of data that the entity can * process in a single operation. * @partition: Process the partition construction based on this entity's * configuration.
*/ struct vsp1_entity_operations { void (*destroy)(struct vsp1_entity *entity); void (*configure_stream)(struct vsp1_entity *entity, struct v4l2_subdev_state *state, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb); void (*configure_frame)(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb); void (*configure_partition)(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, conststruct vsp1_partition *partition, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb); unsignedint (*max_width)(struct vsp1_entity *entity, struct v4l2_subdev_state *state, struct vsp1_pipeline *pipe); void (*partition)(struct vsp1_entity *entity, struct v4l2_subdev_state *state, struct vsp1_pipeline *pipe, struct vsp1_partition *partition, unsignedint index, struct v4l2_rect *window);
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.