Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
ee6c4f54
Commit
ee6c4f54
authored
Nov 27, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mp4: converted to es_out* and partialy to stream_*
parent
c299138f
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
191 additions
and
423 deletions
+191
-423
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+184
-383
modules/demux/mp4/mp4.h
modules/demux/mp4/mp4.h
+7
-40
No files found.
modules/demux/mp4/mp4.c
View file @
ee6c4f54
This diff is collapsed.
Click to expand it.
modules/demux/mp4/mp4.h
View file @
ee6c4f54
...
...
@@ -2,7 +2,7 @@
* mp4.h : MP4 file input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: mp4.h,v 1.
8 2003/09/12 16:26:40
fenrir Exp $
* $Id: mp4.h,v 1.
9 2003/11/27 12:32:51
fenrir Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -21,37 +21,6 @@
*****************************************************************************/
/*****************************************************************************
* Structure needed for decoder
*****************************************************************************/
typedef
struct
bitmapinfoheader_s
{
uint32_t
i_size
;
/* size of header 40 + size of data follwoing this header */
uint32_t
i_width
;
uint32_t
i_height
;
uint16_t
i_planes
;
uint16_t
i_bitcount
;
uint32_t
i_compression
;
uint32_t
i_sizeimage
;
uint32_t
i_xpelspermeter
;
uint32_t
i_ypelspermeter
;
uint32_t
i_clrused
;
uint32_t
i_clrimportant
;
}
bitmapinfoheader_t
;
typedef
struct
waveformatex_s
{
uint16_t
i_format
;
uint16_t
i_channels
;
uint32_t
i_samplepersec
;
uint32_t
i_avgbytespersec
;
uint16_t
i_blockalign
;
uint16_t
i_bitspersample
;
uint16_t
i_size
;
/* This give size of data
imediatly following this header. */
}
waveformatex_t
;
/*****************************************************************************
* Contain all information about a chunk
*****************************************************************************/
...
...
@@ -85,13 +54,14 @@ typedef struct track_data_mp4_s
int
b_ok
;
/* The track is usable */
int
b_enable
;
/* is the trak enable by default */
int
b_selected
;
/* is the trak being played */
int
i_cat
;
/* Type of the track, VIDEO_ES, AUDIO_ES, UNKNOWN_ES ... */
char
i_language
[
3
];
vlc_bool_t
b_selected
;
/* is the trak being played */
es_format_t
fmt
;
es_out_id_t
*
p_es
;
/* display size only ! */
int
i_width
;
int
i_height
;
int
i_width
;
int
i_height
;
/* more internal data */
uint64_t
i_timescale
;
/* time scale for this track only */
...
...
@@ -116,9 +86,6 @@ typedef struct track_data_mp4_s
MP4_Box_t
*
p_stsd
;
/* will contain all data to initialize decoder */
MP4_Box_t
*
p_sample
;
/* point on actual sdsd */
es_descriptor_t
*
p_es
;
/* vlc es for this track */
pes_packet_t
*
p_pes_init
;
/* to be send when p_es is selected */
}
track_data_mp4_t
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment