mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	libcamera: add a libcamera_set_config() helper function to the wrapper
The libcamera wrapper provides a set of C functions that wraps libcamera's C++ interface. But there isn't a function to call LibCamera::set_config().
This commit is contained in:
		
							parent
							
								
									7c11dcf808
								
							
						
					
					
						commit
						2d69f775de
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -104,6 +104,8 @@ void libcamera_set_streamcfg_height(LibCamera *camera, uint32_t w);
 | 
			
		|||
 | 
			
		||||
void libcamera_set_streamcfgpixel_format(LibCamera *camera, uint32_t fmt);
 | 
			
		||||
 | 
			
		||||
bool libcamera_set_config(LibCamera *camera);
 | 
			
		||||
 | 
			
		||||
void libcamera_get_streamcfg_size(LibCamera *camera, uint32_t idx, uint32_t *width, uint32_t *height);
 | 
			
		||||
 | 
			
		||||
uint32_t libcamera_get_stride(LibCamera *camera);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue