func (ctxt *Context) SetColorspaceDetails(it *int, sr int, t *int, dr, b, c, s int) int {
	cit := (*C.int)(unsafe.Pointer(it))
	ct := (*C.int)(unsafe.Pointer(t))
	return int(C.sws_setColorspaceDetails((*C.struct_SwsContext)(ctxt), cit, C.int(sr), ct, C.int(dr), C.int(b), C.int(c), C.int(s)))
}
SetColorspaceDetails sets the colorspace details.

C-Function: sws_setColorspaceDetails
package swscale
import "C"
import (
	"unsafe"
)
type (
	Context     C.struct_SwsContext
	Filter      C.struct_SwsFilter
	Vector      C.struct_SwsVector
	Class       C.struct_AVClass
	PixelFormat C.enum_AVPixelFormat
)
func Version() uint {
	return uint(C.swscale_version())
}
func Configuration() string {
	return C.GoString(C.swscale_configuration())
}
func License() string {
	return C.GoString(C.swscale_license())
}
func Coefficients(c int) *int {
	return (*int)(unsafe.Pointer(C.sws_getCoefficients(C.int(c))))
}
func IsSupportedInput(p PixelFormat) bool {
	return int(C.sws_isSupportedInput((C.enum_AVPixelFormat)(p))) != 0
}
func IsSupportedOutput(p PixelFormat) bool {
	return int(C.sws_isSupportedOutput((C.enum_AVPixelFormat)(p))) != 0
}
func IsSupportedEndiannessConversion(p PixelFormat) bool {
	return int(C.sws_isSupportedEndiannessConversion((C.enum_AVPixelFormat)(p))) != 0
}
func (ctxt *Context) Scale(src *uint8, str int, y, h int, d *uint8, ds int) int {
	cctxt := (*C.struct_SwsContext)(unsafe.Pointer(ctxt))
	csrc := (*C.uint8_t)(unsafe.Pointer(src))
	cstr := (*C.int)(unsafe.Pointer(&str))
	cd := (*C.uint8_t)(unsafe.Pointer(d))
	cds := (*C.int)(unsafe.Pointer(&ds))
	return int(C.sws_scale(cctxt, &csrc, cstr, C.int(y), C.int(h), &cd, cds))
}