FFmpeg
Macros | Variables
avs3.h File Reference
#include "libavutil/avutil.h"
#include "libavutil/pixfmt.h"
#include "libavutil/rational.h"

Go to the source code of this file.

Macros

#define AVS3_NAL_START_CODE   0x010000
 
#define AVS3_SEQ_START_CODE   0xB0
 
#define AVS3_SEQ_END_CODE   0xB1
 
#define AVS3_USER_DATA_START_CODE   0xB2
 
#define AVS3_INTRA_PIC_START_CODE   0xB3
 
#define AVS3_UNDEF_START_CODE   0xB4
 
#define AVS3_EXTENSION_START_CODE   0xB5
 
#define AVS3_INTER_PIC_START_CODE   0xB6
 
#define AVS3_VIDEO_EDIT_CODE   0xB7
 
#define AVS3_FIRST_SLICE_START_CODE   0x00
 
#define AVS3_PROFILE_BASELINE_MAIN   0x20
 
#define AVS3_PROFILE_BASELINE_MAIN10   0x22
 
#define AVS3_ISPIC(x)   ((x) == AVS3_INTRA_PIC_START_CODE || (x) == AVS3_INTER_PIC_START_CODE)
 
#define AVS3_ISUNIT(x)   ((x) == AVS3_SEQ_START_CODE || AVS3_ISPIC(x))
 

Variables

static const AVRational ff_avs3_frame_rate_tab [16]
 
static const int ff_avs3_color_primaries_tab [10]
 
static const int ff_avs3_color_transfer_tab [15]
 
static const int ff_avs3_color_matrix_tab [12]
 
static enum AVPictureType ff_avs3_image_type [4]
 

Macro Definition Documentation

#define AVS3_NAL_START_CODE   0x010000

Definition at line 26 of file avs3.h.

#define AVS3_SEQ_START_CODE   0xB0

Definition at line 27 of file avs3.h.

Referenced by avs3video_probe(), parse_avs3_nal_units(), and uavs3d_find_next_start_code().

#define AVS3_SEQ_END_CODE   0xB1

Definition at line 28 of file avs3.h.

Referenced by uavs3d_find_next_start_code().

#define AVS3_USER_DATA_START_CODE   0xB2

Definition at line 29 of file avs3.h.

#define AVS3_INTRA_PIC_START_CODE   0xB3

Definition at line 30 of file avs3.h.

Referenced by parse_avs3_nal_units(), and uavs3d_find_next_start_code().

#define AVS3_UNDEF_START_CODE   0xB4

Definition at line 31 of file avs3.h.

Referenced by avs3video_probe().

#define AVS3_EXTENSION_START_CODE   0xB5

Definition at line 32 of file avs3.h.

#define AVS3_INTER_PIC_START_CODE   0xB6

Definition at line 33 of file avs3.h.

Referenced by parse_avs3_nal_units(), and uavs3d_find_next_start_code().

#define AVS3_VIDEO_EDIT_CODE   0xB7

Definition at line 34 of file avs3.h.

Referenced by avs3video_probe().

#define AVS3_FIRST_SLICE_START_CODE   0x00

Definition at line 35 of file avs3.h.

Referenced by uavs3d_find_next_start_code().

#define AVS3_PROFILE_BASELINE_MAIN   0x20

Definition at line 36 of file avs3.h.

Referenced by avs3video_probe().

#define AVS3_PROFILE_BASELINE_MAIN10   0x22

Definition at line 37 of file avs3.h.

Referenced by avs3video_probe(), and parse_avs3_nal_units().

#define AVS3_ISPIC (   x)    ((x) == AVS3_INTRA_PIC_START_CODE || (x) == AVS3_INTER_PIC_START_CODE)

Definition at line 39 of file avs3.h.

Referenced by avs3_find_frame_end(), and avs3video_probe().

#define AVS3_ISUNIT (   x)    ((x) == AVS3_SEQ_START_CODE || AVS3_ISPIC(x))

Definition at line 40 of file avs3.h.

Referenced by avs3_find_frame_end().

Variable Documentation

const AVRational ff_avs3_frame_rate_tab[16]
static
Initial value:
= {
{ 0 , 0 },
{ 24000, 1001},
{ 24 , 1 },
{ 25 , 1 },
{ 30000, 1001},
{ 30 , 1 },
{ 50 , 1 },
{ 60000, 1001},
{ 60 , 1 },
{ 100 , 1 },
{ 120 , 1 },
{ 200 , 1 },
{ 240 , 1 },
{ 300 , 1 },
{ 0 , 0 },
{ 0 , 0 }
}

Definition at line 46 of file avs3.h.

Referenced by libuavs3d_decode_frame(), and parse_avs3_nal_units().

const int ff_avs3_color_primaries_tab[10]
static
Initial value:
= {
}
also FCC Title 47 Code of Federal Regulations 73.682 (a)(20)
Definition: pixfmt.h:463
also ITU-R BT1361 / IEC 61966-2-4 / SMPTE RP177 Annex B
Definition: pixfmt.h:460
colour filters using Illuminant C
Definition: pixfmt.h:468
also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM
Definition: pixfmt.h:465
functionally identical to above
Definition: pixfmt.h:467
also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC
Definition: pixfmt.h:466
ITU-R BT2020.
Definition: pixfmt.h:469

Definition at line 65 of file avs3.h.

Referenced by libuavs3d_decode_frame().

const int ff_avs3_color_transfer_tab[15]
static
Initial value:
= {
}
ITU-R BT2020 for 12-bit system.
Definition: pixfmt.h:499
"Linear transfer characteristics"
Definition: pixfmt.h:492
also ITU-R BT470M / ITU-R BT1700 625 PAL & SECAM
Definition: pixfmt.h:488
SMPTE ST 2084 for 10-, 12-, 14- and 16-bit systems.
Definition: pixfmt.h:500
also ITU-R BT1361
Definition: pixfmt.h:485
also ITU-R BT601-6 525 or 625 / ITU-R BT1358 525 or 625 / ITU-R BT1700 NTSC
Definition: pixfmt.h:490
"Logarithmic transfer characteristic (100 * Sqrt(10) : 1 range)"
Definition: pixfmt.h:494
also ITU-R BT470BG
Definition: pixfmt.h:489
ARIB STD-B67, known as "Hybrid log-gamma".
Definition: pixfmt.h:504
"Logarithmic transfer characteristic (100:1 range)"
Definition: pixfmt.h:493

Definition at line 78 of file avs3.h.

Referenced by libuavs3d_decode_frame().

const int ff_avs3_color_matrix_tab[12]
static
Initial value:
= {
AVCOL_SPC_UNSPECIFIED
}
also ITU-R BT1361 / IEC 61966-2-4 xvYCC709 / SMPTE RP177 Annex B
Definition: pixfmt.h:514
also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM / IEC 61966-2-4 xvYCC601 ...
Definition: pixfmt.h:518
also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC
Definition: pixfmt.h:519
functionally identical to above
Definition: pixfmt.h:520
ITU-R BT2020 non-constant luminance system.
Definition: pixfmt.h:523
FCC Title 47 Code of Federal Regulations 73.682 (a)(20)
Definition: pixfmt.h:517
ITU-R BT2020 constant luminance system.
Definition: pixfmt.h:524

Definition at line 96 of file avs3.h.

Referenced by libuavs3d_decode_frame().

enum AVPictureType ff_avs3_image_type[4]
static
Initial value:

Definition at line 111 of file avs3.h.

Referenced by uavs3d_output_callback().