mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
[dual-tree] Small fixes
This commit is contained in:
parent
91591c7e7c
commit
707e11dbcf
|
@ -1668,7 +1668,7 @@ void uvg_encode_coding_tree(
|
|||
exit(1);
|
||||
}
|
||||
if (state->encoder_control->cabac_debug_file) {
|
||||
fprintf(state->encoder_control->cabac_debug_file, "E %4d %4d %9d %d", x << (tree_type == UVG_CHROMA_T), y << (tree_type == UVG_CHROMA_T), split_tree.split_tree, tree_type);
|
||||
fprintf(state->encoder_control->cabac_debug_file, "E %4d %4d %9d %d", x, y, split_tree.split_tree, tree_type);
|
||||
fwrite(&cabac->ctx, 1, sizeof(cabac->ctx), state->encoder_control->cabac_debug_file);
|
||||
}
|
||||
|
||||
|
|
|
@ -2179,7 +2179,7 @@ void uvg_search_lcu(encoder_state_t * const state, const int x, const int y, con
|
|||
&work_tree,
|
||||
tree_type,
|
||||
split_tree,
|
||||
true);
|
||||
tree_type == UVG_BOTH_T);
|
||||
|
||||
// Save squared cost for rate control.
|
||||
if(state->encoder_control->cfg.rc_algorithm == UVG_LAMBDA) {
|
||||
|
|
Loading…
Reference in a new issue