[x264-devel] when Half pixel value calculated
Erkang Chen
bee33 at sjtu.edu.cn
Sat Apr 16 11:33:32 CEST 2005
Dear all:
In x264 Inter encoding, when a MB is undergoing analysis, eg,. x264_mb_analyse_inter_p16x16, interpolated half_pixel value are used.
However, discouragingly, I couldn't find when these value are calculated and store to h->mb.pic.p_fref[0][i_ref][1-3] before analysis.
It hides somewhere, I know it. But where?
If you got what I am trying to ask, you can skip the following part.
Eg. in function x264_mb_analyse_inter_p16x16
Macro LOAD_HPELS( m.p_fref, h->mb.pic.p_fref[0][i_ref], 0 );
seem to load half pixel value from h->mb.pic.p_fref[0][i_ref] to m.p_fref.
Downwards, the values in m.p_fref[] is used.
However I traced the code and didn't find where h->mb.pic.p_fref[0][i_ref][0-3] is written before the function x264_mb_analyse_inter_p16x16.
Thanks for patience.
Best wishes!
Erkang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/x264-devel/attachments/20050416/87eeeac6/attachment.htm
More information about the x264-devel
mailing list