| FFmpeg
    | 
Vividas VIV (.viv) file demuxer. More...
#include "libavutil/avassert.h"#include "libavutil/intreadwrite.h"#include "avio_internal.h"#include "avformat.h"#include "internal.h"Go to the source code of this file.
| Data Structures | |
| struct | VIV_SB_block | 
| struct | VIV_SB_entry | 
| struct | VIV_AudioSubpacket | 
| struct | VividasDemuxContext | 
| Macros | |
| #define | MAX_AUDIO_SUBPACKETS 100 | 
| Functions | |
| static int | viv_probe (const AVProbeData *p) | 
| static uint32_t | decode_key (uint8_t *buf) | 
| static void | put_v (uint8_t *p, unsigned v) | 
| static unsigned | recover_key (unsigned char sample[4], unsigned expected_size) | 
| static void | xor_block (void *p1, void *p2, unsigned size, int key, unsigned *key_ptr) | 
| static void | decode_block (uint8_t *src, uint8_t *dest, unsigned size, uint32_t key, uint32_t *key_ptr, int align) | 
| static uint32_t | get_v (uint8_t *p, int len) | 
| static uint8_t * | read_vblock (AVIOContext *src, uint32_t *size, uint32_t key, uint32_t *k2, int align) | 
| static uint8_t * | read_sb_block (AVIOContext *src, unsigned *size, uint32_t *key, unsigned expected_size) | 
| static int | track_header (VividasDemuxContext *viv, AVFormatContext *s, uint8_t *buf, int size) | 
| static int | track_index (VividasDemuxContext *viv, AVFormatContext *s, uint8_t *buf, unsigned size) | 
| static void | load_sb_block (AVFormatContext *s, VividasDemuxContext *viv, unsigned expected_size) | 
| static int | viv_read_header (AVFormatContext *s) | 
| static int | viv_read_packet (AVFormatContext *s, AVPacket *pkt) | 
| static int | viv_read_close (AVFormatContext *s) | 
| static int | viv_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags) | 
| Variables | |
| static const uint8_t | keybits [32] | 
| AVInputFormat | ff_vividas_demuxer | 
Vividas VIV (.viv) file demuxer.
Definition in file vividas.c.
| 
 | static | 
| 
 | static | 
Definition at line 90 of file vividas.c.
Referenced by viv_read_header().
| 
 | static | 
Definition at line 102 of file vividas.c.
Referenced by recover_key().
| 
 | static | 
Definition at line 114 of file vividas.c.
Referenced by read_sb_block().
| 
 | static | 
Definition at line 123 of file vividas.c.
Referenced by decode_block().
| 
 | static | 
Definition at line 142 of file vividas.c.
Referenced by read_sb_block(), and read_vblock().
Definition at line 182 of file vividas.c.
Referenced by read_sb_block(), and read_vblock().
| 
 | static | 
Definition at line 197 of file vividas.c.
Referenced by viv_read_header().
| 
 | static | 
Definition at line 232 of file vividas.c.
Referenced by load_sb_block().
| 
 | static | 
Definition at line 280 of file vividas.c.
Referenced by viv_read_header().
| 
 | static | 
Definition at line 432 of file vividas.c.
Referenced by ff_mov_add_hinted_packet(), and viv_read_header().
| 
 | static | 
Definition at line 494 of file vividas.c.
Referenced by viv_read_header(), viv_read_packet(), and viv_read_seek().
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
Definition at line 83 of file vividas.c.
Referenced by decode_key().
| AVInputFormat ff_vividas_demuxer | 
 1.8.17
 1.8.17