rename project in pubspect. testing streamingview.
This commit is contained in:
14
src/frame.h
14
src/frame.h
@ -3,6 +3,10 @@
|
||||
#include <stdint.h>
|
||||
#include "./base.hpp"
|
||||
|
||||
#ifndef __FRAME_H
|
||||
#define __FRAME_H
|
||||
|
||||
|
||||
typedef struct _Frame
|
||||
{
|
||||
FILE *stream;
|
||||
@ -13,8 +17,12 @@ typedef struct _Frame
|
||||
|
||||
FILE *make_buffer(const uint8_t *, const size_t);
|
||||
|
||||
_FFI_PLUGIN
|
||||
const Frame *new_frame_from_handle(FILE *, int, int, int);
|
||||
int read_buffer(FILE *, uint8_t **, size_t *);
|
||||
|
||||
_FFI_PLUGIN
|
||||
const Frame *new_frame_from_data(const uint8_t *, const size_t, int, int, int);
|
||||
Frame *new_frame_from_handle(FILE *, int, int, int);
|
||||
|
||||
_FFI_PLUGIN
|
||||
Frame *new_frame_from_data(const uint8_t *, const size_t, int, int, int);
|
||||
|
||||
#endif // __FRAME_H
|
Reference in New Issue
Block a user