Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IVideoFormatCapabilities

interface IVideoFormatCapabilities
Extends com.amazon.apmf.IStandard Interface to get video format capabilities of a video codec.

Methods

getResolution()

Resolution[] getResolution()
Gets the supported resolutions. Gets the supported resolution range for codec or runtime get the resolution associated with buffers, where return array size varies according to usecase:-
  1. for the codec capabilities, array size of two means min resolution at 0 index and max resolution at 1 index.

Returns

Resolution[] resolution supported by codec in range or resolution for buffer.

getColorFormat()

com.amazon.kepler.graphics.BufferPixelFormat[] getColorFormat()
Gets the supported color formats. Gets the supported color formats(for decoders output or encoders input) for codec or runtime gets the color format of buffers, where return array size varies according to usecase:-
  1. for the codec capabilities, array size of one and more than one is supported.

Returns

com.amazon.kepler.graphics.BufferPixelFormat[] list of supported color formats from the available formats. defined in BufferPixelFormat.

getMaxFrameRate()

float getMaxFrameRate(Resolution resolution)
Gets the maximum FrameRate for particular width and height. Platform internally uses some existing measurement points in idle condition to extrapolate framerate for particular width/heigh which should be treated as hint and may not be feasible in all the system conditions.

Parameters

resolution
Resolution — Required for which supported max frame rate is to be queried

Returns

float maximum supported framerate per second.
Last modified on October 29, 2026