Skip to content

Most visited

Recently visited

navigation

NdkMediaError.h File Reference

NdkMediaError.h File Reference

Enumerations

enum  media_status_t {
  AMEDIA_OK = 0, AMEDIACODEC_ERROR_INSUFFICIENT_RESOURCE = 1100, AMEDIACODEC_ERROR_RECLAIMED = 1101, AMEDIA_ERROR_BASE = -10000,
  AMEDIA_ERROR_UNKNOWN = AMEDIA_ERROR_BASE, AMEDIA_ERROR_MALFORMED = AMEDIA_ERROR_BASE - 1, AMEDIA_ERROR_UNSUPPORTED = AMEDIA_ERROR_BASE - 2, AMEDIA_ERROR_INVALID_OBJECT = AMEDIA_ERROR_BASE - 3,
  AMEDIA_ERROR_INVALID_PARAMETER = AMEDIA_ERROR_BASE - 4, AMEDIA_ERROR_INVALID_OPERATION = AMEDIA_ERROR_BASE - 5, AMEDIA_DRM_ERROR_BASE = -20000, AMEDIA_DRM_NOT_PROVISIONED = AMEDIA_DRM_ERROR_BASE - 1,
  AMEDIA_DRM_RESOURCE_BUSY = AMEDIA_DRM_ERROR_BASE - 2, AMEDIA_DRM_DEVICE_REVOKED = AMEDIA_DRM_ERROR_BASE - 3, AMEDIA_DRM_SHORT_BUFFER = AMEDIA_DRM_ERROR_BASE - 4, AMEDIA_DRM_SESSION_NOT_OPENED = AMEDIA_DRM_ERROR_BASE - 5,
  AMEDIA_DRM_TAMPER_DETECTED = AMEDIA_DRM_ERROR_BASE - 6, AMEDIA_DRM_VERIFY_FAILED = AMEDIA_DRM_ERROR_BASE - 7, AMEDIA_DRM_NEED_KEY = AMEDIA_DRM_ERROR_BASE - 8, AMEDIA_DRM_LICENSE_EXPIRED = AMEDIA_DRM_ERROR_BASE - 9,
  AMEDIA_IMGREADER_ERROR_BASE = -30000, AMEDIA_IMGREADER_NO_BUFFER_AVAILABLE = AMEDIA_IMGREADER_ERROR_BASE - 1, AMEDIA_IMGREADER_MAX_IMAGES_ACQUIRED = AMEDIA_IMGREADER_ERROR_BASE - 2, AMEDIA_IMGREADER_CANNOT_LOCK_IMAGE = AMEDIA_IMGREADER_ERROR_BASE - 3,
  AMEDIA_IMGREADER_CANNOT_UNLOCK_IMAGE = AMEDIA_IMGREADER_ERROR_BASE - 4, AMEDIA_IMGREADER_IMAGE_NOT_LOCKED = AMEDIA_IMGREADER_ERROR_BASE - 5
}
 

Enumeration Type Documentation

◆ media_status_t

Enumerator
AMEDIA_OK 
AMEDIACODEC_ERROR_INSUFFICIENT_RESOURCE 

This indicates required resource was not able to be allocated.

AMEDIACODEC_ERROR_RECLAIMED 

This indicates the resource manager reclaimed the media resource used by the codec. With this error, the codec must be released, as it has moved to terminal state.

AMEDIA_ERROR_BASE 
AMEDIA_ERROR_UNKNOWN 
AMEDIA_ERROR_MALFORMED 
AMEDIA_ERROR_UNSUPPORTED 
AMEDIA_ERROR_INVALID_OBJECT 
AMEDIA_ERROR_INVALID_PARAMETER 
AMEDIA_ERROR_INVALID_OPERATION 
AMEDIA_DRM_ERROR_BASE 
AMEDIA_DRM_NOT_PROVISIONED 
AMEDIA_DRM_RESOURCE_BUSY 
AMEDIA_DRM_DEVICE_REVOKED 
AMEDIA_DRM_SHORT_BUFFER 
AMEDIA_DRM_SESSION_NOT_OPENED 
AMEDIA_DRM_TAMPER_DETECTED 
AMEDIA_DRM_VERIFY_FAILED 
AMEDIA_DRM_NEED_KEY 
AMEDIA_DRM_LICENSE_EXPIRED 
AMEDIA_IMGREADER_ERROR_BASE 
AMEDIA_IMGREADER_NO_BUFFER_AVAILABLE 
AMEDIA_IMGREADER_MAX_IMAGES_ACQUIRED 
AMEDIA_IMGREADER_CANNOT_LOCK_IMAGE 
AMEDIA_IMGREADER_CANNOT_UNLOCK_IMAGE 
AMEDIA_IMGREADER_IMAGE_NOT_LOCKED 
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (April 2018 — Developer Survey)