mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-26 17:01:12 +08:00
2023-10-31 09:16:44 CST W44D2
This commit is contained in:
@@ -16,3 +16,18 @@ type AVQSVDeviceContext C.struct_AVQSVDeviceContext
|
||||
|
||||
// AVQSVFramesContext
|
||||
type AVQSVFramesContext C.struct_AVQSVFramesContext
|
||||
|
||||
// GetFrameType gets `AVQSVFramesContext.frame_type` value.
|
||||
func (ctx *AVQSVFramesContext) GetFrameType() int32 {
|
||||
return (int32)(ctx.frame_type)
|
||||
}
|
||||
|
||||
// SetFrameType sets `AVQSVFramesContext.frame_type` value.
|
||||
func (ctx *AVQSVFramesContext) SetFrameType(v int32) {
|
||||
ctx.frame_type = (C.int)(v)
|
||||
}
|
||||
|
||||
// GetFrameTypeAddr gets `AVQSVFramesContext.frame_type` address.
|
||||
func (ctx *AVQSVFramesContext) GetFrameTypeAddr() *int32 {
|
||||
return (*int32)(&ctx.frame_type)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user