// Copyright (c) 2023 QRTC. All rights reserved. // Use of this source code is governed by a MIT // license that can be found in the LICENSE file. //go:build ffmpeg_hw_qsv package ffmpeg /* #include */ import "C" // AVQSVDeviceContext 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) }