| GStreamer VA-API Plugins 1.2 Library Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
enum GstVaapiCodec; enum GstVaapiProfile; enum GstVaapiEntrypoint; GstVaapiProfile gst_vaapi_profile (VAProfile profile); GstVaapiProfile gst_vaapi_profile_from_caps (const GstCaps *caps); VAProfile gst_vaapi_profile_get_va_profile (GstVaapiProfile profile); GstCaps * gst_vaapi_profile_get_caps (GstVaapiProfile profile); GstVaapiCodec gst_vaapi_profile_get_codec (GstVaapiProfile profile); GstVaapiEntrypoint gst_vaapi_entrypoint (VAEntrypoint entrypoint); VAEntrypoint gst_vaapi_entrypoint_get_va_entrypoint (GstVaapiEntrypoint entrypoint);
typedef enum {
GST_VAAPI_CODEC_MPEG1 = GST_MAKE_FOURCC('M','P','1',0),
GST_VAAPI_CODEC_MPEG2 = GST_MAKE_FOURCC('M','P','2',0),
GST_VAAPI_CODEC_MPEG4 = GST_MAKE_FOURCC('M','P','4',0),
GST_VAAPI_CODEC_H263 = GST_MAKE_FOURCC('2','6','3',0),
GST_VAAPI_CODEC_H264 = GST_MAKE_FOURCC('2','6','4',0),
GST_VAAPI_CODEC_WMV3 = GST_MAKE_FOURCC('W','M','V',0),
GST_VAAPI_CODEC_VC1 = GST_MAKE_FOURCC('V','C','1',0),
GST_VAAPI_CODEC_JPEG = GST_MAKE_FOURCC('J','P','G',0),
} GstVaapiCodec;
The set of all codecs for GstVaapiCodec.
| MPEG-1 (ISO/IEC 11172) | |
| MPEG-2 (ISO/IEC 13818-2) | |
| MPEG-4 Part 2 (ISO/IEC 14496-2) | |
| H.263 | |
| H.264 aka MPEG-4 Part 10 (ISO/IEC 14496-10) | |
| Windows Media Video 9. VC-1 Simple or Main profile (SMPTE 421M) | |
| VC-1 Advanced profile (SMPTE 421M) | |
| JPEG (ITU-T 81) |
typedef enum {
GST_VAAPI_PROFILE_UNKNOWN = 0,
GST_VAAPI_PROFILE_MPEG1 = GST_VAAPI_MAKE_PROFILE(MPEG1,1),
GST_VAAPI_PROFILE_MPEG2_SIMPLE = GST_VAAPI_MAKE_PROFILE(MPEG2,1),
GST_VAAPI_PROFILE_MPEG2_MAIN = GST_VAAPI_MAKE_PROFILE(MPEG2,2),
GST_VAAPI_PROFILE_MPEG2_HIGH = GST_VAAPI_MAKE_PROFILE(MPEG2,3),
GST_VAAPI_PROFILE_MPEG4_SIMPLE = GST_VAAPI_MAKE_PROFILE(MPEG4,1),
GST_VAAPI_PROFILE_MPEG4_ADVANCED_SIMPLE = GST_VAAPI_MAKE_PROFILE(MPEG4,2),
GST_VAAPI_PROFILE_MPEG4_MAIN = GST_VAAPI_MAKE_PROFILE(MPEG4,3),
GST_VAAPI_PROFILE_H263_BASELINE = GST_VAAPI_MAKE_PROFILE(H263,1),
GST_VAAPI_PROFILE_H264_BASELINE = GST_VAAPI_MAKE_PROFILE(H264,1),
GST_VAAPI_PROFILE_H264_MAIN = GST_VAAPI_MAKE_PROFILE(H264,2),
GST_VAAPI_PROFILE_H264_HIGH = GST_VAAPI_MAKE_PROFILE(H264,3),
GST_VAAPI_PROFILE_VC1_SIMPLE = GST_VAAPI_MAKE_PROFILE(VC1,1),
GST_VAAPI_PROFILE_VC1_MAIN = GST_VAAPI_MAKE_PROFILE(VC1,2),
GST_VAAPI_PROFILE_VC1_ADVANCED = GST_VAAPI_MAKE_PROFILE(VC1,3),
GST_VAAPI_PROFILE_JPEG_BASELINE = GST_VAAPI_MAKE_PROFILE(JPEG,1),
} GstVaapiProfile;
The set of all profiles for GstVaapiProfile.
| Unknown profile, used for initializers | |
| MPEG-1 | |
| MPEG-2 simple profile | |
| MPEG-2 main profile | |
| MPEG-2 high profile | |
| MPEG-4 Part-2 simple profile | |
| MPEG-4 Part-2 advanced simple profile | |
| MPEG-4 Part-2 main profile | |
| H.263 baseline profile | |
| H.264 (MPEG-4 Part-10) baseline profile | |
| H.264 (MPEG-4 Part-10) main profile | |
| H.264 (MPEG-4 Part-10) high profile | |
| VC-1 simple profile | |
| VC-1 main profile | |
| VC-1 advanced profile | |
| JPEG baseline profile |
typedef enum {
GST_VAAPI_ENTRYPOINT_VLD = 1,
GST_VAAPI_ENTRYPOINT_IDCT,
GST_VAAPI_ENTRYPOINT_MOCO,
GST_VAAPI_ENTRYPOINT_SLICE_ENCODE
} GstVaapiEntrypoint;
The set of all entrypoints for GstVaapiEntrypoint
GstVaapiProfile gst_vaapi_profile (VAProfile profile);
Converts a VA profile into the corresponding GstVaapiProfile. If the profile cannot be represented by GstVaapiProfile, then zero is returned.
|
a VAProfile |
Returns : |
the GstVaapiProfile describing the profile
|
GstVaapiProfile gst_vaapi_profile_from_caps (const GstCaps *caps);
Converts caps into the corresponding GstVaapiProfile. If the
profile cannot be represented by GstVaapiProfile, then zero is
returned.
|
a GstCaps |
Returns : |
the GstVaapiProfile describing the caps
|
VAProfile gst_vaapi_profile_get_va_profile (GstVaapiProfile profile);
Converts a GstVaapiProfile into the corresponding VA profile. If no matching VA profile was found, -1 is returned and this error must be reported to be fixed.
|
a GstVaapiProfile |
Returns : |
the VA profile, or -1 if none was found |
GstCaps * gst_vaapi_profile_get_caps (GstVaapiProfile profile);
Converts a GstVaapiProfile into the corresponding GstCaps. If no
matching caps were found, NULL is returned.
|
a GstVaapiProfile |
Returns : |
the newly allocated GstCaps, or NULL if none was found |
GstVaapiCodec gst_vaapi_profile_get_codec (GstVaapiProfile profile);
Extracts the GstVaapiCodec from profile.
|
a GstVaapiProfile |
Returns : |
the GstVaapiCodec from profile
|
GstVaapiEntrypoint gst_vaapi_entrypoint (VAEntrypoint entrypoint);
Converts a VA entry-point into the corresponding GstVaapiEntrypoint. If the entry-point cannot be represented by GstVaapiEntrypoint, then zero is returned.
|
a VAEntrypoint |
Returns : |
the GstVaapiEntrypoint describing the entrypoint
|
VAEntrypoint gst_vaapi_entrypoint_get_va_entrypoint
(GstVaapiEntrypoint entrypoint);
Converts a GstVaapiEntrypoint into the corresponding VA entry-point. If no matching VA entry-point was found, -1 is returned and this error must be reported to be fixed.
|
a GstVaapiEntrypoint |
Returns : |
the VA entry-point, or -1 if none was found |