Skip to content

Commit

Permalink
* support setting jpeg quality
Browse files Browse the repository at this point in the history
  • Loading branch information
lxowalle committed May 10, 2024
1 parent f44f2a0 commit 81e16d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/maixcam_lib/include/sophgo_middleware.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 2 additions & 0 deletions test/test_examples/test_cases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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



Expand Down

0 comments on commit 81e16d7

Please sign in to comment.