mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
Moved scalinglist_process into init_encoder_control
This commit is contained in:
parent
6e24ba0a5f
commit
ec9d70f70c
|
@ -159,6 +159,7 @@ encoder_control *init_encoder_control(config *cfg)
|
|||
fclose(cqmfile);
|
||||
}
|
||||
}
|
||||
scalinglist_process(&enc_c->scaling_list);
|
||||
|
||||
return enc_c;
|
||||
|
||||
|
@ -311,7 +312,6 @@ void encode_one_frame(encoder_control* encoder)
|
|||
|
||||
cabac_start(&cabac);
|
||||
init_contexts(&cabac, encoder->QP, encoder->in.cur_pic->slicetype);
|
||||
scalinglist_process(&encoder->scaling_list);
|
||||
encode_slice_header(encoder);
|
||||
bitstream_align(encoder->stream);
|
||||
|
||||
|
|
Loading…
Reference in a new issue