mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
init
This commit is contained in:
15
libs/hwcodec/cpp/mux/mux_ffi.h
Normal file
15
libs/hwcodec/cpp/mux/mux_ffi.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef MUX_FFI_H
|
||||
#define MUX_FFI_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
void *hwcodec_new_muxer(const char *filename, int width, int height, int is265,
|
||||
int framerate);
|
||||
|
||||
int hwcodec_write_video_frame(void *muxer, const uint8_t *data, int len,
|
||||
int64_t pts_ms, int key);
|
||||
int hwcodec_write_tail(void *muxer);
|
||||
|
||||
void hwcodec_free_muxer(void *muxer);
|
||||
|
||||
#endif // FFI_H
|
||||
Reference in New Issue
Block a user