diff --git a/components/maixcam_lib/include/sophgo_middleware.hpp b/components/maixcam_lib/include/sophgo_middleware.hpp index 908f22a9..55d1e23b 100644 --- a/components/maixcam_lib/include/sophgo_middleware.hpp +++ b/components/maixcam_lib/include/sophgo_middleware.hpp @@ -62,6 +62,7 @@ bool mmf_enc_jpg_is_init(void); int mmf_enc_jpg_init(int ch, int w, int h, int format, int quality); int mmf_enc_jpg_deinit(int ch); int mmf_enc_jpg_push(int ch, uint8_t *data, int w, int h, int format); +int mmf_enc_jpg_push_with_quality(int ch, uint8_t *data, int w, int h, int format, int quality); int mmf_enc_jpg_pop(int ch, uint8_t **data, int *size); int mmf_enc_jpg_free(int ch); diff --git a/test/test_examples/test_cases.sh b/test/test_examples/test_cases.sh index a5543a3a..bcbdcdfb 100755 --- a/test/test_examples/test_cases.sh +++ b/test/test_examples/test_cases.sh @@ -66,6 +66,8 @@ test_start video_record_mp4 test_start websocket_client test_start websocket_server test_start wifi_demo +test_start video_demo +test_start audio_demo