You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	Renaming the decoder to speedhqdec.c makes sense since we have an encoder in speedhqenc.c. Given that ff_rl_speedhq is also used by the encoder, it is kept in speedhq.c and a proper header for it is created to replace the ad-hoc declaration in speedhqenc.c. This also allows to remove the check for CONFIG_SPEEDHQ_DECODER, as it is always true when speedhqdec.c is compiled. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
		
			
				
	
	
		
			30 lines
		
	
	
		
			1002 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			1002 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * NewTek SpeedHQ common header
 | |
|  *
 | |
|  * This file is part of FFmpeg.
 | |
|  *
 | |
|  * FFmpeg is free software; you can redistribute it and/or
 | |
|  * modify it under the terms of the GNU Lesser General Public
 | |
|  * License as published by the Free Software Foundation; either
 | |
|  * version 2.1 of the License, or (at your option) any later version.
 | |
|  *
 | |
|  * FFmpeg is distributed in the hope that it will be useful,
 | |
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 | |
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 | |
|  * Lesser General Public License for more details.
 | |
|  *
 | |
|  * You should have received a copy of the GNU Lesser General Public
 | |
|  * License along with FFmpeg; if not, write to the Free Software
 | |
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 | |
|  */
 | |
| 
 | |
| #ifndef AVCODEC_SPEEDHQ_H
 | |
| #define AVCODEC_SPEEDHQ_H
 | |
| 
 | |
| #include "rl.h"
 | |
| #include "libavutil/attributes_internal.h"
 | |
| 
 | |
| extern RLTable attribute_visibility_hidden ff_rl_speedhq;
 | |
| 
 | |
| #endif /* AVCODEC_SPEEDHQ_H */
 |