Skip to content

Commit

Permalink
implement tild item type with tilC configuration box
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Sep 2, 2024
1 parent f1fac55 commit 4cc0ea8
Show file tree
Hide file tree
Showing 4 changed files with 263 additions and 200 deletions.
5 changes: 5 additions & 0 deletions libheif/box.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include "codecs/mask_image.h"
#include "codecs/vvc.h"
#include "codecs/avc.h"
#include "codecs/tild.h"

#include <iomanip>
#include <utility>
Expand Down Expand Up @@ -673,6 +674,10 @@ Error Box::read(BitstreamRange& range, std::shared_ptr<Box>* result)
box = std::make_shared<Box_avcC>();
break;

case fourcc("tilC"):
box = std::make_shared<Box_tilC>();
break;

case fourcc("mdat"):
// avoid generating a 'Box_other'
box = std::make_shared<Box>();
Expand Down
Loading

0 comments on commit 4cc0ea8

Please sign in to comment.