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

◆ 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.

◆ AVS3_SEQ_END_CODE

#define AVS3_SEQ_END_CODE   0xB1

Definition at line 28 of file avs3.h.

◆ 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.

◆ AVS3_UNDEF_START_CODE

#define AVS3_UNDEF_START_CODE   0xB4

Definition at line 31 of file avs3.h.

◆ 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.

◆ AVS3_VIDEO_EDIT_CODE

#define AVS3_VIDEO_EDIT_CODE   0xB7

Definition at line 34 of file avs3.h.

◆ AVS3_FIRST_SLICE_START_CODE

#define AVS3_FIRST_SLICE_START_CODE   0x00

Definition at line 35 of file avs3.h.

◆ AVS3_PROFILE_BASELINE_MAIN

#define AVS3_PROFILE_BASELINE_MAIN   0x20

Definition at line 36 of file avs3.h.

◆ AVS3_PROFILE_BASELINE_MAIN10

#define AVS3_PROFILE_BASELINE_MAIN10   0x22

Definition at line 37 of file avs3.h.

◆ AVS3_ISPIC

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

Definition at line 39 of file avs3.h.

◆ AVS3_ISUNIT

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

Definition at line 40 of file avs3.h.

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

◆ ff_avs3_color_primaries_tab

const int ff_avs3_color_primaries_tab[10]
static

◆ ff_avs3_color_transfer_tab

const int ff_avs3_color_transfer_tab[15]
static

◆ ff_avs3_color_matrix_tab

const int ff_avs3_color_matrix_tab[12]
static

◆ ff_avs3_image_type

enum AVPictureType ff_avs3_image_type[4]
static
Initial value:

Definition at line 111 of file avs3.h.

Referenced by uavs3d_output_callback().

AVCOL_PRI_RESERVED
@ AVCOL_PRI_RESERVED
Definition: pixfmt.h:462
AVCOL_TRC_LINEAR
@ AVCOL_TRC_LINEAR
"Linear transfer characteristics"
Definition: pixfmt.h:492
AVCOL_TRC_UNSPECIFIED
@ AVCOL_TRC_UNSPECIFIED
Definition: pixfmt.h:486
AVCOL_TRC_BT2020_12
@ AVCOL_TRC_BT2020_12
ITU-R BT2020 for 12-bit system.
Definition: pixfmt.h:499
AVCOL_SPC_BT2020_CL
@ AVCOL_SPC_BT2020_CL
ITU-R BT2020 constant luminance system.
Definition: pixfmt.h:524
AVCOL_SPC_BT470BG
@ 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:518
AVCOL_SPC_RESERVED
@ AVCOL_SPC_RESERVED
Definition: pixfmt.h:516
AVCOL_TRC_GAMMA28
@ AVCOL_TRC_GAMMA28
also ITU-R BT470BG
Definition: pixfmt.h:489
AVCOL_TRC_LOG_SQRT
@ AVCOL_TRC_LOG_SQRT
"Logarithmic transfer characteristic (100 * Sqrt(10) : 1 range)"
Definition: pixfmt.h:494
AVCOL_TRC_GAMMA22
@ AVCOL_TRC_GAMMA22
also ITU-R BT470M / ITU-R BT1700 625 PAL & SECAM
Definition: pixfmt.h:488
AVCOL_PRI_RESERVED0
@ AVCOL_PRI_RESERVED0
Definition: pixfmt.h:459
AVCOL_SPC_SMPTE170M
@ AVCOL_SPC_SMPTE170M
also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC
Definition: pixfmt.h:519
AVCOL_PRI_SMPTE240M
@ AVCOL_PRI_SMPTE240M
functionally identical to above
Definition: pixfmt.h:467
AVCOL_PRI_UNSPECIFIED
@ AVCOL_PRI_UNSPECIFIED
Definition: pixfmt.h:461
AVCOL_PRI_BT470BG
@ AVCOL_PRI_BT470BG
also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM
Definition: pixfmt.h:465
AVCOL_PRI_SMPTE170M
@ AVCOL_PRI_SMPTE170M
also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC
Definition: pixfmt.h:466
AVCOL_TRC_RESERVED0
@ AVCOL_TRC_RESERVED0
Definition: pixfmt.h:484
AVCOL_PRI_BT709
@ AVCOL_PRI_BT709
also ITU-R BT1361 / IEC 61966-2-4 / SMPTE RP177 Annex B
Definition: pixfmt.h:460
AV_PICTURE_TYPE_I
@ AV_PICTURE_TYPE_I
Intra.
Definition: avutil.h:274
AVCOL_PRI_BT2020
@ AVCOL_PRI_BT2020
ITU-R BT2020.
Definition: pixfmt.h:469
AVCOL_TRC_SMPTE2084
@ AVCOL_TRC_SMPTE2084
SMPTE ST 2084 for 10-, 12-, 14- and 16-bit systems.
Definition: pixfmt.h:500
AVCOL_TRC_SMPTE240M
@ AVCOL_TRC_SMPTE240M
Definition: pixfmt.h:491
AVCOL_PRI_FILM
@ AVCOL_PRI_FILM
colour filters using Illuminant C
Definition: pixfmt.h:468
AVCOL_TRC_LOG
@ AVCOL_TRC_LOG
"Logarithmic transfer characteristic (100:1 range)"
Definition: pixfmt.h:493
AV_PICTURE_TYPE_NONE
@ AV_PICTURE_TYPE_NONE
Undefined.
Definition: avutil.h:273
AVCOL_TRC_BT709
@ AVCOL_TRC_BT709
also ITU-R BT1361
Definition: pixfmt.h:485
AVCOL_SPC_SMPTE240M
@ AVCOL_SPC_SMPTE240M
functionally identical to above
Definition: pixfmt.h:520
AVCOL_SPC_BT2020_NCL
@ AVCOL_SPC_BT2020_NCL
ITU-R BT2020 non-constant luminance system.
Definition: pixfmt.h:523
AVCOL_SPC_UNSPECIFIED
@ AVCOL_SPC_UNSPECIFIED
Definition: pixfmt.h:515
AVCOL_PRI_BT470M
@ AVCOL_PRI_BT470M
also FCC Title 47 Code of Federal Regulations 73.682 (a)(20)
Definition: pixfmt.h:463
AVCOL_TRC_ARIB_STD_B67
@ AVCOL_TRC_ARIB_STD_B67
ARIB STD-B67, known as "Hybrid log-gamma".
Definition: pixfmt.h:504
AV_PICTURE_TYPE_B
@ AV_PICTURE_TYPE_B
Bi-dir predicted.
Definition: avutil.h:276
AVCOL_SPC_FCC
@ AVCOL_SPC_FCC
FCC Title 47 Code of Federal Regulations 73.682 (a)(20)
Definition: pixfmt.h:517
AVCOL_TRC_SMPTE170M
@ AVCOL_TRC_SMPTE170M
also ITU-R BT601-6 525 or 625 / ITU-R BT1358 525 or 625 / ITU-R BT1700 NTSC
Definition: pixfmt.h:490
AV_PICTURE_TYPE_P
@ AV_PICTURE_TYPE_P
Predicted.
Definition: avutil.h:275
AVCOL_TRC_RESERVED
@ AVCOL_TRC_RESERVED
Definition: pixfmt.h:487
AVCOL_SPC_BT709
@ AVCOL_SPC_BT709
also ITU-R BT1361 / IEC 61966-2-4 xvYCC709 / SMPTE RP177 Annex B
Definition: pixfmt.h:514