Audacity  3.0.3
Public Member Functions | Public Attributes | List of all members
streamContext Struct Reference

#include <FFmpeg.h>

Collaboration diagram for streamContext:
[legend]

Public Member Functions

 streamContext ()
 
 ~streamContext ()
 

Public Attributes

bool m_use {}
 
AVStream * m_stream {}
 
AVCodecContext * m_codecCtx {}
 
Optional< AVPacketExm_pkt
 
uint8_t * m_pktDataPtr {}
 
int m_pktRemainingSiz {}
 
int64_t m_pts {}
 
int64_t m_ptsOffset {}
 
int m_frameValid {}
 
AVMallocHolder< uint8_t > m_decodedAudioSamples
 
unsigned int m_decodedAudioSamplesSiz {}
 
size_t m_decodedAudioSamplesValidSiz {}
 
int m_initialchannels {}
 
size_t m_samplesize {}
 
AVSampleFormat m_samplefmt { AV_SAMPLE_FMT_NONE }
 
size_t m_osamplesize {}
 
sampleFormat m_osamplefmt { floatSample }
 

Detailed Description

Definition at line 1004 of file FFmpeg.h.

Constructor & Destructor Documentation

◆ streamContext()

streamContext::streamContext ( )
inline

Definition at line 1029 of file FFmpeg.h.

1029 { memset(this, 0, sizeof(*this)); }

◆ ~streamContext()

streamContext::~streamContext ( )
inline

Definition at line 1030 of file FFmpeg.h.

1031  {
1032  }

Member Data Documentation

◆ m_codecCtx

AVCodecContext* streamContext::m_codecCtx {}

Definition at line 1008 of file FFmpeg.h.

Referenced by import_ffmpeg_decode_frame(), and FFmpegImportFileHandle::WriteData().

◆ m_decodedAudioSamples

AVMallocHolder<uint8_t> streamContext::m_decodedAudioSamples

Definition at line 1018 of file FFmpeg.h.

Referenced by import_ffmpeg_decode_frame(), and FFmpegImportFileHandle::WriteData().

◆ m_decodedAudioSamplesSiz

unsigned int streamContext::m_decodedAudioSamplesSiz {}

Definition at line 1019 of file FFmpeg.h.

Referenced by import_ffmpeg_decode_frame().

◆ m_decodedAudioSamplesValidSiz

size_t streamContext::m_decodedAudioSamplesValidSiz {}

Definition at line 1020 of file FFmpeg.h.

Referenced by import_ffmpeg_decode_frame(), and FFmpegImportFileHandle::WriteData().

◆ m_frameValid

int streamContext::m_frameValid {}

Definition at line 1017 of file FFmpeg.h.

Referenced by import_ffmpeg_decode_frame().

◆ m_initialchannels

int streamContext::m_initialchannels {}

Definition at line 1021 of file FFmpeg.h.

Referenced by FFmpegImportFileHandle::WriteData().

◆ m_osamplefmt

sampleFormat streamContext::m_osamplefmt { floatSample }

Definition at line 1027 of file FFmpeg.h.

Referenced by FFmpegImportFileHandle::WriteData().

◆ m_osamplesize

size_t streamContext::m_osamplesize {}

Definition at line 1026 of file FFmpeg.h.

Referenced by FFmpegImportFileHandle::WriteData().

◆ m_pkt

Optional<AVPacketEx> streamContext::m_pkt

◆ m_pktDataPtr

uint8_t* streamContext::m_pktDataPtr {}

Definition at line 1011 of file FFmpeg.h.

Referenced by import_ffmpeg_decode_frame(), and import_ffmpeg_read_next_frame().

◆ m_pktRemainingSiz

int streamContext::m_pktRemainingSiz {}

Definition at line 1012 of file FFmpeg.h.

Referenced by import_ffmpeg_decode_frame(), and import_ffmpeg_read_next_frame().

◆ m_pts

int64_t streamContext::m_pts {}

Definition at line 1014 of file FFmpeg.h.

◆ m_ptsOffset

int64_t streamContext::m_ptsOffset {}

Definition at line 1015 of file FFmpeg.h.

◆ m_samplefmt

AVSampleFormat streamContext::m_samplefmt { AV_SAMPLE_FMT_NONE }

Definition at line 1024 of file FFmpeg.h.

Referenced by import_ffmpeg_decode_frame(), and FFmpegImportFileHandle::WriteData().

◆ m_samplesize

size_t streamContext::m_samplesize {}

Definition at line 1023 of file FFmpeg.h.

Referenced by import_ffmpeg_decode_frame(), and FFmpegImportFileHandle::WriteData().

◆ m_stream

AVStream* streamContext::m_stream {}

Definition at line 1007 of file FFmpeg.h.

Referenced by FFmpegImportFileHandle::WriteData().

◆ m_use

bool streamContext::m_use {}

Definition at line 1006 of file FFmpeg.h.


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