mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-05 07:37:20 +08:00
2023-10-27 06:28:27 CST W43D5
This commit is contained in:
@@ -7,167 +7,167 @@ import "C"
|
||||
|
||||
type AVMotionVector C.struct_AVMotionVector
|
||||
|
||||
// Custom: GetSource gets `AVMotionVector.source` value.
|
||||
// GetSource gets `AVMotionVector.source` value.
|
||||
func (mv *AVMotionVector) GetSource() int32 {
|
||||
return (int32)(mv.source)
|
||||
}
|
||||
|
||||
// Custom: SetSource sets `AVMotionVector.source` value.
|
||||
// SetSource sets `AVMotionVector.source` value.
|
||||
func (mv *AVMotionVector) SetSource(v int32) {
|
||||
mv.source = (C.int32_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetSourceAddr gets `AVMotionVector.source` address.
|
||||
// GetSourceAddr gets `AVMotionVector.source` address.
|
||||
func (mv *AVMotionVector) GetSourceAddr() *int32 {
|
||||
return (*int32)(&mv.source)
|
||||
}
|
||||
|
||||
// Custom: GetW gets `AVMotionVector.w` value.
|
||||
// GetW gets `AVMotionVector.w` value.
|
||||
func (mv *AVMotionVector) GetW() uint8 {
|
||||
return (uint8)(mv.w)
|
||||
}
|
||||
|
||||
// Custom: SetW sets `AVMotionVector.w` value.
|
||||
// SetW sets `AVMotionVector.w` value.
|
||||
func (mv *AVMotionVector) SetW(v uint8) {
|
||||
mv.w = (C.uint8_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetWAddr gets `AVMotionVector.w` address.
|
||||
// GetWAddr gets `AVMotionVector.w` address.
|
||||
func (mv *AVMotionVector) GetWAddr() *uint8 {
|
||||
return (*uint8)(&mv.w)
|
||||
}
|
||||
|
||||
// Custom: GetH gets `AVMotionVector.h` value.
|
||||
// GetH gets `AVMotionVector.h` value.
|
||||
func (mv *AVMotionVector) GetH() uint8 {
|
||||
return (uint8)(mv.h)
|
||||
}
|
||||
|
||||
// Custom: SetH sets `AVMotionVector.h` value.
|
||||
// SetH sets `AVMotionVector.h` value.
|
||||
func (mv *AVMotionVector) SetH(v uint8) {
|
||||
mv.h = (C.uint8_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetHAddr gets `AVMotionVector.h` address.
|
||||
// GetHAddr gets `AVMotionVector.h` address.
|
||||
func (mv *AVMotionVector) GetHAddr() *uint8 {
|
||||
return (*uint8)(&mv.h)
|
||||
}
|
||||
|
||||
// Custom: GetSrcX gets `AVMotionVector.src_x` value.
|
||||
// GetSrcX gets `AVMotionVector.src_x` value.
|
||||
func (mv *AVMotionVector) GetSrcX() int16 {
|
||||
return (int16)(mv.src_x)
|
||||
}
|
||||
|
||||
// Custom: SetSrcX sets `AVMotionVector.src_x` value.
|
||||
// SetSrcX sets `AVMotionVector.src_x` value.
|
||||
func (mv *AVMotionVector) SetSrcX(v int16) {
|
||||
mv.src_x = (C.int16_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetSrcXAddr gets `AVMotionVector.src_x` address.
|
||||
// GetSrcXAddr gets `AVMotionVector.src_x` address.
|
||||
func (mv *AVMotionVector) GetSrcXAddr() *int16 {
|
||||
return (*int16)(&mv.src_x)
|
||||
}
|
||||
|
||||
// Custom: GetSrcY gets `AVMotionVector.src_y` value.
|
||||
// GetSrcY gets `AVMotionVector.src_y` value.
|
||||
func (mv *AVMotionVector) GetSrcY() int16 {
|
||||
return (int16)(mv.src_y)
|
||||
}
|
||||
|
||||
// Custom: SetSrcY sets `AVMotionVector.src_y` value.
|
||||
// SetSrcY sets `AVMotionVector.src_y` value.
|
||||
func (mv *AVMotionVector) SetSrcY(v int16) {
|
||||
mv.src_y = (C.int16_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetSrcYAddr gets `AVMotionVector.src_y` address.
|
||||
// GetSrcYAddr gets `AVMotionVector.src_y` address.
|
||||
func (mv *AVMotionVector) GetSrcYAddr() *int16 {
|
||||
return (*int16)(&mv.src_y)
|
||||
}
|
||||
|
||||
// Custom: GetDstX gets `AVMotionVector.dst_x` value.
|
||||
// GetDstX gets `AVMotionVector.dst_x` value.
|
||||
func (mv *AVMotionVector) GetDstX() int16 {
|
||||
return (int16)(mv.dst_x)
|
||||
}
|
||||
|
||||
// Custom: SetDstX sets `AVMotionVector.dst_x` value.
|
||||
// SetDstX sets `AVMotionVector.dst_x` value.
|
||||
func (mv *AVMotionVector) SetDstX(v int16) {
|
||||
mv.dst_x = (C.int16_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetDstXAddr gets `AVMotionVector.dst_x` address.
|
||||
// GetDstXAddr gets `AVMotionVector.dst_x` address.
|
||||
func (mv *AVMotionVector) GetDstXAddr() *int16 {
|
||||
return (*int16)(&mv.dst_x)
|
||||
}
|
||||
|
||||
// Custom: GetDstY gets `AVMotionVector.dst_y` value.
|
||||
// GetDstY gets `AVMotionVector.dst_y` value.
|
||||
func (mv *AVMotionVector) GetDstY() int16 {
|
||||
return (int16)(mv.dst_y)
|
||||
}
|
||||
|
||||
// Custom: SetDstY sets `AVMotionVector.dst_y` value.
|
||||
// SetDstY sets `AVMotionVector.dst_y` value.
|
||||
func (mv *AVMotionVector) SetDstY(v int16) {
|
||||
mv.dst_y = (C.int16_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetDstYAddr gets `AVMotionVector.dst_y` address.
|
||||
// GetDstYAddr gets `AVMotionVector.dst_y` address.
|
||||
func (mv *AVMotionVector) GetDstYAddr() *int16 {
|
||||
return (*int16)(&mv.dst_y)
|
||||
}
|
||||
|
||||
// Custom: GetFlags gets `AVMotionVector.flags` value.
|
||||
// GetFlags gets `AVMotionVector.flags` value.
|
||||
func (mv *AVMotionVector) GetFlags() uint64 {
|
||||
return (uint64)(mv.flags)
|
||||
}
|
||||
|
||||
// Custom: SetFlags sets `AVMotionVector.flags` value.
|
||||
// SetFlags sets `AVMotionVector.flags` value.
|
||||
func (mv *AVMotionVector) SetFlags(v uint64) {
|
||||
mv.flags = (C.uint64_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetFlagsAddr gets `AVMotionVector.flags` address.
|
||||
// GetFlagsAddr gets `AVMotionVector.flags` address.
|
||||
func (mv *AVMotionVector) GetFlagsAddr() *uint64 {
|
||||
return (*uint64)(&mv.flags)
|
||||
}
|
||||
|
||||
// Custom: GetMotionX gets `AVMotionVector.motion_x` value.
|
||||
// GetMotionX gets `AVMotionVector.motion_x` value.
|
||||
func (mv *AVMotionVector) GetMotionX() int32 {
|
||||
return (int32)(mv.motion_x)
|
||||
}
|
||||
|
||||
// Custom: SetMotionX sets `AVMotionVector.motion_x` value.
|
||||
// SetMotionX sets `AVMotionVector.motion_x` value.
|
||||
func (mv *AVMotionVector) SetMotionX(v int32) {
|
||||
mv.motion_x = (C.int32_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetMotionXAddr gets `AVMotionVector.motion_x` address.
|
||||
// GetMotionXAddr gets `AVMotionVector.motion_x` address.
|
||||
func (mv *AVMotionVector) GetMotionXAddr() *int32 {
|
||||
return (*int32)(&mv.motion_x)
|
||||
}
|
||||
|
||||
// Custom: GetMotionY gets `AVMotionVector.motion_y` value.
|
||||
// GetMotionY gets `AVMotionVector.motion_y` value.
|
||||
func (mv *AVMotionVector) GetMotionY() int32 {
|
||||
return (int32)(mv.motion_y)
|
||||
}
|
||||
|
||||
// Custom: SetMotionY sets `AVMotionVector.motion_y` value.
|
||||
// SetMotionY sets `AVMotionVector.motion_y` value.
|
||||
func (mv *AVMotionVector) SetMotionY(v int32) {
|
||||
mv.motion_y = (C.int32_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetMotionYAddr gets `AVMotionVector.motion_y` address.
|
||||
// GetMotionYAddr gets `AVMotionVector.motion_y` address.
|
||||
func (mv *AVMotionVector) GetMotionYAddr() *int32 {
|
||||
return (*int32)(&mv.motion_y)
|
||||
}
|
||||
|
||||
// Custom: GetMotionScale gets `AVMotionVector.motion_scale` value.
|
||||
// GetMotionScale gets `AVMotionVector.motion_scale` value.
|
||||
func (mv *AVMotionVector) GetMotionScale() uint16 {
|
||||
return (uint16)(mv.motion_scale)
|
||||
}
|
||||
|
||||
// Custom: SetMotionScale sets `AVMotionVector.motion_scale` value.
|
||||
// SetMotionScale sets `AVMotionVector.motion_scale` value.
|
||||
func (mv *AVMotionVector) SetMotionScale(v uint16) {
|
||||
mv.motion_scale = (C.uint16_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetMotionScaleAddr gets `AVMotionVector.motion_scale` address.
|
||||
// GetMotionScaleAddr gets `AVMotionVector.motion_scale` address.
|
||||
func (mv *AVMotionVector) GetMotionScaleAddr() *uint16 {
|
||||
return (*uint16)(&mv.motion_scale)
|
||||
}
|
||||
|
Reference in New Issue
Block a user