FFmpeg
Data Fields
FFAMediaCodecNdk Struct Reference

Data Fields

FFAMediaCodec api
 
void * libmedia
 
AMediaCodec * impl
 
ANativeWindow * window
 
AMediaCodec *(* createCodecByName )(const char *name)
 
AMediaCodec *(* createDecoderByType )(const char *mime_type)
 
AMediaCodec *(* createEncoderByType )(const char *mime_type)
 
media_status_t(* delete )(AMediaCodec *)
 
media_status_t(* configure )(AMediaCodec *, const AMediaFormat *format, ANativeWindow *surface, AMediaCrypto *crypto, uint32_t flags)
 
media_status_t(* start )(AMediaCodec *)
 
media_status_t(* stop )(AMediaCodec *)
 
media_status_t(* flush )(AMediaCodec *)
 
uint8_t *(* getInputBuffer )(AMediaCodec *, size_t idx, size_t *out_size)
 
uint8_t *(* getOutputBuffer )(AMediaCodec *, size_t idx, size_t *out_size)
 
ssize_t(* dequeueInputBuffer )(AMediaCodec *, int64_t timeoutUs)
 
media_status_t(* queueInputBuffer )(AMediaCodec *, size_t idx, long offset, size_t size, uint64_t time, uint32_t flags)
 
ssize_t(* dequeueOutputBuffer )(AMediaCodec *, AMediaCodecBufferInfo *info, int64_t timeoutUs)
 
AMediaFormat *(* getOutputFormat )(AMediaCodec *)
 
media_status_t(* releaseOutputBuffer )(AMediaCodec *, size_t idx, bool render)
 
media_status_t(* releaseOutputBufferAtTime )(AMediaCodec *mData, size_t idx, int64_t timestampNs)
 
media_status_t(* getName )(AMediaCodec *, char **out_name)
 
void(* releaseName )(AMediaCodec *, char *name)
 
media_status_t(* setInputSurface )(AMediaCodec *, ANativeWindow *)
 
media_status_t(* signalEndOfInputStream )(AMediaCodec *)
 

Detailed Description

Definition at line 1943 of file mediacodec_wrapper.c.

Field Documentation

◆ api

FFAMediaCodec FFAMediaCodecNdk::api

Definition at line 1944 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_delete(), and ndk_codec_create().

◆ libmedia

void* FFAMediaCodecNdk::libmedia

Definition at line 1946 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_delete(), and ndk_codec_create().

◆ impl

AMediaCodec* FFAMediaCodecNdk::impl

◆ window

ANativeWindow* FFAMediaCodecNdk::window

Definition at line 1948 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_configure(), and mediacodec_ndk_delete().

◆ createCodecByName

AMediaCodec*(* FFAMediaCodecNdk::createCodecByName) (const char *name)

Definition at line 1950 of file mediacodec_wrapper.c.

Referenced by ndk_codec_create().

◆ createDecoderByType

AMediaCodec*(* FFAMediaCodecNdk::createDecoderByType) (const char *mime_type)

Definition at line 1951 of file mediacodec_wrapper.c.

Referenced by ndk_codec_create().

◆ createEncoderByType

AMediaCodec*(* FFAMediaCodecNdk::createEncoderByType) (const char *mime_type)

Definition at line 1952 of file mediacodec_wrapper.c.

Referenced by ndk_codec_create().

◆ delete

media_status_t(* FFAMediaCodecNdk::delete) (AMediaCodec *)

Definition at line 1953 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_delete().

◆ configure

media_status_t(* FFAMediaCodecNdk::configure) (AMediaCodec *, const AMediaFormat *format, ANativeWindow *surface, AMediaCrypto *crypto, uint32_t flags)

Definition at line 1955 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_configure().

◆ start

media_status_t(* FFAMediaCodecNdk::start) (AMediaCodec *)

Definition at line 1960 of file mediacodec_wrapper.c.

◆ stop

media_status_t(* FFAMediaCodecNdk::stop) (AMediaCodec *)

Definition at line 1961 of file mediacodec_wrapper.c.

◆ flush

media_status_t(* FFAMediaCodecNdk::flush) (AMediaCodec *)

Definition at line 1962 of file mediacodec_wrapper.c.

◆ getInputBuffer

uint8_t*(* FFAMediaCodecNdk::getInputBuffer) (AMediaCodec *, size_t idx, size_t *out_size)

Definition at line 1964 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_getInputBuffer().

◆ getOutputBuffer

uint8_t*(* FFAMediaCodecNdk::getOutputBuffer) (AMediaCodec *, size_t idx, size_t *out_size)

Definition at line 1965 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_getOutputBuffer().

◆ dequeueInputBuffer

ssize_t(* FFAMediaCodecNdk::dequeueInputBuffer) (AMediaCodec *, int64_t timeoutUs)

Definition at line 1967 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_dequeueInputBuffer().

◆ queueInputBuffer

media_status_t(* FFAMediaCodecNdk::queueInputBuffer) (AMediaCodec *, size_t idx, long offset, size_t size, uint64_t time, uint32_t flags)

Definition at line 1968 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_queueInputBuffer().

◆ dequeueOutputBuffer

ssize_t(* FFAMediaCodecNdk::dequeueOutputBuffer) (AMediaCodec *, AMediaCodecBufferInfo *info, int64_t timeoutUs)

Definition at line 1972 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_dequeueOutputBuffer().

◆ getOutputFormat

AMediaFormat*(* FFAMediaCodecNdk::getOutputFormat) (AMediaCodec *)

Definition at line 1973 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_getOutputFormat().

◆ releaseOutputBuffer

media_status_t(* FFAMediaCodecNdk::releaseOutputBuffer) (AMediaCodec *, size_t idx, bool render)

Definition at line 1975 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_releaseOutputBuffer().

◆ releaseOutputBufferAtTime

media_status_t(* FFAMediaCodecNdk::releaseOutputBufferAtTime) (AMediaCodec *mData, size_t idx, int64_t timestampNs)

Definition at line 1976 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_releaseOutputBufferAtTime().

◆ getName

media_status_t(* FFAMediaCodecNdk::getName) (AMediaCodec *, char **out_name)

Definition at line 1979 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_getName().

◆ releaseName

void(* FFAMediaCodecNdk::releaseName) (AMediaCodec *, char *name)

Definition at line 1980 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_getName().

◆ setInputSurface

media_status_t(* FFAMediaCodecNdk::setInputSurface) (AMediaCodec *, ANativeWindow *)

Definition at line 1983 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_configure().

◆ signalEndOfInputStream

media_status_t(* FFAMediaCodecNdk::signalEndOfInputStream) (AMediaCodec *)

Definition at line 1984 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_signalEndOfInputStream().


The documentation for this struct was generated from the following file: