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