mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
29e2850eff
Original commit message from CVS: Documentation updates
40 lines
891 B
Text
40 lines
891 B
Text
<!-- ##### SECTION Title ##### -->
|
|
GstCpu
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
|
|
Request the features of the CPU.
|
|
|
|
<!-- ##### 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>
|
|
|
|
<!-- ##### 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
|
|
|
|
<!-- ##### FUNCTION gst_cpu_get_flags ##### -->
|
|
<para>
|
|
Request a set of bits specifiying the features of the CPU.
|
|
</para>
|
|
|
|
@Returns: the features of the CPU
|
|
|
|
|