Log in

View Full Version : How to use x264_image_properties_t for different QP to each MB?


l35633
15th June 2015, 15:03
Hi,everyone.
Now I know that if using x264_image_properties_t, you can set each MB for different QP in each frame?
Would anyone please provide some information about how to use it, any sample source code?

Thank you very much!

l35633
16th June 2015, 11:14
Now I have known the answer:
When initialing the input x264_picture_t structure object as below, inputting the each MB offset pointer array is OK!
and i_aq_mode = X264_AQ_VARIANCE;

x264_picture_t input_pic;
input_pic.prop.quant_offsets = mb_offset_pointer;