UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
state_video_compress_j2k Struct Reference
Collaboration diagram for state_video_compress_j2k:
Collaboration graph

Classes

struct  module_data
 

Public Attributes

video_desc compressed_desc {}
 
condition_variable configure_cv
 
bool configured = false
 
struct cmpto_j2k_enc_ctx * context {}
 
struct cmpto_j2k_enc_cfg * enc_settings {}
 
condition_variable frame_popped
 
unsigned int in_frames {}
 number of currently encoding frames
 
mutex lock
 
unsigned int max_in_frames
 max number of frames between push and pop
 
int mct = -1
 
long long int mem_limit = DEFAULT_MEM_LIMIT
 
video_frame_pool pool
 pool for frames allocated by us but not yet consumed by encoder
 
bool pool_in_device_memory = false
 frames in pool are on GPU
 
codec_t precompress_codec = VC_NONE
 
double quality = DEFAULT_QUALITY
 
long long int rate = 0
 bitrate in bits per second
 
video_desc saved_desc {}
 
bool should_exit = false
 
unsigned int tile_limit = DEFAULT_TILE_LIMIT
 

Detailed Description

Definition at line 134 of file cmpto_j2k.cpp.

Member Data Documentation

◆ compressed_desc

video_desc state_video_compress_j2k::compressed_desc {}

Definition at line 155 of file cmpto_j2k.cpp.

155{};

Referenced by configure_with(), and j2k_compress_push().

◆ configure_cv

condition_variable state_video_compress_j2k::configure_cv

Definition at line 157 of file cmpto_j2k.cpp.

Referenced by configure_with(), and j2k_compress_push().

◆ configured

bool state_video_compress_j2k::configured = false

Definition at line 158 of file cmpto_j2k.cpp.

Referenced by configure_with(), and j2k_compress_push().

◆ context

struct cmpto_j2k_enc_ctx* state_video_compress_j2k::context {}

Definition at line 136 of file cmpto_j2k.cpp.

136{};

Referenced by cleanup_common(), configure_with(), and j2k_compress_push().

◆ enc_settings

struct cmpto_j2k_enc_cfg* state_video_compress_j2k::enc_settings {}

Definition at line 137 of file cmpto_j2k.cpp.

137{};

Referenced by cleanup_common(), configure_with(), and j2k_compress_push().

◆ frame_popped

condition_variable state_video_compress_j2k::frame_popped

Definition at line 152 of file cmpto_j2k.cpp.

Referenced by configure_with(), and j2k_compress_push().

◆ in_frames

unsigned int state_video_compress_j2k::in_frames {}

number of currently encoding frames

Definition at line 150 of file cmpto_j2k.cpp.

150{};

Referenced by configure_with(), and j2k_compress_push().

◆ lock

mutex state_video_compress_j2k::lock

Definition at line 151 of file cmpto_j2k.cpp.

Referenced by configure_with(), and j2k_compress_push().

◆ max_in_frames

unsigned int state_video_compress_j2k::max_in_frames
Initial value:
=
#define DEFAULT_POOL_SIZE
Definition cmpto_j2k.cpp:95

max number of frames between push and pop

Definition at line 144 of file cmpto_j2k.cpp.

Referenced by configure_with(), j2k_compress_push(), and set_pool().

◆ mct

int state_video_compress_j2k::mct = -1

Definition at line 139 of file cmpto_j2k.cpp.

Referenced by configure_with().

◆ mem_limit

long long int state_video_compress_j2k::mem_limit = DEFAULT_MEM_LIMIT

Definition at line 147 of file cmpto_j2k.cpp.

Referenced by configure_with().

◆ pool

video_frame_pool state_video_compress_j2k::pool

pool for frames allocated by us but not yet consumed by encoder

Definition at line 141 of file cmpto_j2k.cpp.

Referenced by get_copy(), j2k_compress_push(), and set_pool().

◆ pool_in_device_memory

bool state_video_compress_j2k::pool_in_device_memory = false

frames in pool are on GPU

Definition at line 140 of file cmpto_j2k.cpp.

Referenced by get_copy(), j2k_compress_push(), and set_pool().

◆ precompress_codec

codec_t state_video_compress_j2k::precompress_codec = VC_NONE

Definition at line 154 of file cmpto_j2k.cpp.

Referenced by configure_with(), get_copy(), j2k_compress_push(), and set_pool().

◆ quality

double state_video_compress_j2k::quality = DEFAULT_QUALITY

Definition at line 146 of file cmpto_j2k.cpp.

Referenced by configure_with().

◆ rate

long long int state_video_compress_j2k::rate = 0

bitrate in bits per second

Definition at line 138 of file cmpto_j2k.cpp.

Referenced by configure_with().

◆ saved_desc

video_desc state_video_compress_j2k::saved_desc {}

Definition at line 153 of file cmpto_j2k.cpp.

153{};

Referenced by configure_with(), and j2k_compress_push().

◆ should_exit

bool state_video_compress_j2k::should_exit = false

Definition at line 159 of file cmpto_j2k.cpp.

Referenced by j2k_compress_push().

◆ tile_limit

unsigned int state_video_compress_j2k::tile_limit = DEFAULT_TILE_LIMIT

Definition at line 148 of file cmpto_j2k.cpp.

Referenced by configure_with().


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