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:559
AVCOL_TRC_LINEAR
@ AVCOL_TRC_LINEAR
"Linear transfer characteristics"
Definition: pixfmt.h:589
AVCOL_TRC_UNSPECIFIED
@ AVCOL_TRC_UNSPECIFIED
Definition: pixfmt.h:583
AVCOL_TRC_BT2020_12
@ AVCOL_TRC_BT2020_12
ITU-R BT2020 for 12-bit system.
Definition: pixfmt.h:596
AVCOL_SPC_BT2020_CL
@ AVCOL_SPC_BT2020_CL
ITU-R BT2020 constant luminance system.
Definition: pixfmt.h:621
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:615
AVCOL_SPC_RESERVED
@ AVCOL_SPC_RESERVED
reserved for future use by ITU-T and ISO/IEC just like 15-255 are
Definition: pixfmt.h:613
AVCOL_TRC_GAMMA28
@ AVCOL_TRC_GAMMA28
also ITU-R BT470BG
Definition: pixfmt.h:586
AVCOL_TRC_LOG_SQRT
@ AVCOL_TRC_LOG_SQRT
"Logarithmic transfer characteristic (100 * Sqrt(10) : 1 range)"
Definition: pixfmt.h:591
AVCOL_TRC_GAMMA22
@ AVCOL_TRC_GAMMA22
also ITU-R BT470M / ITU-R BT1700 625 PAL & SECAM
Definition: pixfmt.h:585
AVCOL_PRI_RESERVED0
@ AVCOL_PRI_RESERVED0
Definition: pixfmt.h:556
AVCOL_SPC_SMPTE170M
@ AVCOL_SPC_SMPTE170M
also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC / functionally identical to above
Definition: pixfmt.h:616
AVCOL_PRI_SMPTE240M
@ AVCOL_PRI_SMPTE240M
identical to above, also called "SMPTE C" even though it uses D65
Definition: pixfmt.h:564
AVCOL_PRI_UNSPECIFIED
@ AVCOL_PRI_UNSPECIFIED
Definition: pixfmt.h:558
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:562
AVCOL_PRI_SMPTE170M
@ AVCOL_PRI_SMPTE170M
also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC
Definition: pixfmt.h:563
AVCOL_TRC_RESERVED0
@ AVCOL_TRC_RESERVED0
Definition: pixfmt.h:581
AVCOL_PRI_BT709
@ AVCOL_PRI_BT709
also ITU-R BT1361 / IEC 61966-2-4 / SMPTE RP 177 Annex B
Definition: pixfmt.h:557
AV_PICTURE_TYPE_I
@ AV_PICTURE_TYPE_I
Intra.
Definition: avutil.h:279
AVCOL_PRI_BT2020
@ AVCOL_PRI_BT2020
ITU-R BT2020.
Definition: pixfmt.h:566
AVCOL_TRC_SMPTE2084
@ AVCOL_TRC_SMPTE2084
SMPTE ST 2084 for 10-, 12-, 14- and 16-bit systems.
Definition: pixfmt.h:597
AVCOL_TRC_SMPTE240M
@ AVCOL_TRC_SMPTE240M
Definition: pixfmt.h:588
AVCOL_PRI_FILM
@ AVCOL_PRI_FILM
colour filters using Illuminant C
Definition: pixfmt.h:565
AVCOL_TRC_LOG
@ AVCOL_TRC_LOG
"Logarithmic transfer characteristic (100:1 range)"
Definition: pixfmt.h:590
AV_PICTURE_TYPE_NONE
@ AV_PICTURE_TYPE_NONE
Undefined.
Definition: avutil.h:278
AVCOL_TRC_BT709
@ AVCOL_TRC_BT709
also ITU-R BT1361
Definition: pixfmt.h:582
AVCOL_SPC_SMPTE240M
@ AVCOL_SPC_SMPTE240M
derived from 170M primaries and D65 white point, 170M is derived from BT470 System M's primaries
Definition: pixfmt.h:617
AVCOL_SPC_BT2020_NCL
@ AVCOL_SPC_BT2020_NCL
ITU-R BT2020 non-constant luminance system.
Definition: pixfmt.h:620
AVCOL_SPC_UNSPECIFIED
@ AVCOL_SPC_UNSPECIFIED
Definition: pixfmt.h:612
AVCOL_PRI_BT470M
@ AVCOL_PRI_BT470M
also FCC Title 47 Code of Federal Regulations 73.682 (a)(20)
Definition: pixfmt.h:560
AVCOL_TRC_ARIB_STD_B67
@ AVCOL_TRC_ARIB_STD_B67
ARIB STD-B67, known as "Hybrid log-gamma".
Definition: pixfmt.h:601
AV_PICTURE_TYPE_B
@ AV_PICTURE_TYPE_B
Bi-dir predicted.
Definition: avutil.h:281
AVCOL_SPC_FCC
@ AVCOL_SPC_FCC
FCC Title 47 Code of Federal Regulations 73.682 (a)(20)
Definition: pixfmt.h:614
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:587
AV_PICTURE_TYPE_P
@ AV_PICTURE_TYPE_P
Predicted.
Definition: avutil.h:280
AVCOL_TRC_RESERVED
@ AVCOL_TRC_RESERVED
Definition: pixfmt.h:584
AVCOL_SPC_BT709
@ AVCOL_SPC_BT709
also ITU-R BT1361 / IEC 61966-2-4 xvYCC709 / derived in SMPTE RP 177 Annex B
Definition: pixfmt.h:611