MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / tget

Function tget

libavcodec/tiff.c:70–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70static int tget(const uint8_t **p, int type, int le){
71 switch(type){
72 case TIFF_BYTE : return *(*p)++;
73 case TIFF_SHORT: return tget_short(p, le);
74 case TIFF_LONG : return tget_long (p, le);
75 default : return -1;
76 }
77}
78
79#if CONFIG_ZLIB
80static int tiff_uncompress(uint8_t *dst, unsigned long *len, const uint8_t *src, int size)

Callers 2

tiff_decode_tagFunction · 0.85
decode_frameFunction · 0.85

Calls 2

tget_shortFunction · 0.85
tget_longFunction · 0.85

Tested by

no test coverage detected