Commit graph

165 commits

Author SHA1 Message Date
031d32352a Fix dumping the whole cluster head buffer instead of the used portion 2017-09-29 00:07:56 -04:00
7f214920ae switch Chunks to use Arcs 2017-09-28 22:11:27 -04:00
d20081d9a1 Serve single, unparsed video file. 2017-09-26 02:21:32 -04:00
c3f0de71fa Move Chunk timecode updating into the struct impl proper. 2017-09-25 01:41:56 -04:00
d0f1cde464 Stub using Chunk stream in loop_server. 2017-09-25 00:23:20 -04:00
27642f7b14 Make Chunk flexible in the type of backing buffer used 2017-09-25 00:22:41 -04:00
0a18cb408f Create Chunk type for use in packaging WebM streams for clients. 2017-09-22 23:58:03 -04:00
db1731f776 Experiment with using a Stream for a Response Body 2017-09-21 00:59:11 -04:00
ef45728779 Have stub server recognize a URL path 2017-09-10 19:44:54 -04:00
6f80da4735 Create stub Hyper server 2017-09-10 19:34:08 -04:00
e633517d3a Rewrite timestamps on clusters to allow splicing 2017-09-07 01:42:14 -04:00
13e75a6415 Add a stage to resynth test's output pipeline to permit patching timestamps 2017-09-06 02:02:50 -04:00
9b3a6db074 fixup bin for reference refactor. 2017-09-06 01:53:49 -04:00
84c7ec734b Don't require encode_ functions to consume their argument element. 2017-09-05 00:24:38 -04:00
271782bb91 Create test tool to deconstruct and reassemble a WebM file 2017-09-05 00:17:11 -04:00
93883e2683 refactor SimpleBlock struct to be independent of Element enum 2017-09-04 01:41:48 -04:00
fd8b820eef Stub-encode Tracks 2017-08-14 00:58:06 -04:00
dd376e146e Implement encoding SimpleBlocks 2017-08-12 16:48:24 -04:00
01e81c6a9f Fix tests 2017-08-10 00:14:42 -04:00
509dcd3827 Generalize string writing to binary writing 2017-08-09 01:49:44 -04:00
b76f244022 Encode Timecodes into WebM stub 2017-08-07 01:12:18 -04:00
120fe26b6b Cleanup results more 2017-08-07 01:11:43 -04:00
c969627510 Extend stub WebM structure 2017-08-07 01:03:20 -04:00
2ecedf795d Cleanup dead line 2017-08-07 00:56:18 -04:00
ff4c2d796e Remove IoResult<usize> return, value not needed and confuses ? operator 2017-08-07 00:55:57 -04:00
45fe373ee6 Implement writing a barebones EBML header from scratch 2017-08-06 01:21:53 -04:00
95fcc6c86b Add fixed-size varint encoder function to simplify writing complex EBML element sizes 2017-08-06 01:20:51 -04:00
b5bbf952b0 Stub some EBML encoding funcs 2017-08-02 01:30:14 -04:00
cf4821599e Make encode_varint use a generic Writer 2017-07-30 01:43:09 -04:00
da81b741a3 Change encode_varint to write into a Bufmut 2017-07-10 21:26:00 -04:00
a1e8aef5d3 Swap to "bytes" crate 2017-07-10 19:36:20 -04:00
8d73a2e577 Fix range of varint encoder; add more boundary tests. 2017-07-08 01:08:21 -04:00
b1b157c6be Make varint sizing logic use smallest working size;
fix bad constant/test.
2017-07-07 02:27:30 -04:00
6c99eca673 Initial ebml varint encoder 2017-07-07 01:25:32 -04:00
7109e30dcb Use ByteOrder function in decode_uint 2017-07-03 01:44:11 -04:00
6383f12ad0 Make tests pass again 2017-07-01 16:55:24 -04:00
a00d43e124 Implement decode_simple_block 2017-07-01 01:30:43 -04:00
51156d9fde implement decode_uint 2017-06-29 02:38:08 -04:00
8c88ff25d0 Define Timecode & SimpleBlock tags (tests broken) 2017-06-29 02:08:19 -04:00
ba9d00d0b4 Move tests under appropriate modules 2017-06-28 01:54:30 -04:00
8411363035 Break code into modules 2017-06-27 02:31:17 -04:00
124536d703 Create dump tool for debugging/research 2017-06-27 02:31:17 -04:00
13660fe802 Streamline adapting schema to source. 2017-05-01 02:44:49 -04:00
466f0c46f0 Parse whole test file, using constants for ids. 2017-05-01 02:44:46 -04:00
c567099b73 Add SeekHead & Cluster to Webm schema 2017-04-16 16:35:48 -04:00
efe708ca6b Make Ebml struct generic over source type 2017-04-16 16:24:15 -04:00
bc1569a461 use IntoIterator to get Ebml iterator 2017-01-28 02:34:01 -05:00
a23a29bf9b Experiment with WebM Schema 2017-01-27 02:09:09 -05:00
3253f32d03 Split generic EBML test from WebM test 2017-01-27 01:24:17 -05:00
fd0fb41acf move decode_element & iterator creation onto Schema trait 2017-01-26 01:43:35 -05:00
128192c622 genericize EBML iterator 2017-01-24 19:11:59 -05:00
4a42b7ae82 implement WebM iterator 2017-01-24 03:20:49 -05:00
6ab32205bb Change Schema to be implemented by a dedicated type instead of its element type. 2017-01-17 03:11:17 -05:00
8b0021e3eb Stub WebM schema, just make all elements unknown. 2017-01-17 00:11:49 -05:00
50eb02b9ac Implement decode_element, which uses a Schema trait to turn EBML elements into user types. 2017-01-16 23:42:27 -05:00
6c82234c9e Add a test webm file 2017-01-16 09:11:50 -05:00
31b5eb8931 Fix comments 2017-01-16 01:39:25 -05:00
0fc2f5e76c Add some general error codes for future 2017-01-15 20:30:52 -05:00
a0bf40a25c Implement tag parsing 2017-01-12 08:44:48 -05:00
b571c8a29c Import errors in tests 2017-01-12 08:37:03 -05:00
3b6c946bb4 fixup comment 2017-01-12 07:59:09 -05:00
a171b18e4f Fix comments 2017-01-12 07:55:49 -05:00
502da6b29d simplify enum name 2017-01-12 07:37:29 -05:00
112e7da3f3 Implement EBML varint parser 2017-01-12 00:41:35 -05:00
5de9bf9aee Futures hello world. 2017-01-09 22:40:21 -05:00