Skip to main content

RGBADescriptor

Struct RGBADescriptor 

Source
pub struct RGBADescriptor {
Show 32 fields pub instance_id: Option<String>, pub display_width: Option<u32>, pub display_height: Option<u32>, pub stored_width: Option<u32>, pub stored_height: Option<u32>, pub sample_rate: Option<EditRate>, pub image_aspect_ratio: Option<String>, pub color_primaries: Option<ColorPrimaries>, pub transfer_characteristic: Option<TransferCharacteristic>, pub coding_equations: Option<CodingEquations>, pub picture_compression: Option<VideoCodec>, pub frame_layout: Option<String>, pub display_f2_offset: Option<i32>, pub component_max_ref: Option<u32>, pub component_min_ref: Option<u32>, pub scanning_direction: Option<String>, pub stored_f2_offset: Option<i32>, pub sampled_width: Option<u32>, pub sampled_height: Option<u32>, pub sampled_x_offset: Option<u32>, pub sampled_y_offset: Option<u32>, pub alpha_transparency: Option<String>, pub image_alignment_offset: Option<u32>, pub image_start_offset: Option<u32>, pub image_end_offset: Option<u32>, pub field_dominance: Option<u32>, pub alpha_max_ref: Option<u32>, pub alpha_min_ref: Option<u32>, pub palette: Option<String>, pub palette_layout: Option<String>, pub linked_track_id: Option<u32>, pub sub_descriptors: Option<VideoSubDescriptors>,
}
Expand description

RGBA video descriptor (JPEG 2000 RGB content)

Fields§

§instance_id: Option<String>§display_width: Option<u32>§display_height: Option<u32>§stored_width: Option<u32>§stored_height: Option<u32>§sample_rate: Option<EditRate>§image_aspect_ratio: Option<String>§color_primaries: Option<ColorPrimaries>§transfer_characteristic: Option<TransferCharacteristic>§coding_equations: Option<CodingEquations>§picture_compression: Option<VideoCodec>§frame_layout: Option<String>

Generic Picture Essence Descriptor: Frame Layout “FullFrame” (00h, progressive) or “SeparateFields” (01h, interlaced)

§display_f2_offset: Option<i32>

Generic Picture Essence Descriptor: DisplayF2Offset

§component_max_ref: Option<u32>

RGBA Descriptor: Component Max Ref (Table 10/11)

§component_min_ref: Option<u32>

RGBA Descriptor: Component Min Ref (Table 10/11)

§scanning_direction: Option<String>

RGBA Descriptor: Scanning Direction (Table 10) Shall be “ScanningDirection_LeftToRightTopToBottom” (00h)

§stored_f2_offset: Option<i32>

Table 8: StoredF2Offset — shall not be present

§sampled_width: Option<u32>

Table 8: SampledWidth — shall not be present or shall be equal to StoredWidth

§sampled_height: Option<u32>

Table 8: SampledHeight — shall not be present or shall be equal to StoredHeight

§sampled_x_offset: Option<u32>

Table 8: SampledXOffset — shall not be present or shall be 0

§sampled_y_offset: Option<u32>

Table 8: SampledYOffset — shall not be present or shall be 0

§alpha_transparency: Option<String>

Table 8: AlphaTransparency — shall not be present

§image_alignment_offset: Option<u32>

Table 8: ImageAlignmentOffset — shall not be present

§image_start_offset: Option<u32>

Table 8: ImageStartOffset — shall not be present

§image_end_offset: Option<u32>

Table 8: ImageEndOffset — shall not be present

§field_dominance: Option<u32>

Table 8: FieldDominance — shall be present if interlaced, shall not be present if progressive

§alpha_max_ref: Option<u32>

Table 10: AlphaMaxRef — shall not be present

§alpha_min_ref: Option<u32>

Table 10: AlphaMinRef — shall not be present

§palette: Option<String>

Table 10: Palette — shall not be present

§palette_layout: Option<String>

Table 10: PaletteLayout — shall not be present

§linked_track_id: Option<u32>§sub_descriptors: Option<VideoSubDescriptors>

Trait Implementations§

Source§

impl Clone for RGBADescriptor

Source§

fn clone(&self) -> RGBADescriptor

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RGBADescriptor

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for RGBADescriptor

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for RGBADescriptor

Source§

fn eq(&self, other: &RGBADescriptor) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for RGBADescriptor

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for RGBADescriptor

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.