Skip to content
Snippets Groups Projects
Commit 7ebfb466 authored by Ronald S. Bultje's avatar Ronald S. Bultje Committed by Martin Storsjö
Browse files

h264: Don't store intra pcm samples in h->mb


Instead, keep them in the bitstream buffer until we read them verbatim,
this saves a memcpy() and a subsequent clearing of the target buffer.
decode_cabac+decode_mb for a sample file (CAPM3_Sony_D.jsv) goes from
6121.4 to 6095.5 cycles, i.e. 26 cycles faster.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 9918f57d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment