/* * display.h * * Created on: 2021年8月11日 * Author: pengzc */ #ifndef JNI_DISPLAY_H_ #define JNI_DISPLAY_H_ #include namespace voip { enum ImageFormat { IMAGE_FORMAT_I420, IMAGE_FORMAT_NV21, IMAGE_FORMAT_INVALID = 999, }; int DisplayUpdate(ImageFormat format, const char* image, int w, int h, int out_w, int out_h); /** * 将视频层置为黑色 */ void DisplayInvalidate(int out_w, int out_h); } #endif /* JNI_DISPLAY_H_ */