mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	This method is necessary for the creation of a handle, so implement it for both the encoder and decoder.
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			665 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			665 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef SPA_FFMPEG_H
 | 
						|
#define SPA_FFMPEG_H
 | 
						|
 | 
						|
#include <stdint.h>
 | 
						|
#include <stddef.h>
 | 
						|
 | 
						|
struct spa_dict;
 | 
						|
struct spa_handle;
 | 
						|
struct spa_support;
 | 
						|
struct spa_handle_factory;
 | 
						|
 | 
						|
int spa_ffmpeg_dec_init(struct spa_handle *handle, const struct spa_dict *info,
 | 
						|
			const struct spa_support *support, uint32_t n_support);
 | 
						|
int spa_ffmpeg_enc_init(struct spa_handle *handle, const struct spa_dict *info,
 | 
						|
			const struct spa_support *support, uint32_t n_support);
 | 
						|
 | 
						|
size_t spa_ffmpeg_dec_get_size(const struct spa_handle_factory *factory, const struct spa_dict *params);
 | 
						|
size_t spa_ffmpeg_enc_get_size(const struct spa_handle_factory *factory, const struct spa_dict *params);
 | 
						|
 | 
						|
#endif
 |