Revision 80a07f6e libavutil/pixdesc.h
libavutil/pixdesc.h | ||
---|---|---|
203 | 203 |
} |
204 | 204 |
|
205 | 205 |
/** |
206 |
* Returns the pixel format corresponding to name. |
|
207 |
* |
|
208 |
* If there is no pixel format with name name, then looks for a |
|
209 |
* pixel format with the name corresponding to the native endian |
|
210 |
* format of name. |
|
211 |
* For example in a little-endian system, first looks for "gray16", |
|
212 |
* then for "gray16le". |
|
213 |
* |
|
214 |
* Finally if no pixel format has been found, returns PIX_FMT_NONE. |
|
215 |
*/ |
|
216 |
enum PixelFormat av_get_pix_fmt(const char *name); |
|
217 |
|
|
218 |
/** |
|
206 | 219 |
* Returns the number of bits per pixel used by the pixel format |
207 | 220 |
* described by pixdesc. |
208 | 221 |
* |
Also available in: Unified diff