You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* update the `bitstream-io` dependency. This produces a ~10% improvement
on some of the annexb and nal benchmarks. Besides needing a few
internal changes, this is a breaking API change because
`crate::bitstream_io` and `crate::rbsp::{Numeric, Primitive}` were
exposed.
* update MSRV 1.81->1.83 to match. (Arguable whether this is a breaking
change. Many crates seem to say no. `h264-reader` doesn't have an
explicit policy.)
* update `BitRead` to match its `read` vs `read_var` change in
<tuffy/bitstream-io@d45beee>.
The same rationale there applies here.
* `BitRead::read_bool` -> `BitRead::read_bit`, matching the upstream
trait's name. The old name `read_bool` came from the `bitreader` crate
we haven't used since 7a02a3b. I previously tried to match upstream
in 7ffae81 but apparently missed this one.
* rename `BitReaderError::ReadErrorFor` to `BitReaderError::ReadError`.
This variant was introduced alongside `BitReaderError::ReadError` in
e0d5ad0. After 7ffae81, callers finished migrated from the old
methods that didn't take a syntax element name to the new ones that
do and the old variant was removed. The `For` suffix is just puzzling
now, and the `ExpGolombTooLarge` variant doesn't have it.
* remove the unused and unexplained `BitReaderError::Unaligned` variant.
* update a few comments. `read` previously said it was for unsigned
values, but it actually supported either, and one field
(`nal::sei::pic_timing::CountingType::time_offset`) took advantage of
this.
* BREAKING CHANGE: `SliceHeader::from_bits()` now takes an additional `header_extension: Option<&NalHeaderExtension>` parameter. Pass `None` for standard AVC NAL types (1/5). For MVC NAL types (20/21), pass the parsed extension to enable correct `idr_pic_flag` derivation and MVC ref pic list modification parsing.
11
+
* Update minimum supported Rust version from 1.81 to 1.83.
0 commit comments