Re: [Mesa-dev] [PATCH] st/omx: Fix port format enumeration

2017-03-06 Thread Christian König
Am 05.03.2017 um 23:10 schrieb Mark Thompson: From OpenMAX IL section 4.3.5: "The value of nIndex is the range 0 to N-1, where N is the number of formats supported by the port. There is no need for the port to report N, as the caller can determine N by enumerating all the formats supported by t

[Mesa-dev] [PATCH] st/omx: Fix port format enumeration

2017-03-05 Thread Mark Thompson
From OpenMAX IL section 4.3.5: "The value of nIndex is the range 0 to N-1, where N is the number of formats supported by the port. There is no need for the port to report N, as the caller can determine N by enumerating all the formats supported by the port. Each port shall support at least one fo