Misc types and constants that do not belong anywhere else.
More...
#include <stdint.h>
#include <stdlib.h>
Go to the source code of this file.
|
| #define | AV_INPUT_BUFFER_PADDING_SIZE 64 |
| | Required number of additionally allocated bytes at the end of the input bitstream for decoding.
|
| |
| #define | AV_EF_CRCCHECK (1<<0) |
| | Verify checksums embedded in the bitstream (could be of either encoded or decoded data, depending on the format) and print an error message on mismatch.
|
| |
| #define | AV_EF_BITSTREAM (1<<1) |
| | detect bitstream specification deviations
|
| |
| #define | AV_EF_BUFFER (1<<2) |
| | detect improper bitstream length
|
| |
| #define | AV_EF_EXPLODE (1<<3) |
| | abort decoding on minor error detection
|
| |
| #define | AV_EF_IGNORE_ERR (1<<15) |
| | ignore errors and continue
|
| |
| #define | AV_EF_CAREFUL (1<<16) |
| | consider things that violate the spec, are fast to calculate and have not been seen in the wild as errors
|
| |
| #define | AV_EF_COMPLIANT (1<<17) |
| | consider all spec non compliances as errors
|
| |
| #define | AV_EF_AGGRESSIVE (1<<18) |
| | consider things that a sane encoder/muxer should not do as an error
|
| |
| #define | FF_COMPLIANCE_VERY_STRICT 2 |
| | Strictly conform to an older more strict version of the spec or reference software.
|
| |
| #define | FF_COMPLIANCE_STRICT 1 |
| | Strictly conform to all the things in the spec no matter what consequences.
|
| |
| #define | FF_COMPLIANCE_NORMAL 0 |
| |
| #define | FF_COMPLIANCE_UNOFFICIAL -1 |
| | Allow unofficial extensions.
|
| |
| #define | FF_COMPLIANCE_EXPERIMENTAL -2 |
| | Allow nonstandardized experimental things.
|
| |
|
| enum | AVDiscard {
AVDISCARD_NONE =-16
, AVDISCARD_DEFAULT = 0
, AVDISCARD_NONREF = 8
, AVDISCARD_BIDIR = 16
,
AVDISCARD_NONINTRA = 24
, AVDISCARD_NONKEY = 32
, AVDISCARD_ALL = 48
} |
| |
| enum | AVAudioServiceType {
AV_AUDIO_SERVICE_TYPE_MAIN = 0
, AV_AUDIO_SERVICE_TYPE_EFFECTS = 1
, AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED = 2
, AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED = 3
,
AV_AUDIO_SERVICE_TYPE_DIALOGUE = 4
, AV_AUDIO_SERVICE_TYPE_COMMENTARY = 5
, AV_AUDIO_SERVICE_TYPE_EMERGENCY = 6
, AV_AUDIO_SERVICE_TYPE_VOICE_OVER = 7
,
AV_AUDIO_SERVICE_TYPE_KARAOKE = 8
, AV_AUDIO_SERVICE_TYPE_NB
} |
| |
Misc types and constants that do not belong anywhere else.
Definition in file defs.h.
◆ AV_EF_CRCCHECK
| #define AV_EF_CRCCHECK (1<<0) |
Verify checksums embedded in the bitstream (could be of either encoded or decoded data, depending on the format) and print an error message on mismatch.
If AV_EF_EXPLODE is also set, a mismatching checksum will result in the decoder/demuxer returning an error.
Definition at line 48 of file defs.h.
◆ AV_EF_BITSTREAM
| #define AV_EF_BITSTREAM (1<<1) |
detect bitstream specification deviations
Definition at line 49 of file defs.h.
◆ AV_EF_BUFFER
| #define AV_EF_BUFFER (1<<2) |
detect improper bitstream length
Definition at line 50 of file defs.h.
◆ AV_EF_EXPLODE
| #define AV_EF_EXPLODE (1<<3) |
abort decoding on minor error detection
Definition at line 51 of file defs.h.
◆ AV_EF_IGNORE_ERR
| #define AV_EF_IGNORE_ERR (1<<15) |
ignore errors and continue
Definition at line 53 of file defs.h.
◆ AV_EF_CAREFUL
| #define AV_EF_CAREFUL (1<<16) |
consider things that violate the spec, are fast to calculate and have not been seen in the wild as errors
Definition at line 54 of file defs.h.
◆ AV_EF_COMPLIANT
| #define AV_EF_COMPLIANT (1<<17) |
consider all spec non compliances as errors
Definition at line 55 of file defs.h.
◆ AV_EF_AGGRESSIVE
| #define AV_EF_AGGRESSIVE (1<<18) |
consider things that a sane encoder/muxer should not do as an error
Definition at line 56 of file defs.h.
◆ FF_COMPLIANCE_VERY_STRICT
| #define FF_COMPLIANCE_VERY_STRICT 2 |
Strictly conform to an older more strict version of the spec or reference software.
Definition at line 58 of file defs.h.
◆ FF_COMPLIANCE_STRICT
| #define FF_COMPLIANCE_STRICT 1 |
Strictly conform to all the things in the spec no matter what consequences.
Definition at line 59 of file defs.h.
◆ FF_COMPLIANCE_NORMAL
| #define FF_COMPLIANCE_NORMAL 0 |
◆ FF_COMPLIANCE_UNOFFICIAL
| #define FF_COMPLIANCE_UNOFFICIAL -1 |
Allow unofficial extensions.
Definition at line 61 of file defs.h.
◆ FF_COMPLIANCE_EXPERIMENTAL
| #define FF_COMPLIANCE_EXPERIMENTAL -2 |
Allow nonstandardized experimental things.
Definition at line 62 of file defs.h.
◆ AVAudioServiceType
| Enumerator |
|---|
| AV_AUDIO_SERVICE_TYPE_MAIN | |
| AV_AUDIO_SERVICE_TYPE_EFFECTS | |
| AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED | |
| AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED | |
| AV_AUDIO_SERVICE_TYPE_DIALOGUE | |
| AV_AUDIO_SERVICE_TYPE_COMMENTARY | |
| AV_AUDIO_SERVICE_TYPE_EMERGENCY | |
| AV_AUDIO_SERVICE_TYPE_VOICE_OVER | |
| AV_AUDIO_SERVICE_TYPE_KARAOKE | |
| AV_AUDIO_SERVICE_TYPE_NB | Not part of ABI.
|
Definition at line 79 of file defs.h.
◆ av_cpb_properties_alloc()
Allocate a CPB properties structure and initialize its fields to default values.
- Parameters
-
| size | if non-NULL, the size of the allocated struct will be written here. This is useful for embedding it in side data. |
- Returns
- the newly allocated struct or NULL on failure
◆ av_xiphlacing()
| unsigned int av_xiphlacing |
( |
unsigned char * |
s, |
|
|
unsigned int |
v |
|
) |
| |
Encode extradata length to a buffer.
Used by xiph codecs.
- Parameters
-
| s | buffer to write to; must be at least (v/255+1) bytes long |
| v | size of extradata in bytes |
- Returns
- number of bytes written to the buffer.