pub struct CodestreamTileIndex {
pub tileno: u32,
pub nb_tps: u32,
pub current_nb_tps: u32,
pub current_tpsno: u32,
pub tp_index: Vec<TpIndex>,
pub markers: Vec<MarkerInfo>,
pub nb_packet: u32,
pub packet_index: Vec<PacketInfo>,
}Expand description
One tile’s codestream-index entry.
Fields§
§tileno: u32Tile number.
nb_tps: u32Tile-parts declared by the last SOT.
current_nb_tps: u32Tile-parts decoded so far.
current_tpsno: u32Current tile-part number.
tp_index: Vec<TpIndex>Per-tile-part byte positions.
markers: Vec<MarkerInfo>Tile-part markers.
nb_packet: u32Number of packets.
packet_index: Vec<PacketInfo>Per-packet indexes.
Implementations§
Source§impl CodestreamTileIndex
impl CodestreamTileIndex
Sourcepub fn nb_tile_parts(&self) -> u32
pub fn nb_tile_parts(&self) -> u32
Tile-parts declared by the last SOT.
Sourcepub fn tile_part_indexes(&self) -> &[TpIndex]
pub fn tile_part_indexes(&self) -> &[TpIndex]
Per-tile-part byte positions.
Sourcepub fn markers(&self) -> &[MarkerInfo]
pub fn markers(&self) -> &[MarkerInfo]
The tile-part markers.
Sourcepub fn packet_infos(&self) -> &[PacketInfo]
pub fn packet_infos(&self) -> &[PacketInfo]
Per-packet indexes.
Trait Implementations§
Source§impl Clone for CodestreamTileIndex
impl Clone for CodestreamTileIndex
Source§fn clone(&self) -> CodestreamTileIndex
fn clone(&self) -> CodestreamTileIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CodestreamTileIndex
impl Debug for CodestreamTileIndex
Source§impl Default for CodestreamTileIndex
impl Default for CodestreamTileIndex
Source§fn default() -> CodestreamTileIndex
fn default() -> CodestreamTileIndex
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Forget for CodestreamTileIndex
impl Freeze for CodestreamTileIndex
impl Move for CodestreamTileIndex
impl RefUnwindSafe for CodestreamTileIndex
impl Send for CodestreamTileIndex
impl Sync for CodestreamTileIndex
impl Unpin for CodestreamTileIndex
impl UnsafeUnpin for CodestreamTileIndex
impl UnwindSafe for CodestreamTileIndex
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more