libgpac
Documentation of the core library of GPAC
|
Data Structures | |
struct | AMediaCodecBufferInfo |
struct | GF_MCDecSurfaceTexture |
Macros | |
#define | MEDIACODEC_EMUL_API |
#define | AMEDIA_OK 0 |
#define | AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED 1 |
#define | AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED 2 |
#define | AMEDIACODEC_INFO_TRY_AGAIN_LATER 3 |
#define | AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM 1 |
Typedefs | |
typedef void | AMediaCodec |
typedef void | AMediaFormat |
typedef void | ANativeWindow |
typedef int | window |
typedef void * | jobject |
Variables | |
const char * | AMEDIAFORMAT_KEY_AAC_PROFILE = "aac-profile" |
const char * | AMEDIAFORMAT_KEY_BIT_RATE = "bitrate" |
const char * | AMEDIAFORMAT_KEY_CHANNEL_COUNT = "channel-count" |
const char * | AMEDIAFORMAT_KEY_CHANNEL_MASK = "channel-mask" |
const char * | AMEDIAFORMAT_KEY_COLOR_FORMAT = "color-format" |
const char * | AMEDIAFORMAT_KEY_DURATION = "durationUs" |
const char * | AMEDIAFORMAT_KEY_FLAC_COMPRESSION_LEVEL = "flac-compression-level" |
const char * | AMEDIAFORMAT_KEY_FRAME_RATE = "frame-rate" |
const char * | AMEDIAFORMAT_KEY_HEIGHT = "height" |
const char * | AMEDIAFORMAT_KEY_IS_ADTS = "is-adts" |
const char * | AMEDIAFORMAT_KEY_IS_AUTOSELECT = "is-autoselect" |
const char * | AMEDIAFORMAT_KEY_IS_DEFAULT = "is-default" |
const char * | AMEDIAFORMAT_KEY_IS_FORCED_SUBTITLE = "is-forced-subtitle" |
const char * | AMEDIAFORMAT_KEY_I_FRAME_INTERVAL = "i-frame-interval" |
const char * | AMEDIAFORMAT_KEY_LANGUAGE = "language" |
const char * | AMEDIAFORMAT_KEY_MAX_HEIGHT = "max-height" |
const char * | AMEDIAFORMAT_KEY_MAX_INPUT_SIZE = "max-input-size" |
const char * | AMEDIAFORMAT_KEY_MAX_WIDTH = "max-width" |
const char * | AMEDIAFORMAT_KEY_MIME = "mime" |
const char * | AMEDIAFORMAT_KEY_PUSH_BLANK_BUFFERS_ON_STOP = "push-blank-buffers-on-shutdown" |
const char * | AMEDIAFORMAT_KEY_REPEAT_PREVIOUS_FRAME_AFTER = "repeat-previous-frame-after" |
const char * | AMEDIAFORMAT_KEY_SAMPLE_RATE = "sample-rate" |
const char * | AMEDIAFORMAT_KEY_WIDTH = "width" |
const char * | AMEDIAFORMAT_KEY_STRIDE = "stride" |
struct GF_MCDecSurfaceTexture |
Data Fields | ||
---|---|---|
jobject | oSurfaceTex | |
int | texture_id |
#define MEDIACODEC_EMUL_API |
#define AMEDIA_OK 0 |
#define AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED 1 |
#define AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED 2 |
#define AMEDIACODEC_INFO_TRY_AGAIN_LATER 3 |
#define AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM 1 |
typedef void AMediaCodec |
typedef void AMediaFormat |
typedef void ANativeWindow |
typedef int window |
typedef void* jobject |
void AMediaFormat_setString | ( | void * | , |
const char * | , | ||
const char * | |||
) |
void AMediaFormat_setInt32 | ( | void * | , |
const char * | , | ||
int | |||
) |
void AMediaFormat_setBuffer | ( | void * | , |
const char * | , | ||
char * | , | ||
int | |||
) |
AMediaFormat* AMediaFormat_new | ( | ) |
AMediaCodec* AMediaCodec_createCodecByName | ( | char * | ) |
int AMediaCodec_configure | ( | AMediaCodec * | , |
const AMediaFormat * | format, | ||
ANativeWindow * | surface, | ||
void * | crypto, | ||
uint32_t | flags | ||
) |
int AMediaCodec_start | ( | AMediaCodec * | ) |
int AMediaCodec_stop | ( | AMediaCodec * | ) |
ssize_t AMediaCodec_dequeueInputBuffer | ( | AMediaCodec * | , |
int64_t | timeoutUs | ||
) |
int AMediaCodec_flush | ( | AMediaCodec * | ) |
char* AMediaCodec_getInputBuffer | ( | AMediaCodec * | , |
size_t | idx, | ||
size_t * | out_size | ||
) |
int AMediaCodec_queueInputBuffer | ( | AMediaCodec * | , |
size_t | idx, | ||
int | offset, | ||
size_t | size, | ||
uint64_t | time, | ||
uint32_t | flags | ||
) |
int AMediaCodec_dequeueOutputBuffer | ( | AMediaCodec * | , |
AMediaCodecBufferInfo * | info, | ||
int64_t | timeoutUs | ||
) |
char* AMediaCodec_getOutputBuffer | ( | AMediaCodec * | , |
size_t | idx, | ||
size_t * | out_size | ||
) |
int AMediaFormat_getInt32 | ( | AMediaFormat * | , |
const char * | name, | ||
int32_t * | out | ||
) |
int AMediaCodec_releaseOutputBuffer | ( | AMediaCodec * | , |
size_t | idx, | ||
int | render | ||
) |
int AMediaFormat_delete | ( | AMediaFormat * | ) |
AMediaFormat* AMediaCodec_getOutputFormat | ( | AMediaCodec * | ) |
int AMediaCodec_delete | ( | AMediaCodec * | ) |
void ANativeWindow_release | ( | ANativeWindow * | ) |
GF_Err mcdec_create_surface | ( | GLuint | tex_id, |
ANativeWindow ** | window, | ||
Bool * | surface_rendering, | ||
GF_MCDecSurfaceTexture * | surfaceTex | ||
) |
GF_Err mcdec_delete_surface | ( | GF_MCDecSurfaceTexture | surfaceTex | ) |
u32 mcdec_exit_callback | ( | void * | param | ) |
GF_Err mcdec_update_surface | ( | GF_MCDecSurfaceTexture | surfaceTex | ) |
GF_Err mcdec_get_transform_matrix | ( | struct __matrix * | mx, |
GF_MCDecSurfaceTexture | surfaceTex | ||
) |
const char* AMEDIAFORMAT_KEY_AAC_PROFILE = "aac-profile" |
const char* AMEDIAFORMAT_KEY_BIT_RATE = "bitrate" |
const char* AMEDIAFORMAT_KEY_CHANNEL_COUNT = "channel-count" |
const char* AMEDIAFORMAT_KEY_CHANNEL_MASK = "channel-mask" |
const char* AMEDIAFORMAT_KEY_COLOR_FORMAT = "color-format" |
const char* AMEDIAFORMAT_KEY_DURATION = "durationUs" |
const char* AMEDIAFORMAT_KEY_FLAC_COMPRESSION_LEVEL = "flac-compression-level" |
const char* AMEDIAFORMAT_KEY_FRAME_RATE = "frame-rate" |
const char* AMEDIAFORMAT_KEY_HEIGHT = "height" |
const char* AMEDIAFORMAT_KEY_IS_ADTS = "is-adts" |
const char* AMEDIAFORMAT_KEY_IS_AUTOSELECT = "is-autoselect" |
const char* AMEDIAFORMAT_KEY_IS_DEFAULT = "is-default" |
const char* AMEDIAFORMAT_KEY_IS_FORCED_SUBTITLE = "is-forced-subtitle" |
const char* AMEDIAFORMAT_KEY_I_FRAME_INTERVAL = "i-frame-interval" |
const char* AMEDIAFORMAT_KEY_LANGUAGE = "language" |
const char* AMEDIAFORMAT_KEY_MAX_HEIGHT = "max-height" |
const char* AMEDIAFORMAT_KEY_MAX_INPUT_SIZE = "max-input-size" |
const char* AMEDIAFORMAT_KEY_MAX_WIDTH = "max-width" |
const char* AMEDIAFORMAT_KEY_MIME = "mime" |
const char* AMEDIAFORMAT_KEY_PUSH_BLANK_BUFFERS_ON_STOP = "push-blank-buffers-on-shutdown" |
const char* AMEDIAFORMAT_KEY_REPEAT_PREVIOUS_FRAME_AFTER = "repeat-previous-frame-after" |
const char* AMEDIAFORMAT_KEY_SAMPLE_RATE = "sample-rate" |
const char* AMEDIAFORMAT_KEY_WIDTH = "width" |
const char* AMEDIAFORMAT_KEY_STRIDE = "stride" |