Commit b179e474 authored by Loren Merritt's avatar Loren Merritt
Browse files

in constant QP mode, write that QP in the PPS to save a few bits in each slice header.



git-svn-id: svn://svn.videolan.org/x264/trunk@348 df754926-b1dd-0310-bc7b-ec298dee348c
parent 108f197c
......@@ -365,7 +365,7 @@ void x264_pps_init( x264_pps_t *pps, int i_id, x264_param_t *param, x264_sps_t *
pps->b_weighted_pred = 0;
pps->b_weighted_bipred = param->analyse.b_weighted_bipred ? 2 : 0;
pps->i_pic_init_qp = 26;
pps->i_pic_init_qp = param->rc.b_cbr ? 26 : param->rc.i_qp_constant;
pps->i_pic_init_qs = 26;
pps->i_chroma_qp_index_offset = param->analyse.i_chroma_qp_offset;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment