var searchIndex = {}; searchIndex["mp4parse"] = {"doc":"Module for parsing ISO Base Media Format aka video/mp4 streams.","items":[[3,"FourCC","mp4parse","Four-byte 'character code' describing the type of a piece of data.",null,null],[3,"BoxHeader","","Basic ISO box structure.",null,null],[12,"name","","Four character box type.",0,null],[12,"size","","Size of the box in bytes.",0,null],[12,"offset","","Offset to the start of the contained data (or header size).",0,null],[3,"MediaContext","","Internal data structures.",null,null],[4,"Error","","Describes parser failures.",null,null],[13,"InvalidData","","Parse error caused by corrupt or malformed data.",1,null],[13,"Unsupported","","Parse error caused by limited parser support rather than invalid data.",1,null],[13,"UnexpectedEOF","","Reflect `byteorder::Error::UnexpectedEOF` for short data.",1,null],[13,"AssertCaught","","Caught panic! or assert! meaning the parser couldn't recover.",1,null],[13,"Io","","Propagate underlying errors from `std::io`.",1,null],[5,"read_box_header","","Read and parse a box header.",null,{"inputs":[{"name":"t"}],"output":{"name":"result"}}],[5,"read_mp4","","Read the contents of a box, including sub boxes.",null,{"inputs":[{"name":"t"},{"name":"mediacontext"}],"output":{"name":"result"}}],[0,"capi","","C API for mp4parse module.",null,null],[3,"TrackInfo","mp4parse::capi","",null,null],[3,"TrackAudioInfo","","",null,null],[3,"TrackVideoInfo","","",null,null],[5,"mp4parse_new","","Allocate an opaque rust-side parser context.",null,null],[5,"mp4parse_free","","Free a rust-side parser context.",null,null],[5,"mp4parse_read","","Feed a buffer through `read_mp4()` with the given rust-side\nparser context, returning success or an error code.",null,null],[5,"mp4parse_get_track_count","","Return the number of tracks parsed by previous `read_mp4()` calls.",null,null],[5,"mp4parse_get_track_info","","",null,null],[5,"mp4parse_get_track_audio_info","","",null,null],[5,"mp4parse_get_track_video_info","","",null,null],[6,"Result","mp4parse","Result shorthand using our Error enum.",null,null],[11,"fmt","","",1,null],[11,"from","","",1,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[11,"from","","",1,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[11,"from","","",1,{"inputs":[{"name":"fromutf8error"}],"output":{"name":"error"}}],[11,"eq","","",2,null],[11,"ne","","",2,null],[11,"clone","","",2,null],[11,"fmt","","",2,null],[11,"clone","","",0,null],[11,"fmt","","",0,null],[11,"fmt","","",3,null],[11,"new","","",3,{"inputs":[],"output":{"name":"self"}}],[11,"trace","","",3,null]],"paths":[[3,"BoxHeader"],[4,"Error"],[3,"FourCC"],[3,"MediaContext"]]}; initSearch(searchIndex);