[FFmpeg-devel] [PATCH] Optimization: support for libx264's mb_info

Carotti, Elias eliascrt at amazon.it
Fri May 19 13:19:03 EEST 2023


Hi again,
I am sending this patch again (I had missed a check for NULL), could
somebody please have a look at it? 

It is mainly an optimization when the encoder knows in advance that
only portions of the whole frame changed and which areas actually did.

The patch allows a user to pass down information to libx264 information
about which parts of a frame changed (with respect to the preceding
one) to be exploited as a hint for P_SKIP-ing macroblocks which didn't
change. 
This information is encoded in the mb_info field of the x264_param_t
much like the quant_offsets which are already used for the
AV_FRAME_DATA_REGIONS_OF_INTEREST side information.

Best,
Elias




NICE SRL, viale Monte Grappa 3/5, 20124 Milano, Italia, Registro delle Imprese di Milano Monza Brianza Lodi REA n. 2096882, Capitale Sociale: 10.329,14 EUR i.v., Cod. Fisc. e P.IVA 01133050052, Societa con Socio Unico


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-support-for-x264-s-MB_INFO.patch
Type: text/x-patch
Size: 10851 bytes
Desc: 0001-Add-support-for-x264-s-MB_INFO.patch
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230519/d134c128/attachment.bin>


More information about the ffmpeg-devel mailing list