Mercurial > mplayer.hg
annotate codec-cfg.h @ 27148:858c01b81117
r26502: Document rgbtest arguments
r26057: Fix copy&paste typo in rgbtest documentation
r26198: Grayscale encoding/decoding with FFmpeg is no longer enabled, remove references
r26221: Try to fix the description of what mbcmp influences, please fix if I misunderstood the code.
r26231: better syntax for A key
r26232: added missing escapes
r26260: Experimental support for -framedrop with -correct-pts.
r26271: Mention that '-frames 0' is useful with -identify, closes bug #1046.
r26273: add "ipod" to the list of formats handled by lavf
r26297: compacted new libavformat's 'ipod' description
r26402: Enable runtime control for colorful and/or module name output
r26427: Restore grayscale decoding support with FFmpeg.
r26449: 10L, forgot to commit the documentation for the -noconfig options.
r26460: restore options alphabetical order
r26650: Update documentation for the gl2 driver to make clear gl is usually preferred.
r26674: add h264 to list of supported codecs
r26732: Mark new options Michael committed as undocumented.
r26739: Oops, remove stray .TP.
r26749: -psprobe can be used in mpeg-pes streams, too
r26762: Add a new suboption to -vo xv and -vo xvmc that allows selection
r26763: Remove '(pass 1/2)' from some lavcopts. These options really worked on
r26795: Add support for AppleIR Remote as an input under Linux systems.
r26798: Document the -noar command-line option in en/fr manpages.
r26806: Document x264's AQ options
r26853: Update gl vo section with the new force-pbo suboption.
r26909: Add a slave command to stop stream playback.
r26979: small spelling/wording fixes
r26986: Document VIDIXIVTVALPHA environment variable.
r26997: Fix codec-specific options syntax declaration to be less confusing and wrong.
r27057: Ability for specifying TV standard individually for each TV channel.
r27132: Fix/restore the description of the rectangle video filter.
previously applied:
r27169: add missing escapes and full stops for scaletempo filter
r27179: remove two trailing whitespaces
author | kraymer |
---|---|
date | Mon, 30 Jun 2008 19:35:45 +0000 |
parents | 4129c8cfa742 |
children | a0fe67fe194b |
rev | line source |
---|---|
26029 | 1 #ifndef MPLAYER_CODEC_CFG_H |
2 #define MPLAYER_CODEC_CFG_H | |
297 | 3 |
22915
1cbc0d439cf3
qdrw changed output format in ffmpeg r8630, sync codecs.conf and require
rtogni
parents:
20362
diff
changeset
|
4 #define CODEC_CFG_MIN 20070407 |
6200
e604be87613d
codecs.conf versioning - patch by Joey Parrish <joey@yunamusic.com>
arpi
parents:
6103
diff
changeset
|
5 |
4216 | 6 #define CODECS_MAX_FOURCC 32 |
4675 | 7 #define CODECS_MAX_OUTFMT 16 |
8 #define CODECS_MAX_INFMT 16 | |
297 | 9 |
303 | 10 // Global flags: |
328 | 11 #define CODECS_FLAG_SEEKABLE (1<<0) |
6565 | 12 #define CODECS_FLAG_ALIGN16 (1<<1) |
297 | 13 |
303 | 14 // Outfmt flags: |
299 | 15 #define CODECS_FLAG_FLIP (1<<0) |
16 #define CODECS_FLAG_NOFLIP (1<<1) | |
17 #define CODECS_FLAG_YUVHACK (1<<2) | |
5249 | 18 #define CODECS_FLAG_QUERY (1<<3) |
6103 | 19 #define CODECS_FLAG_STATIC (1<<4) |
299 | 20 |
5177 | 21 #define CODECS_STATUS__MIN 0 |
22 #define CODECS_STATUS_NOT_WORKING -1 | |
23 #define CODECS_STATUS_PROBLEMS 0 | |
24 #define CODECS_STATUS_WORKING 1 | |
25 #define CODECS_STATUS_UNTESTED 2 | |
26 #define CODECS_STATUS__MAX 2 | |
316 | 27 |
299 | 28 |
12358
133e0ebde74d
Make it compile on mingw again. Now it is finally possible to include windows.h in mplayer.c
faust3
parents:
10467
diff
changeset
|
29 #if !defined(GUID_TYPE) && !defined(GUID_DEFINED) |
13591 | 30 #define GUID_TYPE 1 |
31 #define GUID_DEFINED 1 | |
297 | 32 typedef struct { |
300 | 33 unsigned long f1; |
34 unsigned short f2; | |
35 unsigned short f3; | |
36 unsigned char f4[8]; | |
297 | 37 } GUID; |
1836 | 38 #endif |
39 | |
297 | 40 |
2310 | 41 typedef struct codecs_st { |
316 | 42 unsigned int fourcc[CODECS_MAX_FOURCC]; |
43 unsigned int fourccmap[CODECS_MAX_FOURCC]; | |
44 unsigned int outfmt[CODECS_MAX_OUTFMT]; | |
45 unsigned char outflags[CODECS_MAX_OUTFMT]; | |
4675 | 46 unsigned int infmt[CODECS_MAX_INFMT]; |
47 unsigned char inflags[CODECS_MAX_INFMT]; | |
297 | 48 char *name; |
49 char *info; | |
50 char *comment; | |
316 | 51 char *dll; |
7180
28677d779205
-afm/-vfm migration from ID (int) to NAME (string) - simplifies code and makes dlopen()'ing possible
arpi
parents:
6935
diff
changeset
|
52 char* drv; |
316 | 53 GUID guid; |
7180
28677d779205
-afm/-vfm migration from ID (int) to NAME (string) - simplifies code and makes dlopen()'ing possible
arpi
parents:
6935
diff
changeset
|
54 // short driver; |
297 | 55 short flags; |
316 | 56 short status; |
361 | 57 short cpuflags; |
297 | 58 } codecs_t; |
59 | |
18980
ed69754aa58d
Marks several string parameters as const when they are not modified in the function, Patch by Stefan Huehner, stefan AT huehner-org
reynaldo
parents:
18581
diff
changeset
|
60 int parse_codec_cfg(const char *cfgfile); |
16321
efbfac98cab1
Allow forcing of demuxers and codecs by prepending '+'
reimar
parents:
16132
diff
changeset
|
61 codecs_t* find_video_codec(unsigned int fourcc, unsigned int *fourccmap, |
efbfac98cab1
Allow forcing of demuxers and codecs by prepending '+'
reimar
parents:
16132
diff
changeset
|
62 codecs_t *start, int force); |
efbfac98cab1
Allow forcing of demuxers and codecs by prepending '+'
reimar
parents:
16132
diff
changeset
|
63 codecs_t* find_audio_codec(unsigned int fourcc, unsigned int *fourccmap, |
efbfac98cab1
Allow forcing of demuxers and codecs by prepending '+'
reimar
parents:
16132
diff
changeset
|
64 codecs_t *start, int force); |
efbfac98cab1
Allow forcing of demuxers and codecs by prepending '+'
reimar
parents:
16132
diff
changeset
|
65 codecs_t* find_codec(unsigned int fourcc, unsigned int *fourccmap, |
efbfac98cab1
Allow forcing of demuxers and codecs by prepending '+'
reimar
parents:
16132
diff
changeset
|
66 codecs_t *start, int audioflag, int force); |
1983 | 67 void list_codecs(int audioflag); |
17566
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
16321
diff
changeset
|
68 void codecs_uninit_free(void); |
297 | 69 |
25661
293aeec83153
Replace the persistent CODECS_FLAG_SELECTED by a local "stringset" with
reimar
parents:
23870
diff
changeset
|
70 typedef char ** stringset_t; |
293aeec83153
Replace the persistent CODECS_FLAG_SELECTED by a local "stringset" with
reimar
parents:
23870
diff
changeset
|
71 void stringset_init(stringset_t *set); |
293aeec83153
Replace the persistent CODECS_FLAG_SELECTED by a local "stringset" with
reimar
parents:
23870
diff
changeset
|
72 void stringset_free(stringset_t *set); |
293aeec83153
Replace the persistent CODECS_FLAG_SELECTED by a local "stringset" with
reimar
parents:
23870
diff
changeset
|
73 void stringset_add(stringset_t *set, const char *str); |
293aeec83153
Replace the persistent CODECS_FLAG_SELECTED by a local "stringset" with
reimar
parents:
23870
diff
changeset
|
74 int stringset_test(stringset_t *set, const char *str); |
293aeec83153
Replace the persistent CODECS_FLAG_SELECTED by a local "stringset" with
reimar
parents:
23870
diff
changeset
|
75 |
26029 | 76 #endif /* MPLAYER_CODEC_CFG_H */ |