mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
Dump threading data structures only with _DEBUG_PRINT_THREADING_INFO.
- They are usually not needed when using _DEBUG.
This commit is contained in:
parent
b75bd12e81
commit
cb1a206c74
|
@ -359,7 +359,7 @@ encoder_control_t* kvz_encoder_control_init(const kvz_config *const cfg) {
|
|||
|
||||
encoder->wpp = encoder->cfg->wpp;
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef _DEBUG_PRINT_THREADING_INFO
|
||||
printf("Tiles columns width:");
|
||||
for (i=0; i < encoder->tiles_num_tile_columns; ++i) {
|
||||
printf(" %d", encoder->tiles_col_width[i]);
|
||||
|
|
|
@ -146,7 +146,7 @@ static void encoder_state_config_wfrow_finalize(encoder_state_t * const state) {
|
|||
//Nothing to do (yet?)
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef _DEBUG_PRINT_THREADING_INFO
|
||||
static void encoder_state_dump_graphviz(const encoder_state_t * const state) {
|
||||
int i;
|
||||
|
||||
|
@ -635,7 +635,7 @@ int kvz_encoder_state_init(encoder_state_t * const child_state, encoder_state_t
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef _DEBUG_PRINT_THREADING_INFO
|
||||
if (!parent_state) encoder_state_dump_graphviz(child_state);
|
||||
#endif //_DEBUG
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue