Lines Matching refs:gbytes
201 static int exif_decode_tag(void *logctx, GetByteContext *gbytes, int le,
212 ff_tread_tag(gbytes, le, &id, &type, &count, &cur_pos);
214 if (!bytestream2_tell(gbytes)) {
215 bytestream2_seek(gbytes, cur_pos, SEEK_SET);
223 ret = ff_exif_decode_ifd(logctx, gbytes, le, depth + 1, metadata);
234 gbytes, le, metadata);
237 bytestream2_seek(gbytes, cur_pos, SEEK_SET);
243 int ff_exif_decode_ifd(void *logctx, GetByteContext *gbytes,
249 entries = ff_tget_short(gbytes, le);
251 if (bytestream2_get_bytes_left(gbytes) < entries * 12) {
256 if ((ret = exif_decode_tag(logctx, gbytes, le, depth, metadata)) < 0) {
262 return ff_tget_long(gbytes, le);