FFmpeg
Macros | Enumerations
dv.h File Reference

Go to the source code of this file.

Macros

#define DV_PROFILE_IS_HD(p)   ((p)->video_stype & 0x10)
 
#define DV_PROFILE_IS_1080i50(p)   (((p)->video_stype == 0x14) && ((p)->dsf == 1))
 
#define DV_PROFILE_IS_1080i60(p)   (((p)->video_stype == 0x14) && ((p)->dsf == 0))
 
#define DV_PROFILE_IS_720p50(p)   (((p)->video_stype == 0x18) && ((p)->dsf == 1))
 
#define DV_MAX_FRAME_SIZE   576000
 largest possible DV frame, in bytes (1080i50) More...
 
#define DV_MAX_BPM   8
 maximum number of blocks per macroblock in any DV format More...
 

Enumerations

enum  DVSectionType {
  DV_SECT_HEADER = 0x1f, DV_SECT_SUBCODE = 0x3f, DV_SECT_VAUX = 0x56, DV_SECT_AUDIO = 0x76,
  DV_SECT_VIDEO = 0x96
}
 
enum  DVPackType {
  DV_HEADER525 = 0x3f, DV_HEADER625 = 0xbf, DV_TIMECODE = 0x13, DV_AUDIO_SOURCE = 0x50,
  DV_AUDIO_CONTROL = 0x51, DV_AUDIO_RECDATE = 0x52, DV_AUDIO_RECTIME = 0x53, DV_VIDEO_SOURCE = 0x60,
  DV_VIDEO_CONTROL = 0x61, DV_VIDEO_RECDATE = 0x62, DV_VIDEO_RECTIME = 0x63, DV_UNKNOWN_PACK = 0xff
}
 

Detailed Description

Constants for DV codec.

Definition in file dv.h.

Macro Definition Documentation

◆ DV_PROFILE_IS_HD

#define DV_PROFILE_IS_HD (   p)    ((p)->video_stype & 0x10)

Definition at line 53 of file dv.h.

◆ DV_PROFILE_IS_1080i50

#define DV_PROFILE_IS_1080i50 (   p)    (((p)->video_stype == 0x14) && ((p)->dsf == 1))

Definition at line 54 of file dv.h.

◆ DV_PROFILE_IS_1080i60

#define DV_PROFILE_IS_1080i60 (   p)    (((p)->video_stype == 0x14) && ((p)->dsf == 0))

Definition at line 55 of file dv.h.

◆ DV_PROFILE_IS_720p50

#define DV_PROFILE_IS_720p50 (   p)    (((p)->video_stype == 0x18) && ((p)->dsf == 1))

Definition at line 56 of file dv.h.

◆ DV_MAX_FRAME_SIZE

#define DV_MAX_FRAME_SIZE   576000

largest possible DV frame, in bytes (1080i50)

Definition at line 61 of file dv.h.

◆ DV_MAX_BPM

#define DV_MAX_BPM   8

maximum number of blocks per macroblock in any DV format

Definition at line 66 of file dv.h.

Enumeration Type Documentation

◆ DVSectionType

Enumerator
DV_SECT_HEADER 
DV_SECT_SUBCODE 
DV_SECT_VAUX 
DV_SECT_AUDIO 
DV_SECT_VIDEO 

Definition at line 30 of file dv.h.

◆ DVPackType

enum DVPackType
Enumerator
DV_HEADER525 
DV_HEADER625 
DV_TIMECODE 
DV_AUDIO_SOURCE 
DV_AUDIO_CONTROL 
DV_AUDIO_RECDATE 
DV_AUDIO_RECTIME 
DV_VIDEO_SOURCE 
DV_VIDEO_CONTROL 
DV_VIDEO_RECDATE 
DV_VIDEO_RECTIME 
DV_UNKNOWN_PACK 

Definition at line 38 of file dv.h.