@@ -62,6 +62,15 @@ void BackendDevice::Setup(const pisp_be_tiles_config &config, unsigned int buffe
6262 nodes_enabled_.emplace (" pispbe-output1" );
6363 }
6464
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+
6574 if (config.config .global .bayer_enables & PISP_BE_BAYER_ENABLE_TDN_OUTPUT)
6675 {
6776 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
7180 nodes_enabled_.emplace (" pispbe-tdn_output" );
7281 }
7382
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+
7492 if (config.config .global .bayer_enables & PISP_BE_BAYER_ENABLE_STITCH_OUTPUT)
7593 {
7694 nodes_.at (" pispbe-stitch_output" ).SetFormat (config.config .stitch_output_format , use_opaque_format);
0 commit comments