[FFmpeg-devel] [PATCH v2 2/2] libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats

Mark Reid mindmark at gmail.com
Sun Feb 14 00:58:24 CET 2016


On Fri, Feb 12, 2016 at 6:12 AM, Michael Niedermayer
<michael at niedermayer.cc> wrote:
> On Thu, Feb 11, 2016 at 08:41:16PM -0800, Mark Reid wrote:
>> ---
>>  libavcodec/dnxhd_parser.c | 11 +++++++----
>>  libavformat/dnxhddec.c    |  7 ++++---
>>  2 files changed, 11 insertions(+), 7 deletions(-)
>
> what effect on speed does this have ?
> AV_RB*() might be better than memcmp(), also a inline function or
> macro might be better if this is called alot
>

Its definitely a lot worse then my initial attempt. It gets called
lots in the parser loop. I think I got a better idea and will send a
new patch.


More information about the ffmpeg-devel mailing list