| 34 | #endif |
| 35 | |
| 36 | static void usage(void) |
| 37 | { |
| 38 | printf("Show the relationships between rawvideo pixel formats and FourCC tags.\n"); |
| 39 | printf("usage: fourcc2pixfmt [OPTIONS]\n"); |
| 40 | printf("\n" |
| 41 | "Options:\n" |
| 42 | "-l list the pixel format for each fourcc\n" |
| 43 | "-L list the fourccs for each pixel format\n" |
| 44 | "-p PIX_FMT given a pixel format, print the list of associated fourccs (one per line)\n" |
| 45 | "-h print this help\n"); |
| 46 | } |
| 47 | |
| 48 | static void print_pix_fmt_fourccs(enum AVPixelFormat pix_fmt, const PixelFormatTag *pix_fmt_tags, char sep) |
| 49 | { |