![]() |
![]() |
![]() |
![]() |
Release encode resources
#include <img.h>
int img_encode_finish( img_codec_t codec,
io_stream_t * output,
uintptr_t * encode_data );
img
This function finalizes the encode process and releases resources allocated during an encoding session. You should call this function after you've finished encoding a series of frames, to release any resources that the encoder may have allocated in association with those frames.
Image library
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
img_encode_begin(), img_encode_frame()
![]() |
![]() |
![]() |
![]() |