encoderFor
Looks up what the device can do with codec.
The first entry for codec wins, since video is ordered. Ranking is the backend's to declare. VideoEncoderCapability.isHardwareAccelerated is reported for a caller that wants it, and is not what selection sorts on.
Return
The capability entry, or null when the device has no encoder for codec.
Parameters
codec
The codec to look up.