Skip to main content

PixelAspectRatio

Valid for: CANoe DE • CANoe4SW DE

Property

PixelAspectRatio

Description

Pixel aspect ratio for a video media type.

Data Type

qword

Remarks

  • The upper 32 bits contain the numerator of the pixel aspect ratio and the lower 32 bits contain the denominator. The numerator is the horizontal component of the aspect ratio; the denominator is the vertical component.
  • To set this property, use the MediaSetPropertyRatio function.
  • To get this property, use the MediaGetPropertyRatio function.
  • The pixel aspect ratio describes the shape of the pixels in the displayed video image. Set this property if the image has non-square pixels. To display correctly on a display device with square pixels, the image must be scaled by the inverse of the image’s pixel aspect ratio.