[x264-devel] Thresholds about slicetype_decide

Jason Garrett-Glaser darkshikari at gmail.com
Wed May 19 08:27:22 CEST 2010


On Tue, May 18, 2010 at 10:05 PM, kenter <kenter83 at gmail.com> wrote:
> Thanks for Jason, I'm sorry that I forget to mention my modifications
> are based on x264-snapshot-20090302-2245 for historical reasons, the
> mb-tree and lookahead feature are not available.
> I modulate the parameters based on your suggestions:
> 1. Set QP=24 in x264_lowres_context_init()
> 2. Change the data array type of *i_intra_cost from uint16_t to
> uint32_t in x264_frame_t (It seems the lowres_cost and lowres_type are
> not exist in my version)
>
> However, the result shows the PSNR also drops 0.5dB compares to that
> of 8x8 slicetype_decide(from 34.84 to 34.35dB), can you point me other
> values that I need to modify?

You'll need to redesign intra analysis in lookahead if you want to use
16x16 blocks; currently it assumes 8x8 and uses 8x8 intra prediction
accordingly.

Dark Shikari


More information about the x264-devel mailing list