@@ -62,6 +62,15 @@ void BackendDevice::Setup(const pisp_be_tiles_config &config, unsigned int buffe
62
62
nodes_enabled_.emplace (" pispbe-output1" );
63
63
}
64
64
65
+ if (config.config .global .bayer_enables & PISP_BE_BAYER_ENABLE_TDN_INPUT)
66
+ {
67
+ nodes_.at (" pispbe-tdn_input" ).SetFormat (config.config .tdn_input_format , use_opaque_format);
68
+ // Release old/allocate a single buffer.
69
+ nodes_.at (" pispbe-tdn_input" ).ReturnBuffers ();
70
+ nodes_.at (" pispbe-tdn_input" ).RequestBuffers (buffer_count);
71
+ nodes_enabled_.emplace (" pispbe-tdn_input" );
72
+ }
73
+
65
74
if (config.config .global .bayer_enables & PISP_BE_BAYER_ENABLE_TDN_OUTPUT)
66
75
{
67
76
nodes_.at (" pispbe-tdn_output" ).SetFormat (config.config .tdn_output_format , use_opaque_format);
@@ -71,6 +80,15 @@ void BackendDevice::Setup(const pisp_be_tiles_config &config, unsigned int buffe
71
80
nodes_enabled_.emplace (" pispbe-tdn_output" );
72
81
}
73
82
83
+ if (config.config .global .bayer_enables & PISP_BE_BAYER_ENABLE_STITCH_INPUT)
84
+ {
85
+ nodes_.at (" pispbe-stitch_input" ).SetFormat (config.config .stitch_input_format , use_opaque_format);
86
+ // Release old/allocate a single buffer.
87
+ nodes_.at (" pispbe-stitch_input" ).ReturnBuffers ();
88
+ nodes_.at (" pispbe-stitch_input" ).RequestBuffers (buffer_count);
89
+ nodes_enabled_.emplace (" pispbe-stitch_input" );
90
+ }
91
+
74
92
if (config.config .global .bayer_enables & PISP_BE_BAYER_ENABLE_STITCH_OUTPUT)
75
93
{
76
94
nodes_.at (" pispbe-stitch_output" ).SetFormat (config.config .stitch_output_format , use_opaque_format);
0 commit comments