[x264-devel] Re: QP of one macroblock

Alex Izvorski aizvorski at gmail.com
Sat May 26 11:34:13 CEST 2007


On Sat, 2007-05-26 at 04:42 -0400, Hoda Roodaki wrote:
> Hi,
> 
> I want to encode one particular Macroblock with specific value of qp,
> so I should find the variable that contains the final value of qp for
> encoding one macroblock, Can anyone help me?
> 
> Thanks & Regards,
> Hoda Roodaki,

Hello,

I think you can set the value of h->mb.i_qp in encoder/encoder.c,
x264_slice_write(), line 1064, after the call to
x264_macroblock_analyse() but before x264_macroblock_encode().  Hope
that helps.  I haven't tried it, so please report whether it worked.

Out of curiosity, why do this?

--Alex


-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list