Initial commit: TXW82x FPV v2.7.0.7-42229 SDK + project sources
This commit is contained in:
28
sdk/app/ffavimuxer/avimuxer.h
Normal file
28
sdk/app/ffavimuxer/avimuxer.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef __AVIMUXER_H__
|
||||
#define __AVIMUXER_H__
|
||||
#include "basic_include.h"
|
||||
#include <stdio.h>
|
||||
|
||||
enum
|
||||
{
|
||||
AVIMUXER_OK,
|
||||
AVIMUXER_FULL,
|
||||
AVIMUXER_ERR,
|
||||
};
|
||||
|
||||
void* avimuxer_init (char *file, int duration, int w, int h, int frate, int gop, int h265, int sampnum);
|
||||
void avimuxer_exit (void *ctx);
|
||||
unsigned int avimuxer_video(void *ctx, unsigned char *buf, int len, int key, unsigned pts);
|
||||
void avimuxer_audio(void *ctx, unsigned char *buf, int len, int key, unsigned pts);
|
||||
|
||||
void *avimuxer_init2(void *fp, uint32_t max_size, int w, int h, int frate, int gop, int h265, int sampnum);
|
||||
uint32_t avimuxer_video2(void *ctx, unsigned char *buf, int len, int key, unsigned pts,uint8_t insert);
|
||||
void avimuxer_exit2(void *ctx);
|
||||
uint32_t avimuxer_audio2(void *ctx, unsigned char *buf, int len, int key, unsigned pts);
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user