forked from dholroyd/h264-reader
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I don't believe it's necessary to backtrack here given that the zero bytes are always included in the stream. Also, we can use memchr as AnnexBReader does. This is considerably faster: ``` parse_annexb/annexb_rbsp time: [143.44 ms 143.47 ms 143.50 ms] thrpt: [4.4909 GiB/s 4.4919 GiB/s 4.4928 GiB/s] change: time: [-65.748% -65.740% -65.730%] (p = 0.00 < 0.05) thrpt: [+191.80% +191.88% +191.95%] Performance has improved. ```
- Loading branch information
Showing
1 changed file
with
43 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters