image_ffmpeg_transcode_image function
- @Native<Int32 Function(Pointer<
Uint8> , Uint32, Pointer<image_ffmpeg_transcode_options> , Pointer<image_ffmpeg_encoded_image> )>(ffi.Pointer<ffi.Uint8>, ffi.Uint32, ffi.Pointer<image_ffmpeg_transcode_options>, ffi.Pointer<image_ffmpeg_encoded_image>)>()
- Pointer<
Uint8> input, - int input_length,
- Pointer<
image_ffmpeg_transcode_options> options, - Pointer<
image_ffmpeg_encoded_image> output,
Fused first-frame decode, optional EXIF orientation, solid fill, crop, fit-within resize, and JPEG/PNG encode. Fill and crop coordinates are in oriented coordinates when apply_orientation is nonzero. Zero fill or crop width and height disable that operation.
Implementation
@ffi.Native<
ffi.Int32 Function(
ffi.Pointer<ffi.Uint8>,
ffi.Uint32,
ffi.Pointer<image_ffmpeg_transcode_options>,
ffi.Pointer<image_ffmpeg_encoded_image>,
)
>()
external int image_ffmpeg_transcode_image(
ffi.Pointer<ffi.Uint8> input,
int input_length,
ffi.Pointer<image_ffmpeg_transcode_options> options,
ffi.Pointer<image_ffmpeg_encoded_image> output,
);