hw: add draft rockchip-mpp hw video encoding
This commit is contained in:
10
external/mpp/mpp.h
vendored
Normal file
10
external/mpp/mpp.h
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef MPP_H
|
||||
#define MPP_H
|
||||
|
||||
int video_init(const char *device);
|
||||
int mpp_init_wrapper(int fps, int bitrate);
|
||||
int get_sps(unsigned char *output, int *output_len);
|
||||
int capture_and_encode(unsigned char *output, int *output_len);
|
||||
void cleanup();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user