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 1845 of file mediacodec_wrapper.c.

Field Documentation

◆ api

FFAMediaCodec FFAMediaCodecNdk::api

Definition at line 1846 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_delete(), and ndk_codec_create().

◆ libmedia

void* FFAMediaCodecNdk::libmedia

Definition at line 1848 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 1850 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_configure(), and mediacodec_ndk_delete().

◆ createCodecByName

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

Definition at line 1852 of file mediacodec_wrapper.c.

Referenced by ndk_codec_create().

◆ createDecoderByType

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

Definition at line 1853 of file mediacodec_wrapper.c.

Referenced by ndk_codec_create().

◆ createEncoderByType

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

Definition at line 1854 of file mediacodec_wrapper.c.

Referenced by ndk_codec_create().

◆ delete

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

Definition at line 1855 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 1857 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_configure().

◆ start

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

Definition at line 1862 of file mediacodec_wrapper.c.

◆ stop

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

Definition at line 1863 of file mediacodec_wrapper.c.

◆ flush

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

Definition at line 1864 of file mediacodec_wrapper.c.

◆ getInputBuffer

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

Definition at line 1866 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 1867 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_getOutputBuffer().

◆ dequeueInputBuffer

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

Definition at line 1869 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 1870 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_queueInputBuffer().

◆ dequeueOutputBuffer

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

Definition at line 1874 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_dequeueOutputBuffer().

◆ getOutputFormat

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

Definition at line 1875 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 1877 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 1878 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_releaseOutputBufferAtTime().

◆ getName

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

Definition at line 1881 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_getName().

◆ releaseName

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

Definition at line 1882 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_getName().

◆ setInputSurface

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

Definition at line 1885 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_configure().

◆ signalEndOfInputStream

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

Definition at line 1886 of file mediacodec_wrapper.c.

Referenced by mediacodec_ndk_signalEndOfInputStream().


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