XvQueryEncodings - Online Linux Manual PageSection : 3
Updated : libXv 1.0.11
Source : X Version 11
Note : libXv Functions

NAMEXvQueryEncodings − return list of encodings for an adaptor

SYNOPSIS#include <X11/extensions/Xvlib.h> int XvQueryEncodings(Display *dpy, XvPortID port, unsigned int *p_num_encodings, XvEncodingInfo **pp_encoding_info);

ARGUMENTS dpy Specifies the connection to the X server. port Specifies the port whose adaptor is to be queried for its list of encodings. p_num_encodings A pointer to where the number of encodings supported by the adaptor is written. pp_encoding_info A pointer to where the list of returned encoding information is returned. XvEncodingInfo has the following structure: typedef struct { XvEncodingID encoding_id; char *name; unsigned long width; unsigned long height; XvRational rate; unsigned long num_encodings; } XvEncodingInfo; encoding_id Specifies the encoding-id of the encoding. The encoding-id is used to identify an encoding when a port's encoding attribute is changed. name A pointer to a formatted string that identifies the encoding. The string has the format "timing-signaltype". For example "ntsc-composite". width,height The width and height, in pixels, of the decoded video image. rate The field rate of the decoded video. The XvRational structure is used to specify a fractional number. It has the following structure: typedef struct { int numerator; int denominator; } XvRational; The numerator and denominator fields specify the appropriate parts of a fractional number.

DESCRIPTIONXvQueryEncodings(3) returns encoding information about an adaptor. Each encoding is described by the XvEncodingInfo structure described above. The encodings are identified by an encoding-id, which can be used to set or get the encoding attribute of a port.

RETURN VALUES[Success] Returned if XvQueryEncodings(3) completed successfully. [XvBadExtension] Returned if the Xv extension is unavailable. [XvBadAlloc] Returned if XvQueryEncodings(3) failed to allocate memory to process the request.

DIAGNOSTICS[XvBadPort] Generated if the requested port does not exist.

SEE ALSO XvFreeEncodingInfo(3)
0
Johanes Gumabo
Data Size   :   9,036 byte
man-XvQueryEncodings.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 185,202
Visitor ID   :     :  
Visitor IP   :   3.133.143.118   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.