2023-10-27 06:28:27 CST W43D5

This commit is contained in:
aggresss
2023-10-27 06:28:28 +08:00
parent babffde433
commit 7a0773ebf2
57 changed files with 4729 additions and 2853 deletions

View File

@@ -65,11 +65,15 @@ func AvForceCpuFlags(flags int32) {
}
// Deprecated: Use AvForceCpuFlags() and AvGetCpuFlags() instead
//
// AvSetCpuFlagsMask set a mask on flags returned by AvGetCpuFlags().
func AvSetCpuFlagsMask(mask int32) {
C.av_set_cpu_flags_mask((C.int)(mask))
}
// Deprecated: Use AvParseCpuCaps() when possible.
//
// AvParseCpuFlags parses CPU flags from a string.
func AvParseCpuFlags(str string) int32 {
strPtr, strFunc := StringCasting(str)
defer strFunc()