added video rendering libraries and renderer code. still not functioning

This commit is contained in:
Diego Waxemberg
2014-01-18 13:58:19 -05:00
parent 87d8d117c1
commit 029d3b0a97
298 changed files with 70432 additions and 56 deletions

View File

@@ -10,4 +10,15 @@
@interface VideoDecoder : NSObject
- (void) decode:(uint8_t*)buffer length:(unsigned int)length;
int nv_avc_init(int width, int height, int perf_lvl, int thread_count);
void nv_avc_destroy(void);
int nv_avc_get_raw_frame(char* buffer, int size);
int nv_avc_get_rgb_frame(char* buffer, int size);
int nv_avc_get_rgb_frame_int(int* buffer, int size);
int nv_avc_redraw(void);
int nv_avc_get_input_padding_size(void);
int nv_avc_decode(unsigned char* indata, int inlen);
@end