2002-01-15 00:41:22 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GstCpu
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2004-03-25 04:20:33 +00:00
|
|
|
Descripe CPU features
|
2002-01-15 00:41:22 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
|
|
|
This module can be used when developing plugins. It is
|
|
|
|
typically used to enable special optimisations based on the
|
|
|
|
features of the CPU.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
You'll get a bitmask of flags with gst_cpu_get_flags().
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-03-15 14:43:35 +00:00
|
|
|
<!-- ##### ENUM GstCPUFlags ##### -->
|
|
|
|
<para>
|
|
|
|
Flags that represent cpu capabilities
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@GST_CPU_FLAG_MMX: The cpu is mmx enabled
|
|
|
|
@GST_CPU_FLAG_SSE: The cpu is sse enabled
|
|
|
|
@GST_CPU_FLAG_MMXEXT: The cpu has extended mmx instructions
|
|
|
|
@GST_CPU_FLAG_3DNOW: The cpu is 3DNOW enabled
|
|
|
|
|
2002-01-15 00:41:22 +00:00
|
|
|
<!-- ##### FUNCTION gst_cpu_get_flags ##### -->
|
|
|
|
<para>
|
|
|
|
Request a set of bits specifiying the features of the CPU.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@Returns: the features of the CPU
|
|
|
|
|
|
|
|
|