Data Fields | |
rte_bool | spatial_order |
rte_bool | temporal_order |
double | frame_rate |
double | sample_aspect |
unsigned int | width |
unsigned int | height |
unsigned int | offset |
unsigned int | u_offset |
unsigned int | v_offset |
unsigned int | stride |
unsigned int | uv_stride |
unsigned int | frame_size |
|
Applies only when framefmt is RTE_FRAMEFMT_INTERLACED or RTE_FRAMEFMT_ALTERNATING. When 0, the interlaced frame or the stream starts with a top field, when 1 with a bottom field. |
|
Applies only when framefmt is RTE_FRAMEFMT_INTERLACED or RTE_FRAMEFMT_ALTERNATING. When 0, the first field of an interlaced frame or the stream is the older field, when 1 the second field is older. |
|
|
|
Sampling aspect ratio, y / x. Examples:
|
|
The image size in pixels. The encoded image size can be different due to scaling options. When the format is RTE_PIXFMT_YUV420 this refers to the luminance plane, and both |
|
The image size in pixels. The encoded image size can be different due to scaling options. When the format is RTE_PIXFMT_YUV420 this refers to the luminance plane, and both |
|
Distance in bytes from the start of the image to the top- and leftmost pixel to be encoded: x0 * bytes per pixel + y1 * |
|
|
|
|
|
The distance from one pixel to the adjacent pixel in the next line, in bytes. If this is an interlaced image stride points to the opposite field. When the format is RTE_PIXFMT_YUV420 this refers to the luminance plane only. Aligning lines at addresses which are a multiple of a power of two may speed up encoding. Usually |
|
Watch your color subsampling in interlaced pictures: U/V line 0, 1 belong to frame line 0+1, 2+3 when |
|
Indicates the size of the frame buffer relative to its start which can be safely accessed by the encoder. The image as described by |