Updated: October 28, 2024 |
Cropping area boundaries for video encoding
#include <OMXAL/OpenMAXAL_QNXConfigExt.h>
typedef struct { XAint32 left; XAint32 right; XAint32 top; XAint32 bottom; } XAQ_VideoEncoderCropping;
The XAQ_VideoEncoderCropping structure defines the cropping area to use in video encoding, based on the left, right, top, and bottom boundaries (in pixels).
XAQ_VideoEncoderCropping cropping; ... (*configExtensionItf)->SetConfiguration(configExtensionItf, XAQ_CONFIGEXT_KEY_VENC_CROPPING, sizeof(cropping), &cropping);