== RED one (redcode) ==
This adds redcode (the file format of RED one, R3D) support to blender. Seems to work fine with the footage I found on the web, but keep in mind, that because of the unoptimized nature of libopenjpeg, frame decoding isn't that fast. It is also a rather challenging task, to make 4k-float-footage realtime :)
This commit is contained in:
		
							
								
								
									
										28
									
								
								extern/libredcode/SConscript
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								extern/libredcode/SConscript
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,28 @@
 | 
			
		||||
#!/usr/bin/python
 | 
			
		||||
 | 
			
		||||
import sys
 | 
			
		||||
import os
 | 
			
		||||
import shutil
 | 
			
		||||
 | 
			
		||||
Import('env')
 | 
			
		||||
 | 
			
		||||
sources = env.Glob('*.c')
 | 
			
		||||
incs = '. ../libopenjpeg'
 | 
			
		||||
 | 
			
		||||
root = "extern/libredcode"
 | 
			
		||||
 | 
			
		||||
if not os.path.isdir(root + "/include"):
 | 
			
		||||
    os.mkdir(root + "/include");
 | 
			
		||||
if not os.path.isdir(root + "/include/redcode"):
 | 
			
		||||
    os.mkdir(root + "/include/redcode");
 | 
			
		||||
 | 
			
		||||
for h in env.Glob('*.h'):
 | 
			
		||||
    shutil.copyfile(root + "/" + h,
 | 
			
		||||
                    root + "/include/redcode/" + h)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
env.BlenderLib ( libname='extern_redcode', 
 | 
			
		||||
                 sources=sources, includes=Split(incs),
 | 
			
		||||
                 defines=[],
 | 
			
		||||
                 libtype=['core','intern','player'],
 | 
			
		||||
                 priority=[5, 5, 200], compileflags = [])
 | 
			
		||||
		Reference in New Issue
	
	Block a user