FFmpeg
Loading...
Searching...
No Matches
avs3.h File Reference

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)
 
#define AVS3_ISUNIT(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

◆ AVS3_NAL_START_CODE

#define AVS3_NAL_START_CODE   0x010000

Definition at line 26 of file avs3.h.

◆ AVS3_SEQ_START_CODE

#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().

◆ AVS3_SEQ_END_CODE

#define AVS3_SEQ_END_CODE   0xB1

Definition at line 28 of file avs3.h.

Referenced by uavs3d_find_next_start_code().

◆ AVS3_USER_DATA_START_CODE

#define AVS3_USER_DATA_START_CODE   0xB2

Definition at line 29 of file avs3.h.

◆ AVS3_INTRA_PIC_START_CODE

#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().

◆ AVS3_UNDEF_START_CODE

#define AVS3_UNDEF_START_CODE   0xB4

Definition at line 31 of file avs3.h.

Referenced by avs3video_probe().

◆ AVS3_EXTENSION_START_CODE

#define AVS3_EXTENSION_START_CODE   0xB5

Definition at line 32 of file avs3.h.

◆ AVS3_INTER_PIC_START_CODE

#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().

◆ AVS3_VIDEO_EDIT_CODE

#define AVS3_VIDEO_EDIT_CODE   0xB7

Definition at line 34 of file avs3.h.

Referenced by avs3video_probe().

◆ AVS3_FIRST_SLICE_START_CODE

#define AVS3_FIRST_SLICE_START_CODE   0x00

Definition at line 35 of file avs3.h.

Referenced by uavs3d_find_next_start_code().

◆ AVS3_PROFILE_BASELINE_MAIN

#define AVS3_PROFILE_BASELINE_MAIN   0x20

Definition at line 36 of file avs3.h.

Referenced by avs3video_probe().

◆ AVS3_PROFILE_BASELINE_MAIN10

#define AVS3_PROFILE_BASELINE_MAIN10   0x22

Definition at line 37 of file avs3.h.

Referenced by avs3video_probe(), and parse_avs3_nal_units().

◆ AVS3_ISPIC

#define AVS3_ISPIC ( x)
Value:
#define AVS3_INTRA_PIC_START_CODE
Definition avs3.h:30
#define AVS3_INTER_PIC_START_CODE
Definition avs3.h:33

Definition at line 39 of file avs3.h.

Referenced by avs3_find_frame_end(), and avs3video_probe().

◆ AVS3_ISUNIT

#define AVS3_ISUNIT ( x)
Value:
#define AVS3_SEQ_START_CODE
Definition avs3.h:27
#define AVS3_ISPIC(x)
Definition avs3.h:39

Definition at line 40 of file avs3.h.

Referenced by avs3_find_frame_end().

Variable Documentation

◆ ff_avs3_frame_rate_tab

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_on_seq_header(), and parse_avs3_nal_units().

◆ ff_avs3_color_primaries_tab

const int ff_avs3_color_primaries_tab[10]
static
Initial value:
= {
}
@ AVCOL_PRI_BT470BG
also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM
Definition pixfmt.h:649
@ AVCOL_PRI_FILM
colour filters using Illuminant C
Definition pixfmt.h:652
@ AVCOL_PRI_BT709
also ITU-R BT1361 / IEC 61966-2-4 / SMPTE RP 177 Annex B
Definition pixfmt.h:644
@ AVCOL_PRI_RESERVED
Definition pixfmt.h:646
@ AVCOL_PRI_SMPTE240M
identical to above, also called "SMPTE C" even though it uses D65
Definition pixfmt.h:651
@ AVCOL_PRI_UNSPECIFIED
Definition pixfmt.h:645
@ AVCOL_PRI_RESERVED0
Definition pixfmt.h:643
@ AVCOL_PRI_SMPTE170M
also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC
Definition pixfmt.h:650
@ AVCOL_PRI_BT2020
ITU-R BT2020.
Definition pixfmt.h:653
@ AVCOL_PRI_BT470M
also FCC Title 47 Code of Federal Regulations 73.682 (a)(20)
Definition pixfmt.h:647

Definition at line 65 of file avs3.h.

Referenced by libuavs3d_on_seq_header().

◆ ff_avs3_color_transfer_tab

const int ff_avs3_color_transfer_tab[15]
static
Initial value:
= {
}
@ AVCOL_TRC_SMPTE170M
also ITU-R BT601-6 525 or 625 / ITU-R BT1358 525 or 625 / ITU-R BT1700 NTSC
Definition pixfmt.h:679
@ AVCOL_TRC_SMPTE2084
SMPTE ST 2084 for 10-, 12-, 14- and 16-bit systems.
Definition pixfmt.h:689
@ AVCOL_TRC_GAMMA22
also ITU-R BT470M / ITU-R BT1700 625 PAL & SECAM
Definition pixfmt.h:677
@ AVCOL_TRC_RESERVED
Definition pixfmt.h:676
@ AVCOL_TRC_SMPTE240M
Definition pixfmt.h:680
@ AVCOL_TRC_LOG
"Logarithmic transfer characteristic (100:1 range)"
Definition pixfmt.h:682
@ AVCOL_TRC_LINEAR
"Linear transfer characteristics"
Definition pixfmt.h:681
@ AVCOL_TRC_GAMMA28
also ITU-R BT470BG
Definition pixfmt.h:678
@ AVCOL_TRC_ARIB_STD_B67
ARIB STD-B67, known as "Hybrid log-gamma".
Definition pixfmt.h:693
@ AVCOL_TRC_LOG_SQRT
"Logarithmic transfer characteristic (100 * Sqrt(10) : 1 range)"
Definition pixfmt.h:683
@ AVCOL_TRC_BT2020_12
ITU-R BT2020 for 12-bit system.
Definition pixfmt.h:688
@ AVCOL_TRC_UNSPECIFIED
Definition pixfmt.h:675
@ AVCOL_TRC_BT709
also ITU-R BT1361
Definition pixfmt.h:674
@ AVCOL_TRC_RESERVED0
Definition pixfmt.h:673

Definition at line 78 of file avs3.h.

Referenced by libuavs3d_on_seq_header().

◆ ff_avs3_color_matrix_tab

const int ff_avs3_color_matrix_tab[12]
static
Initial value:
= {
}
@ AVCOL_SPC_BT709
also ITU-R BT1361 / IEC 61966-2-4 xvYCC709 / derived in SMPTE RP 177 Annex B
Definition pixfmt.h:708
@ AVCOL_SPC_BT470BG
also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM / IEC 61966-2-4 xvYCC601
Definition pixfmt.h:712
@ AVCOL_SPC_BT2020_CL
ITU-R BT2020 constant luminance system.
Definition pixfmt.h:718
@ AVCOL_SPC_BT2020_NCL
ITU-R BT2020 non-constant luminance system.
Definition pixfmt.h:717
@ AVCOL_SPC_UNSPECIFIED
Definition pixfmt.h:709
@ AVCOL_SPC_SMPTE170M
also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC / functionally identical to above
Definition pixfmt.h:713
@ AVCOL_SPC_FCC
FCC Title 47 Code of Federal Regulations 73.682 (a)(20)
Definition pixfmt.h:711
@ AVCOL_SPC_SMPTE240M
derived from 170M primaries and D65 white point, 170M is derived from BT470 System M's primaries
Definition pixfmt.h:714
@ AVCOL_SPC_RESERVED
reserved for future use by ITU-T and ISO/IEC just like 15-255 are
Definition pixfmt.h:710

Definition at line 96 of file avs3.h.

Referenced by libuavs3d_on_seq_header().

◆ ff_avs3_image_type

enum AVPictureType ff_avs3_image_type[4]
static
Initial value:
= {
}
@ AV_PICTURE_TYPE_I
Intra.
Definition avutil.h:278
@ AV_PICTURE_TYPE_NONE
Undefined.
Definition avutil.h:277
@ AV_PICTURE_TYPE_P
Predicted.
Definition avutil.h:279
@ AV_PICTURE_TYPE_B
Bi-dir predicted.
Definition avutil.h:280

Definition at line 111 of file avs3.h.

Referenced by uavs3d_output_callback().