libavformat/dv.c File Reference
#include <time.h>
#include "avformat.h"
#include "internal.h"
#include "libavcodec/dvdata.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
#include "dv.h"
#include "libavutil/avassert.h"
Go to the source code of this file.
|
Data Structures |
struct | DVDemuxContext |
struct | RawDVContext |
Functions |
static uint16_t | dv_audio_12to16 (uint16_t sample) |
static const uint8_t * | dv_extract_pack (uint8_t *frame, enum dv_pack_type t) |
static int | dv_extract_audio (uint8_t *frame, uint8_t *ppcm[4], const DVprofile *sys) |
static int | dv_extract_audio_info (DVDemuxContext *c, uint8_t *frame) |
static int | dv_extract_video_info (DVDemuxContext *c, uint8_t *frame) |
static int | bcd2int (uint8_t bcd) |
static int | dv_extract_timecode (DVDemuxContext *c, uint8_t *frame, char tc[32]) |
DVDemuxContext * | avpriv_dv_init_demux (AVFormatContext *s) |
int | avpriv_dv_get_packet (DVDemuxContext *c, AVPacket *pkt) |
int | avpriv_dv_produce_packet (DVDemuxContext *c, AVPacket *pkt, uint8_t *buf, int buf_size, int64_t pos) |
static int64_t | dv_frame_offset (AVFormatContext *s, DVDemuxContext *c, int64_t timestamp, int flags) |
void | dv_offset_reset (DVDemuxContext *c, int64_t frame_offset) |
static int | dv_read_timecode (AVFormatContext *s) |
static int | dv_read_header (AVFormatContext *s, AVFormatParameters *ap) |
static int | dv_read_packet (AVFormatContext *s, AVPacket *pkt) |
static int | dv_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags) |
static int | dv_read_close (AVFormatContext *s) |
static int | dv_probe (AVProbeData *p) |
Function Documentation
static int bcd2int |
( |
uint8_t |
bcd |
) |
[static] |
static uint16_t dv_audio_12to16 |
( |
uint16_t |
sample |
) |
[inline, static] |
static int dv_extract_audio |
( |
uint8_t * |
frame, |
|
|
uint8_t * |
ppcm[4], |
|
|
const DVprofile * |
sys | |
|
) |
| | [static] |
static int dv_extract_audio_info |
( |
DVDemuxContext * |
c, |
|
|
uint8_t * |
frame | |
|
) |
| | [static] |
static const uint8_t* dv_extract_pack |
( |
uint8_t * |
frame, |
|
|
enum dv_pack_type |
t | |
|
) |
| | [static] |
static int dv_extract_timecode |
( |
DVDemuxContext * |
c, |
|
|
uint8_t * |
frame, |
|
|
char |
tc[32] | |
|
) |
| | [static] |
static int dv_extract_video_info |
( |
DVDemuxContext * |
c, |
|
|
uint8_t * |
frame | |
|
) |
| | [static] |
Definition at line 582 of file dv.c.
Definition at line 575 of file dv.c.
Definition at line 493 of file dv.c.
Definition at line 540 of file dv.c.
static int dv_read_seek |
( |
AVFormatContext * |
s, |
|
|
int |
stream_index, |
|
|
int64_t |
timestamp, |
|
|
int |
flags | |
|
) |
| | [static] |
Definition at line 561 of file dv.c.
Definition at line 461 of file dv.c.