![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Encode a frame
#include <img.h>
int img_encode_frame(
img_codec_t codec,
io_stream_t* output,
const img_encode_callouts_t* callouts,
img_t* img,
uintptr_t* encode_data );
img
This function encodes a frame. You need to call img_encode_begin() first to prepare for the encode, and img_encode_finish() to release any resources allocated for the encode.
Image library
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
img_encode_callouts_t, img_t, img_encode_begin(), img_encode_finish(), io_open()
![]() |
![]() |
![]() |
![]() |