| GStreamer Library Reference Manual (Core) | |||
|---|---|---|---|
| <<< Previous Page | Home | Up | Next Page >>> |
This module can be used when developing plugins. It is typically used to enable special optimisations based on the features of the CPU.
You'll get a bitmask of flags with gst_cpu_get_flags().
typedef enum {
GST_CPU_FLAG_MMX = (1<<0),
GST_CPU_FLAG_SSE = (1<<1),
GST_CPU_FLAG_MMXEXT = (1<<2),
GST_CPU_FLAG_3DNOW = (1<<3),
} GstCPUFlags; |
GstCPUFlags gst_cpu_get_flags (void); |
Request a set of bits specifiying the features of the CPU.