@@ -716,6 +716,13 @@ struct pisp_be_hog_buffer_config {
716
716
/**
717
717
* struct pisp_be_config - RaspberryPi PiSP Back End Processing configuration
718
718
*
719
+ * @input_buffer: Input buffer addresses
720
+ * @tdn_input_buffer: TDN input buffer addresses
721
+ * @stitch_input_buffer: Stitch input buffer addresses
722
+ * @tdn_output_buffer: TDN output buffer addresses
723
+ * @stitch_output_buffer: Stitch output buffer addresses
724
+ * @output_buffer: Output buffers addresses
725
+ * @hog_buffer: HOG buffer addresses
719
726
* @global: Global PiSP configuration
720
727
* @input_format: Input image format
721
728
* @decompress: Decompress configuration
@@ -753,8 +760,30 @@ struct pisp_be_hog_buffer_config {
753
760
* @resample: Resampling configuration
754
761
* @output_format: Output format configuration
755
762
* @hog: HOG configuration
763
+ * @axi: AXI bus configuration
764
+ * @lsc_extra: LSC extra info
765
+ * @cac_extra: CAC extra info
766
+ * @downscale_extra: Downscaler extra info
767
+ * @resample_extra: Resample extra info
768
+ * @crop: Crop configuration
769
+ * @hog_format: HOG format info
770
+ * @dirty_flags_bayer: Bayer enable dirty flags
771
+ * (:c:type:`pisp_be_bayer_enable`)
772
+ * @dirty_flags_rgb: RGB enable dirty flags
773
+ * (:c:type:`pisp_be_rgb_enable`)
774
+ * @dirty_flags_extra: Extra dirty flags
756
775
*/
757
776
struct pisp_be_config {
777
+ /* I/O configuration: */
778
+ struct pisp_be_input_buffer_config input_buffer ;
779
+ struct pisp_be_tdn_input_buffer_config tdn_input_buffer ;
780
+ struct pisp_be_stitch_input_buffer_config stitch_input_buffer ;
781
+ struct pisp_be_tdn_output_buffer_config tdn_output_buffer ;
782
+ struct pisp_be_stitch_output_buffer_config stitch_output_buffer ;
783
+ struct pisp_be_output_buffer_config
784
+ output_buffer [PISP_BACK_END_NUM_OUTPUTS ];
785
+ struct pisp_be_hog_buffer_config hog_buffer ;
786
+ /* Processing configuration: */
758
787
struct pisp_be_global_config global ;
759
788
struct pisp_image_format_config input_format ;
760
789
struct pisp_decompress_config decompress ;
@@ -793,6 +822,18 @@ struct pisp_be_config {
793
822
struct pisp_be_output_format_config
794
823
output_format [PISP_BACK_END_NUM_OUTPUTS ];
795
824
struct pisp_be_hog_config hog ;
825
+ struct pisp_be_axi_config axi ;
826
+ /* Non-register fields: */
827
+ struct pisp_be_lsc_extra lsc_extra ;
828
+ struct pisp_be_cac_extra cac_extra ;
829
+ struct pisp_be_downscale_extra
830
+ downscale_extra [PISP_BACK_END_NUM_OUTPUTS ];
831
+ struct pisp_be_resample_extra resample_extra [PISP_BACK_END_NUM_OUTPUTS ];
832
+ struct pisp_be_crop_config crop ;
833
+ struct pisp_image_format_config hog_format ;
834
+ __u32 dirty_flags_bayer ; /* these use pisp_be_bayer_enable */
835
+ __u32 dirty_flags_rgb ; /* use pisp_be_rgb_enable */
836
+ __u32 dirty_flags_extra ; /* these use pisp_be_dirty_t */
796
837
} __attribute__((packed ));
797
838
798
839
/**
0 commit comments