Terminology

Table 1 Terminology

Term

Description

widthStride

Stride of each line of pixels, also the width result from alignment of the input and output images. widthStride of an RGB image is calculated differently from that of a YUV image.

heightStride

Number of pixel lines in the buffer, indicating the height of the input and output images after alignment.

Top/Bottom/Left/Right offset

Used to configure the top offset, bottom offset, left offset, and right offset for the following purposes: (1) Specify the position of the crop region of interest (ROI) or paste ROI. (2) Specify the width and height of the crop ROI or paste ROI by using the following formulas: Right offset – Left offset + 1 = Width; Bottom offset – Top offset + 1 = Height.

Crop ROI

ROI cropped from an input image. The crop ROI must not be larger than the input image.

Paste ROI

ROI selected in the canvas to paste.

Non-8K

Input image resolution ranging from 10 × 6 to 4096 × 4096.

In the non-8K scenario, the width stride and height stride of the input image meet the following requirements: (Width stride/Coefficient) ∈ [32, 4096], and Height stride ∈ [6, 4096].

The coefficient is related to the input image format.

  • YUV400, YUV420SP, YUV422SP, YUV444SP, and YUV440SP: The coefficient is 1.
  • YUV422 Packed: The coefficient is 2.
  • YUV444 Packed and RGB888: The coefficient is 3.
  • ARGB8888: The coefficient is 4.

8K

Input image resolution ranging from 4096 to 8192 (excluding 4096).