rtmd

package
v0.0.0-...-cd0d377 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LensUnitMetadataHex               hexStr = "060e2b34025301010c02010101010000"
	CameraUnitMetadataHex             hexStr = "060e2b34025301010c02010102010000"
	UserDefinedAcquisitionMetadataHex hexStr = "060e2b34025301010c0201017f010000"
)

UDAM ID ILCE-7SM3: 966908004678031c20510000f0c01181 F65: 20500000f0c01181966908004678031c

Variables

This section is empty.

Functions

This section is empty.

Types

type AFMode

type AFMode byte

func (AFMode) String

func (mode AFMode) String() string

type AutoExposureMode

type AutoExposureMode []byte

func (AutoExposureMode) String

func (mode AutoExposureMode) String() string

type AutoWhiteBalanceMode

type AutoWhiteBalanceMode byte

func (AutoWhiteBalanceMode) String

func (mode AutoWhiteBalanceMode) String() string

type CameraUnitMetadata

type CameraUnitMetadata struct {
	AutoExposureMode                string
	ExposureIndexOfPhotoMeter       uint16
	AutoFocusSensingAreaSetting     string
	ImagerDimensionWidth            uint16
	ImagerDimensionHeight           uint16
	CaptureFrameRate                *common.Fraction
	ShutterSpeedAngle               float64
	ShutterSpeedTime                *common.Fraction
	CameraMasterGainAdjustment      float64
	ISOSensitivity                  uint16
	ElectricalExtenderMagnification float64
	AutoWhiteBalanceMode            string
	CaptureGammaEquation            string
	ColorPrimaries                  string
	CodingEquations                 string
	LightingPreset                  string
	// contains filtered or unexported fields
}

type CodingEquations

type CodingEquations []byte

func (CodingEquations) String

func (ce CodingEquations) String() string

type ColorPrimaries

type ColorPrimaries []byte

func (ColorPrimaries) String

func (cp ColorPrimaries) String() string

type GammaEquation

type GammaEquation []byte

func (GammaEquation) String

func (ge GammaEquation) String() string

type LensUnitMetadata

type LensUnitMetadata struct {
	IrisFNumber                 float64
	FocusPositionFromImagePlane float64
	FocusRingPosition           uint16
	LensZoom35mmPtr             *float64
	LensZoomPtr                 *float64
	ZoomRingPosition            uint16
	// contains filtered or unexported fields
}

type LightingPreset

type LightingPreset byte

func (LightingPreset) String

func (mode LightingPreset) String() string

type MetadataSetInfo

type MetadataSetInfo struct {
	// contains filtered or unexported fields
}

type RTMD

type RTMD struct {
	Timecode                            *Timecode
	LensUnitMetadata                    *LensUnitMetadata
	CameraUnitMetadata                  *CameraUnitMetadata
	UserDefinedAcquisitionMetadataSlice []*UserDefinedAcquisitionMetadata
}

RTMD Reference: EBU TECH-3349

func ReadRTMD

func ReadRTMD(r io.ReadSeeker) (*RTMD, error)

type Timecode

type Timecode struct {
	Hour  int
	Min   int
	Sec   int
	Frame int
}

func (Timecode) String

func (t Timecode) String() string

type UserDefinedAcquisitionMetadata

type UserDefinedAcquisitionMetadata struct {
	ID []byte
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL