2023-10-27 06:28:27 CST W43D5

This commit is contained in:
aggresss
2023-10-27 06:28:28 +08:00
parent babffde433
commit 7a0773ebf2
57 changed files with 4729 additions and 2853 deletions

View File

@@ -16,137 +16,137 @@ const (
type AVSphericalMapping C.struct_AVSphericalMapping
// Custom: GetProjection gets `AVSphericalMapping.projection` value.
// GetProjection gets `AVSphericalMapping.projection` value.
func (smp *AVSphericalMapping) GetProjection() AVSphericalProjection {
return (AVSphericalProjection)(smp.projection)
}
// Custom: SetProjection sets `AVSphericalMapping.projection` value.
// SetProjection sets `AVSphericalMapping.projection` value.
func (smp *AVSphericalMapping) SetProjection(v AVSphericalProjection) {
smp.projection = (C.enum_AVSphericalProjection)(v)
}
// Custom: GetProjectionAddr gets `AVSphericalMapping.projection` address.
// GetProjectionAddr gets `AVSphericalMapping.projection` address.
func (smp *AVSphericalMapping) GetProjectionAddr() *AVSphericalProjection {
return (*AVSphericalProjection)(&smp.projection)
}
// Custom: GetYaw gets `AVSphericalMapping.yaw` value.
// GetYaw gets `AVSphericalMapping.yaw` value.
func (smp *AVSphericalMapping) GetYaw() int32 {
return (int32)(smp.yaw)
}
// Custom: SetYaw sets `AVSphericalMapping.yaw` value.
// SetYaw sets `AVSphericalMapping.yaw` value.
func (smp *AVSphericalMapping) SetYaw(v int32) {
smp.yaw = (C.int32_t)(v)
}
// Custom: GetYawAddr gets `AVSphericalMapping.yaw` address.
// GetYawAddr gets `AVSphericalMapping.yaw` address.
func (smp *AVSphericalMapping) GetYawAddr() *int32 {
return (*int32)(&smp.yaw)
}
// Custom: GetPitch gets `AVSphericalMapping.pitch` value.
// GetPitch gets `AVSphericalMapping.pitch` value.
func (smp *AVSphericalMapping) GetPitch() int32 {
return (int32)(smp.pitch)
}
// Custom: SetPitch sets `AVSphericalMapping.pitch` value.
// SetPitch sets `AVSphericalMapping.pitch` value.
func (smp *AVSphericalMapping) SetPitch(v int32) {
smp.pitch = (C.int32_t)(v)
}
// Custom: GetPitchAddr gets `AVSphericalMapping.pitch` address.
// GetPitchAddr gets `AVSphericalMapping.pitch` address.
func (smp *AVSphericalMapping) GetPitchAddr() *int32 {
return (*int32)(&smp.pitch)
}
// Custom: GetRoll gets `AVSphericalMapping.roll` value.
// GetRoll gets `AVSphericalMapping.roll` value.
func (smp *AVSphericalMapping) GetRoll() int32 {
return (int32)(smp.roll)
}
// Custom: SetRoll sets `AVSphericalMapping.roll` value.
// SetRoll sets `AVSphericalMapping.roll` value.
func (smp *AVSphericalMapping) SetRoll(v int32) {
smp.roll = (C.int32_t)(v)
}
// Custom: GetRollAddr gets `AVSphericalMapping.roll` address.
// GetRollAddr gets `AVSphericalMapping.roll` address.
func (smp *AVSphericalMapping) GetRollAddr() *int32 {
return (*int32)(&smp.roll)
}
// Custom: GetBoundLeft gets `AVSphericalMapping.bound_left` value.
// GetBoundLeft gets `AVSphericalMapping.bound_left` value.
func (smp *AVSphericalMapping) GetBoundLeft() uint32 {
return (uint32)(smp.bound_left)
}
// Custom: SetBoundLeft sets `AVSphericalMapping.bound_left` value.
// SetBoundLeft sets `AVSphericalMapping.bound_left` value.
func (smp *AVSphericalMapping) SetBoundLeft(v uint32) {
smp.bound_left = (C.uint32_t)(v)
}
// Custom: GetBoundLeftAddr gets `AVSphericalMapping.bound_left` address.
// GetBoundLeftAddr gets `AVSphericalMapping.bound_left` address.
func (smp *AVSphericalMapping) GetBoundLeftAddr() *uint32 {
return (*uint32)(&smp.bound_left)
}
// Custom: GetBoundTop gets `AVSphericalMapping.bound_top` value.
// GetBoundTop gets `AVSphericalMapping.bound_top` value.
func (smp *AVSphericalMapping) GetBoundTop() uint32 {
return (uint32)(smp.bound_top)
}
// Custom: SetBoundTop sets `AVSphericalMapping.bound_top` value.
// SetBoundTop sets `AVSphericalMapping.bound_top` value.
func (smp *AVSphericalMapping) SetBoundTop(v uint32) {
smp.bound_top = (C.uint32_t)(v)
}
// Custom: GetBoundTopAddr gets `AVSphericalMapping.bound_top` address.
// GetBoundTopAddr gets `AVSphericalMapping.bound_top` address.
func (smp *AVSphericalMapping) GetBoundTopAddr() *uint32 {
return (*uint32)(&smp.bound_top)
}
// Custom: GetBoundRight gets `AVSphericalMapping.bound_right` value.
// GetBoundRight gets `AVSphericalMapping.bound_right` value.
func (smp *AVSphericalMapping) GetBoundRight() uint32 {
return (uint32)(smp.bound_right)
}
// Custom: SetBoundRight sets `AVSphericalMapping.bound_right` value.
// SetBoundRight sets `AVSphericalMapping.bound_right` value.
func (smp *AVSphericalMapping) SetBoundRight(v uint32) {
smp.bound_right = (C.uint32_t)(v)
}
// Custom: GetBoundRightAddr gets `AVSphericalMapping.bound_right` address.
// GetBoundRightAddr gets `AVSphericalMapping.bound_right` address.
func (smp *AVSphericalMapping) GetBoundRightAddr() *uint32 {
return (*uint32)(&smp.bound_right)
}
// Custom: GetBoundBottom gets `AVSphericalMapping.bound_bottom` value.
// GetBoundBottom gets `AVSphericalMapping.bound_bottom` value.
func (smp *AVSphericalMapping) GetBoundBottom() uint32 {
return (uint32)(smp.bound_bottom)
}
// Custom: SetBoundBottom sets `AVSphericalMapping.bound_bottom` value.
// SetBoundBottom sets `AVSphericalMapping.bound_bottom` value.
func (smp *AVSphericalMapping) SetBoundBottom(v uint32) {
smp.bound_bottom = (C.uint32_t)(v)
}
// Custom: GetBoundBottomAddr gets `AVSphericalMapping.bound_bottom` address.
// GetBoundBottomAddr gets `AVSphericalMapping.bound_bottom` address.
func (smp *AVSphericalMapping) GetBoundBottomAddr() *uint32 {
return (*uint32)(&smp.bound_bottom)
}
// Custom: GetPadding gets `AVSphericalMapping.padding` value.
// GetPadding gets `AVSphericalMapping.padding` value.
func (smp *AVSphericalMapping) GetPadding() uint32 {
return (uint32)(smp.padding)
}
// Custom: SetPadding sets `AVSphericalMapping.padding` value.
// SetPadding sets `AVSphericalMapping.padding` value.
func (smp *AVSphericalMapping) SetPadding(v uint32) {
smp.padding = (C.uint32_t)(v)
}
// Custom: GetPaddingAddr gets `AVSphericalMapping.padding` address.
// GetPaddingAddr gets `AVSphericalMapping.padding` address.
func (smp *AVSphericalMapping) GetPaddingAddr() *uint32 {
return (*uint32)(&smp.padding)
}