| @@ -210,6 +210,7 @@ enum CodecID { · 209 unmodified lines |
| 210 | CODEC_ID_DFA, | 210 | CODEC_ID_DFA, |
| 211 | | 211 | |
| 212 | /* various PCM "codecs" */ | 212 | /* various PCM "codecs" */ |
| | 213 | CODEC_ID_FIRST_AUDIO = 0x10000, ///< A dummy id pointing at the start of audio codecs |
| 213 | CODEC_ID_PCM_S16LE= 0x10000, | 214 | CODEC_ID_PCM_S16LE= 0x10000, |
| 214 | CODEC_ID_PCM_S16BE, | 215 | CODEC_ID_PCM_S16BE, |
| 215 | CODEC_ID_PCM_U16LE, | 216 | CODEC_ID_PCM_U16LE, |
| @@ -340,6 +341,7 @@ enum CodecID { · 124 unmodified lines |
| 340 | CODEC_ID_QDMC, | 341 | CODEC_ID_QDMC, |
| 341 | | 342 | |
| 342 | /* subtitle codecs */ | 343 | /* subtitle codecs */ |
| | 344 | CODEC_ID_FIRST_SUBTITLE = 0x17000, ///< A dummy ID pointing at the start of subtitle codecs. |
| 343 | CODEC_ID_DVD_SUBTITLE= 0x17000, | 345 | CODEC_ID_DVD_SUBTITLE= 0x17000, |
| 344 | CODEC_ID_DVB_SUBTITLE, | 346 | CODEC_ID_DVB_SUBTITLE, |
| 345 | CODEC_ID_TEXT, ///< raw UTF-8 text | 347 | CODEC_ID_TEXT, ///< raw UTF-8 text |
| @@ -351,6 +353,7 @@ enum CodecID { · 5 unmodified lines |
| 351 | CODEC_ID_SRT, | 353 | CODEC_ID_SRT, |
| 352 | | 354 | |
| 353 | /* other specific kind of codecs (generally used for attachments) */ | 355 | /* other specific kind of codecs (generally used for attachments) */ |
| | 356 | CODEC_ID_FIRST_UNKNOWN = 0x18000, ///< A dummy ID pointing at the start of various fake codecs. |
| 354 | CODEC_ID_TTF= 0x18000, | 357 | CODEC_ID_TTF= 0x18000, |
| 355 | | 358 | |
| 356 | CODEC_ID_PROBE= 0x19000, ///< codec_id is not known (like CODEC_ID_NONE) but lavf should attempt to identify it | 359 | CODEC_ID_PROBE= 0x19000, ///< codec_id is not known (like CODEC_ID_NONE) but lavf should attempt to identify it |
| @@ -4273,4 +4276,9 @@ enum AVLockOp { · 3916 unmodified lines |
| 4273 | */ | 4276 | */ |
| 4274 | int av_lockmgr_register(int (*cb)(void **mutex, enum AVLockOp op)); | 4277 | int av_lockmgr_register(int (*cb)(void **mutex, enum AVLockOp op)); |
| 4275 | | 4278 | |
| | 4279 | /** |
| | 4280 | * Get the type of the given codec. |
| | 4281 | */ |
| | 4282 | enum AVMediaType avcodec_get_type(enum CodecID codec_id); |
| | 4283 | |
| 4276 | #endif /* AVCODEC_AVCODEC_H */ | 4284 | #endif /* AVCODEC_AVCODEC_H */ |