git.videolan.org Git - ffmpeg.git/rss log
FFmpeg git repo
Les articles publiés sur le site
-
aarch64 : hevc : Reorder qpel_hv functions to prepare for templating
25 mars, par Martin Storsjö -
avutil/opt : Avoid av_strdup(NULL)
25 mars, par Andreas Rheinhardtavutil/opt: Avoid av_strdup(NULL) It is not documented to be safe and in any case it is nonsense: Currently av_strdup(NULL) returns NULL and in order to distinguish this from a genuine allocation failure, opt_copy_elem() checked afterwards whether src was actually NULL. But then one can simply check in advance whether one should call av_strdup() at all. set_string() was even worse and returned ENOMEM in case the value to be duplicated is NULL; this only worked because av_opt_set_defaults2() does not check the return value at all (given that it can't propagate it). These two places account for 389114 of 390356 av_strdup(NULL) calls during one FATE run. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
aarch64 : hevc : Reorder epel_hv functions to prepare for templating
25 mars, par Martin Storsjö -
aarch64 : hevc : Deduplicate the hevc_put_hevc_qpel_uni_w_hv*_8_end_neon functions
25 mars, par Martin Storsjöaarch64: hevc: Deduplicate the hevc_put_hevc_qpel_uni_w_hv*_8_end_neon functions The hv32 and hv64 functions were identical - both loop and process 16 pixels at a time. The hv16 function was near identical, except for the outer loop (and using sp instead of a separate register). Given the size of these functions, the extra cost of the outer loop is negligible, so use the same function for hv16 as well. This removes over 200 lines of duplicated assembly, and over 4 KB of binary size. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Changelog : add Android content URIs protocol entry
25 mars, par Matthieu Bouron