excamera / alfalfa

Purely functional video codec, used for ExCamera and Salsify
GNU General Public License v2.0
1.2k stars 112 forks source link

Queries supporting lookups to TrackDB #31

Closed deepakn94 closed 8 years ago

deepakn94 commented 8 years ago

Ready to be merged now. Should be merged after sadjad/feature/alfalfa_import is merged.

Adds two types of queries to the TrackDB:

  1. Given a TrackID, return an iterator for all frames relating to that particular track.
  2. Given a TrackID, SourceHash and TargetHash, find the next frame in the particular track.
deepakn94 commented 8 years ago

@keithw @sadjad All comments welcome! Probably easier to look at this diff once the previous PR is merged.