mirror of
				https://github.com/nyanmisaka/ffmpeg-rockchip.git
				synced 2025-11-01 04:53:04 +08:00 
			
		
		
		
	 19d3d0c057
			
		
	
	19d3d0c057
	
	
	
		
			
			We have a pattern of wrapping CUDA calls to print errors and normalise return values that is used in a couple of places. To avoid duplication and increase consistency, let's put the wrapper implementation in a shared place and use it everywhere. Affects: * avcodec/cuviddec * avcodec/nvdec * avcodec/nvenc * avfilter/vf_scale_cuda * avfilter/vf_scale_npp * avfilter/vf_thumbnail_cuda * avfilter/vf_transpose_npp * avfilter/vf_yadif_cuda
		
			
				
	
	
		
			2 lines
		
	
	
		
			34 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			2 lines
		
	
	
		
			34 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #include "libavutil/cuda_check.c"
 |