123456789101112131415161718192021222324252627282930313233 |
- /*
- * display.h
- *
- * Created on: 2021年8月11日
- * Author: pengzc
- */
- #ifndef JNI_DISPLAY_H_
- #define JNI_DISPLAY_H_
- #include <string>
- 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_ */
|