Input Parameters - 2020.2 English

H.264/H.265 Video Codec Unit v1.2 Solutions LogiCORE IP Product Guide (PG252)

Document ID
PG252
Release Date
2020-11-24
Version
2020.2 English
Table 1. Encoder Input Parameters
Parameter Description and Possible Values
YUVFile YUV file name
Width Frame width in pixels
Height Frame height in pixels
Format

I420 (Planar Format): YUV file contains 4:2:0 8‑bit video samples stored in planar format with all picture Luma (Y) samples followed by Chroma samples (all U samples then all V samples) IYUV (Planar Format): Same as I420. YV12: Same as I420 with inverted U and V order NV12 (Semi-planar Format): YUV file contains 4:2:0 8‑bit video samples stored in planar format with all picture Luma (Y) samples followed by interleaved U and V Chroma samples.

NV16 (Semi-planar Format): YUV file contains 4:2:2 8-bit video samples stored in planar format with all

picture Luma (Y) samples followed by interleaved U and V Chroma samples.

I0AL (Planar Format): YUV file contains 4:2:0 10‑bit video samples each stored in a 16‑bit word in planar format with all picture Luma (Y) samples followed by Chroma samples (all U samples then all V samples). P010 (Semi-planar Format): YUV file contains 4:2:0 10‑bit video samples each stored in a 16‑bit word in planar format with all picture Luma (Y) samples followed by interleaved U and V Chroma samples. I422 (Planar Format): YUV file contains 4:2:2 8‑bit video samples stored in planar format with all picture Luma (Y) samples followed by Chroma samples (all U samples then all V samples). YV16 (Planar Format): Same as I422 I2AL (Planar Format): YUV file contains 4:2:2 10‑bit video samples each stored in a 16‑bit word in planar format with all picture Luma (Y) samples followed by Chroma samples (all U samples then all V samples). P210 (Semi-planar Format): YUV file contains 4:2:2 10‑bit video samples each stored in a 16‑bit word in planar format with all picture Luma (Y) samples followed by interleaved U and V Chroma samples.

XV20 (Semi-planar Format): YUV file contains 4:2:2 10-bit video samples where 3 samples are stored per 32-bit word using a semi-planar format with all picture Luma(Y) samples followed by interleaved U and V Chroma samples.

Y800 (Planar Format): Input file contains monochrome 8-bit video samples.

XV15 (Semi-planar Format): YUV file contains 4:2:0 10-bit video samples where 3 samples are stored per 32-bit word using a semi-planar format with all picture Luma(Y) samples followed by interleaved U and V Chroma samples.

Y010 (Planar Format): Input files contains monochrome 10-bit video samples each stored in a 16-bit word.

Note: I420, IYUV, YV12, I0AL, I422, YV16, and I2AL formats are planar and undergo software conversion to become semi-planar.
Framerate Number of frames per second of the YUV input file. When this parameter is not present, its value is set equal to the framerate specified in Rate Control Parameters. When this parameter is greater than the frame rate specified in the rate control section the rate specified in the rate control section, the encoder repeats some frames encoder drops some frames; when this parameter is lower than the frame.
CmdFile Text file specifying commands to perform at given frame numbers. The commands include scene change notification, key frame insertion, etc.
RoiFile Text file specifying a sequence of Region of Interest changes at given frame numbers.
HDRFile Name of the file specifying HDR SEI contents.
QpTablesFolder Specifies the location of the files containing the QP tables to use for each frame.
TwoPassFile File containing the first pass statistics.