FFmpeg
Data Fields
FFAMediaCodec Struct Reference

#include <mediacodec_wrapper.h>

Data Fields

const AVClassclass
 
char *(* getName )(FFAMediaCodec *codec)
 
FFAMediaCodec *(* createCodecByName )(const char *name)
 
FFAMediaCodec *(* createDecoderByType )(const char *mime_type)
 
FFAMediaCodec *(* createEncoderByType )(const char *mime_type)
 
int(* delete )(FFAMediaCodec *codec)
 
int(* configure )(FFAMediaCodec *codec, const FFAMediaFormat *format, FFANativeWindow *surface, void *crypto, uint32_t flags)
 
int(* start )(FFAMediaCodec *codec)
 
int(* stop )(FFAMediaCodec *codec)
 
int(* flush )(FFAMediaCodec *codec)
 
uint8_t *(* getInputBuffer )(FFAMediaCodec *codec, size_t idx, size_t *out_size)
 
uint8_t *(* getOutputBuffer )(FFAMediaCodec *codec, size_t idx, size_t *out_size)
 
ssize_t(* dequeueInputBuffer )(FFAMediaCodec *codec, int64_t timeoutUs)
 
int(* queueInputBuffer )(FFAMediaCodec *codec, size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags)
 
ssize_t(* dequeueOutputBuffer )(FFAMediaCodec *codec, FFAMediaCodecBufferInfo *info, int64_t timeoutUs)
 
FFAMediaFormat *(* getOutputFormat )(FFAMediaCodec *codec)
 
int(* releaseOutputBuffer )(FFAMediaCodec *codec, size_t idx, int render)
 
int(* releaseOutputBufferAtTime )(FFAMediaCodec *codec, size_t idx, int64_t timestampNs)
 
int(* infoTryAgainLater )(FFAMediaCodec *codec, ssize_t idx)
 
int(* infoOutputBuffersChanged )(FFAMediaCodec *codec, ssize_t idx)
 
int(* infoOutputFormatChanged )(FFAMediaCodec *codec, ssize_t indx)
 
int(* getBufferFlagCodecConfig )(FFAMediaCodec *codec)
 
int(* getBufferFlagEndOfStream )(FFAMediaCodec *codec)
 
int(* getBufferFlagKeyFrame )(FFAMediaCodec *codec)
 
int(* getConfigureFlagEncode )(FFAMediaCodec *codec)
 
int(* cleanOutputBuffers )(FFAMediaCodec *codec)
 
int(* signalEndOfInputStream )(FFAMediaCodec *)
 

Detailed Description

Definition at line 181 of file mediacodec_wrapper.h.

Field Documentation

◆ class

const AVClass* FFAMediaCodec::class

Definition at line 182 of file mediacodec_wrapper.h.

Referenced by mediacodec_ndk_delete().

◆ getName

char*(* FFAMediaCodec::getName) (FFAMediaCodec *codec)

Definition at line 184 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_getName().

◆ createCodecByName

FFAMediaCodec*(* FFAMediaCodec::createCodecByName) (const char *name)

Definition at line 186 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_createCodecByName().

◆ createDecoderByType

FFAMediaCodec*(* FFAMediaCodec::createDecoderByType) (const char *mime_type)

Definition at line 187 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_createDecoderByType().

◆ createEncoderByType

FFAMediaCodec*(* FFAMediaCodec::createEncoderByType) (const char *mime_type)

Definition at line 188 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_createEncoderByType().

◆ delete

int(* FFAMediaCodec::delete) (FFAMediaCodec *codec)

Definition at line 189 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_delete().

◆ configure

int(* FFAMediaCodec::configure) (FFAMediaCodec *codec, const FFAMediaFormat *format, FFANativeWindow *surface, void *crypto, uint32_t flags)

Definition at line 191 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_configure().

◆ start

int(* FFAMediaCodec::start) (FFAMediaCodec *codec)

Definition at line 192 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_start().

◆ stop

int(* FFAMediaCodec::stop) (FFAMediaCodec *codec)

Definition at line 193 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_stop().

◆ flush

int(* FFAMediaCodec::flush) (FFAMediaCodec *codec)

Definition at line 194 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_flush().

◆ getInputBuffer

uint8_t*(* FFAMediaCodec::getInputBuffer) (FFAMediaCodec *codec, size_t idx, size_t *out_size)

Definition at line 196 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_getInputBuffer().

◆ getOutputBuffer

uint8_t*(* FFAMediaCodec::getOutputBuffer) (FFAMediaCodec *codec, size_t idx, size_t *out_size)

Definition at line 197 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_getOutputBuffer().

◆ dequeueInputBuffer

ssize_t(* FFAMediaCodec::dequeueInputBuffer) (FFAMediaCodec *codec, int64_t timeoutUs)

Definition at line 199 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_dequeueInputBuffer().

◆ queueInputBuffer

int(* FFAMediaCodec::queueInputBuffer) (FFAMediaCodec *codec, size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags)

Definition at line 200 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_queueInputBuffer().

◆ dequeueOutputBuffer

ssize_t(* FFAMediaCodec::dequeueOutputBuffer) (FFAMediaCodec *codec, FFAMediaCodecBufferInfo *info, int64_t timeoutUs)

Definition at line 202 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_dequeueOutputBuffer().

◆ getOutputFormat

FFAMediaFormat*(* FFAMediaCodec::getOutputFormat) (FFAMediaCodec *codec)

Definition at line 203 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_getOutputFormat().

◆ releaseOutputBuffer

int(* FFAMediaCodec::releaseOutputBuffer) (FFAMediaCodec *codec, size_t idx, int render)

Definition at line 205 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_releaseOutputBuffer().

◆ releaseOutputBufferAtTime

int(* FFAMediaCodec::releaseOutputBufferAtTime) (FFAMediaCodec *codec, size_t idx, int64_t timestampNs)

Definition at line 206 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_releaseOutputBufferAtTime().

◆ infoTryAgainLater

int(* FFAMediaCodec::infoTryAgainLater) (FFAMediaCodec *codec, ssize_t idx)

Definition at line 208 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_infoTryAgainLater().

◆ infoOutputBuffersChanged

int(* FFAMediaCodec::infoOutputBuffersChanged) (FFAMediaCodec *codec, ssize_t idx)

Definition at line 209 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_infoOutputBuffersChanged().

◆ infoOutputFormatChanged

int(* FFAMediaCodec::infoOutputFormatChanged) (FFAMediaCodec *codec, ssize_t indx)

Definition at line 210 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_infoOutputFormatChanged().

◆ getBufferFlagCodecConfig

int(* FFAMediaCodec::getBufferFlagCodecConfig) (FFAMediaCodec *codec)

Definition at line 212 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_getBufferFlagCodecConfig().

◆ getBufferFlagEndOfStream

int(* FFAMediaCodec::getBufferFlagEndOfStream) (FFAMediaCodec *codec)

Definition at line 213 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_getBufferFlagEndOfStream().

◆ getBufferFlagKeyFrame

int(* FFAMediaCodec::getBufferFlagKeyFrame) (FFAMediaCodec *codec)

Definition at line 214 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_getBufferFlagKeyFrame().

◆ getConfigureFlagEncode

int(* FFAMediaCodec::getConfigureFlagEncode) (FFAMediaCodec *codec)

Definition at line 216 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_getConfigureFlagEncode().

◆ cleanOutputBuffers

int(* FFAMediaCodec::cleanOutputBuffers) (FFAMediaCodec *codec)

Definition at line 218 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_cleanOutputBuffers().

◆ signalEndOfInputStream

int(* FFAMediaCodec::signalEndOfInputStream) (FFAMediaCodec *)

Definition at line 221 of file mediacodec_wrapper.h.

Referenced by ff_AMediaCodec_signalEndOfInputStream().


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