package ffmpeg /* #include */ import "C" type AvMotionVector C.struct_AVMotionVector // Custom: GetSource gets `AVMotionVector.source` value. func (mv *AvMotionVector) GetSource() int32 { return (int32)(mv.source) } // Custom: SetSource sets `AVMotionVector.source` value. func (mv *AvMotionVector) SetSource(v int32) { mv.source = (C.int32_t)(v) } // Custom: GetSourceAddr gets `AVMotionVector.source` address. func (mv *AvMotionVector) GetSourceAddr() *int32 { return (*int32)(&mv.source) } // Custom: GetW gets `AVMotionVector.w` value. func (mv *AvMotionVector) GetW() uint8 { return (uint8)(mv.w) } // Custom: SetW sets `AVMotionVector.w` value. func (mv *AvMotionVector) SetW(v uint8) { mv.w = (C.uint8_t)(v) } // Custom: GetWAddr gets `AVMotionVector.w` address. func (mv *AvMotionVector) GetWAddr() *uint8 { return (*uint8)(&mv.w) } // Custom: GetH gets `AVMotionVector.h` value. func (mv *AvMotionVector) GetH() uint8 { return (uint8)(mv.h) } // Custom: SetH sets `AVMotionVector.h` value. func (mv *AvMotionVector) SetH(v uint8) { mv.h = (C.uint8_t)(v) } // Custom: GetHAddr gets `AVMotionVector.h` address. func (mv *AvMotionVector) GetHAddr() *uint8 { return (*uint8)(&mv.h) } // Custom: GetSrcX gets `AVMotionVector.src_x` value. func (mv *AvMotionVector) GetSrcX() int16 { return (int16)(mv.src_x) } // Custom: 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. func (mv *AvMotionVector) GetSrcXAddr() *int16 { return (*int16)(&mv.src_x) } // Custom: GetSrcY gets `AVMotionVector.src_y` value. func (mv *AvMotionVector) GetSrcY() int16 { return (int16)(mv.src_y) } // Custom: 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. func (mv *AvMotionVector) GetSrcYAddr() *int16 { return (*int16)(&mv.src_y) } // Custom: GetDstX gets `AVMotionVector.dst_x` value. func (mv *AvMotionVector) GetDstX() int16 { return (int16)(mv.dst_x) } // Custom: 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. func (mv *AvMotionVector) GetDstXAddr() *int16 { return (*int16)(&mv.dst_x) } // Custom: GetDstY gets `AVMotionVector.dst_y` value. func (mv *AvMotionVector) GetDstY() int16 { return (int16)(mv.dst_y) } // Custom: 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. func (mv *AvMotionVector) GetDstYAddr() *int16 { return (*int16)(&mv.dst_y) } // Custom: GetFlags gets `AVMotionVector.flags` value. func (mv *AvMotionVector) GetFlags() uint64 { return (uint64)(mv.flags) } // Custom: SetFlags sets `AVMotionVector.flags` value. func (mv *AvMotionVector) SetFlags(v uint64) { mv.flags = (C.uint64_t)(v) } // Custom: GetFlagsAddr gets `AVMotionVector.flags` address. func (mv *AvMotionVector) GetFlagsAddr() *uint64 { return (*uint64)(&mv.flags) } // Custom: GetMotionX gets `AVMotionVector.motion_x` value. func (mv *AvMotionVector) GetMotionX() int32 { return (int32)(mv.motion_x) } // Custom: 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. func (mv *AvMotionVector) GetMotionXAddr() *int32 { return (*int32)(&mv.motion_x) } // Custom: GetMotionY gets `AVMotionVector.motion_y` value. func (mv *AvMotionVector) GetMotionY() int32 { return (int32)(mv.motion_y) } // Custom: 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. func (mv *AvMotionVector) GetMotionYAddr() *int32 { return (*int32)(&mv.motion_y) } // Custom: GetMotionScale gets `AVMotionVector.motion_scale` value. func (mv *AvMotionVector) GetMotionScale() uint16 { return (uint16)(mv.motion_scale) } // Custom: 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. func (mv *AvMotionVector) GetMotionScaleAddr() *uint16 { return (*uint16)(&mv.motion_scale) }