Lines Matching defs:gbc

37     GetByteContext gbc;
259 if (bytestream2_get_bytes_left(gbc) < 4) \
261 value = bytestream2_get_le32(gbc); \
272 idx = (bytestream2_get_byte(gbc) + 2) * x; \
279 idx = (bytestream2_get_le16(gbc) + 0x102) * x; \
291 GetByteContext *gbc = &ctx->gbc;
297 AV_WL32(ctx->tex_data, bytestream2_get_le32(gbc));
298 AV_WL32(ctx->tex_data + 4, bytestream2_get_le32(gbc));
319 prev = bytestream2_get_le32(gbc);
328 prev = bytestream2_get_le32(gbc);
836 GetByteContext *gb = &ctx->gbc;
852 GetByteContext *gb = &ctx->gbc;
869 GetByteContext *gbc = &ctx->gbc;
877 AV_WL32(ctx->tex_data + 0, bytestream2_get_le32(gbc));
878 AV_WL32(ctx->tex_data + 4, bytestream2_get_le32(gbc));
879 AV_WL32(ctx->tex_data + 8, bytestream2_get_le32(gbc));
880 AV_WL32(ctx->tex_data + 12, bytestream2_get_le32(gbc));
894 if (bytestream2_get_bytes_left(gbc) < 1)
897 value = bytestream2_get_le32(gbc);
907 check = bytestream2_get_byte(gbc) + 1;
910 probe = bytestream2_get_le16(gbc);
939 run = bytestream2_get_byte(gbc);
942 probe = bytestream2_get_le16(gbc);
958 idx = 8 + bytestream2_get_le16(gbc);
971 prev = bytestream2_get_le32(gbc);
975 prev = bytestream2_get_le32(gbc);
1005 prev = bytestream2_get_le32(gbc);
1014 prev = bytestream2_get_le32(gbc);
1026 return ff_lzf_uncompress(&ctx->gbc, &ctx->tex_data, &ctx->tex_size);
1032 GetByteContext *gbc = &ctx->gbc;
1034 if (bytestream2_get_bytes_left(gbc) < ctx->tex_size)
1037 bytestream2_get_buffer(gbc, ctx->tex_data, ctx->tex_size);
1045 GetByteContext *gbc = &ctx->gbc;
1053 bytestream2_init(gbc, avpkt->data, avpkt->size);
1065 tag = bytestream2_get_le32(gbc);
1155 version_major = bytestream2_get_byte(gbc) - 1;
1156 version_minor = bytestream2_get_byte(gbc);
1159 if (bytestream2_get_byte(gbc)) {
1165 bytestream2_skip(gbc, 1); // unknown
1166 size = bytestream2_get_le32(gbc);
1172 if (size != bytestream2_get_bytes_left(gbc)) {
1175 size, bytestream2_get_bytes_left(gbc));