width property

int width
final

Display dimensions, after any rotation the track matrix asks for.

Display rather than encoded, because that is what Apple measures. A portrait capture is routinely stored as a landscape frame with a ninety-degree rotation matrix beside it, and reading the encoded size would report 1920x886 for a file every player and the App Store agree is 886x1920. Reporting the encoded size would refuse a valid preview, which is the one direction an offline check must not fail in — it would send somebody re-encoding a file that was already right.

Implementation

final int width;