FFSampledSP
Data Fields
FFAudioIO Struct Reference

Central context representing the native peer to the Java FFNativePeerInputStream object. More...

#include <FFUtils.h>

Data Fields

JNIEnv * env
 JNI environment. More...
 
jobject java_instance
 Calling Java instance. More...
 
jint java_buffer_capacity
 Current capacity of the Java nativeBuffer. More...
 
AVFormatContext * format_context
 Current AVFormatContext. More...
 
AVStream * stream
 Audio stream we are interested in. More...
 
int stream_index
 Index of the audio stream we are using. More...
 
AVCodecContext * decode_context
 Codec context for decoding. More...
 
AVPacket decode_packet
 AVPacket for decoding. More...
 
AVFrame * decode_frame
 AVFrame for decoding. More...
 
uint8_t ** audio_data
 Audio data (accommodates multiple planes) More...
 
int got_frame
 Indicates whether we got a frame in the last call to avcodec_decode_audio4. More...
 
uint64_t decoded_samples
 Running count of decoded samples. More...
 
uint64_t timestamp
 Current timestamp (in samples, not seconds) More...
 
SwrContext * swr_context
 Resampling context. More...
 
uint64_t resampled_samples
 Count of resampled samples. More...
 
AVCodecContext * encode_context
 Codec context for encoding. More...
 
AVPacket encode_packet
 AVPacket for encoding. More...
 
AVFrame * encode_frame
 AVFrame for encoding. More...
 

Detailed Description

Central context representing the native peer to the Java FFNativePeerInputStream object.

Definition at line 56 of file FFUtils.h.

Field Documentation

◆ audio_data

uint8_t** FFAudioIO::audio_data

Audio data (accommodates multiple planes)

Definition at line 69 of file FFUtils.h.

◆ decode_context

AVCodecContext* FFAudioIO::decode_context

Codec context for decoding.

Definition at line 66 of file FFUtils.h.

◆ decode_frame

AVFrame* FFAudioIO::decode_frame

AVFrame for decoding.

Definition at line 68 of file FFUtils.h.

◆ decode_packet

AVPacket FFAudioIO::decode_packet

AVPacket for decoding.

Definition at line 67 of file FFUtils.h.

◆ decoded_samples

uint64_t FFAudioIO::decoded_samples

Running count of decoded samples.

Definition at line 71 of file FFUtils.h.

◆ encode_context

AVCodecContext* FFAudioIO::encode_context

Codec context for encoding.

Definition at line 79 of file FFUtils.h.

◆ encode_frame

AVFrame* FFAudioIO::encode_frame

AVFrame for encoding.

Definition at line 81 of file FFUtils.h.

◆ encode_packet

AVPacket FFAudioIO::encode_packet

AVPacket for encoding.

Definition at line 80 of file FFUtils.h.

◆ env

JNIEnv* FFAudioIO::env

JNI environment.

Definition at line 58 of file FFUtils.h.

◆ format_context

AVFormatContext* FFAudioIO::format_context

Current AVFormatContext.

Definition at line 63 of file FFUtils.h.

◆ got_frame

int FFAudioIO::got_frame

Indicates whether we got a frame in the last call to avcodec_decode_audio4.

Definition at line 70 of file FFUtils.h.

◆ java_buffer_capacity

jint FFAudioIO::java_buffer_capacity

Current capacity of the Java nativeBuffer.

Definition at line 60 of file FFUtils.h.

◆ java_instance

jobject FFAudioIO::java_instance

Calling Java instance.

Definition at line 59 of file FFUtils.h.

◆ resampled_samples

uint64_t FFAudioIO::resampled_samples

Count of resampled samples.

Definition at line 76 of file FFUtils.h.

◆ stream

AVStream* FFAudioIO::stream

Audio stream we are interested in.

Definition at line 64 of file FFUtils.h.

◆ stream_index

int FFAudioIO::stream_index

Index of the audio stream we are using.

Definition at line 65 of file FFUtils.h.

◆ swr_context

SwrContext* FFAudioIO::swr_context

Resampling context.

Definition at line 75 of file FFUtils.h.

◆ timestamp

uint64_t FFAudioIO::timestamp

Current timestamp (in samples, not seconds)

Definition at line 72 of file FFUtils.h.


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