Lines Matching defs:gbc
102 GetByteContext gbc;
115 GetByteContext *gbc = &ctx->gbc;
122 bytestream2_skip(gbc, 4 * 3);
123 gimp_tag = bytestream2_get_le32(gbc);
127 bytestream2_skip(gbc, 4 * 7);
130 size = bytestream2_get_le32(gbc);
135 flags = bytestream2_get_le32(gbc);
139 fourcc = bytestream2_get_le32(gbc);
147 bpp = ctx->bpp = bytestream2_get_le32(gbc); // rgbbitcount
148 r = bytestream2_get_le32(gbc); // rbitmask
149 g = bytestream2_get_le32(gbc); // gbitmask
150 b = bytestream2_get_le32(gbc); // bbitmask
151 a = bytestream2_get_le32(gbc); // abitmask
153 bytestream2_skip(gbc, 4); // caps
154 bytestream2_skip(gbc, 4); // caps2
155 bytestream2_skip(gbc, 4); // caps3
156 bytestream2_skip(gbc, 4); // caps4
157 bytestream2_skip(gbc, 4); // reserved2
245 dxgi = bytestream2_get_le32(gbc);
246 bytestream2_skip(gbc, 4); // resourceDimension
247 bytestream2_skip(gbc, 4); // miscFlag
248 array = bytestream2_get_le32(gbc);
249 bytestream2_skip(gbc, 4); // miscFlag2
572 GetByteContext *gbc = &ctx->gbc;
578 bytestream2_init(gbc, avpkt->data, avpkt->size);
580 if (bytestream2_get_bytes_left(gbc) < 128) {
582 bytestream2_get_bytes_left(gbc));
586 if (bytestream2_get_le32(gbc) != MKTAG('D', 'D', 'S', ' ') ||
587 bytestream2_get_le32(gbc) != 124) { // header size
592 bytestream2_skip(gbc, 4); // flags
594 height = bytestream2_get_le32(gbc);
595 width = bytestream2_get_le32(gbc);
607 bytestream2_skip(gbc, 4); // pitch
608 bytestream2_skip(gbc, 4); // depth
609 mipmap = bytestream2_get_le32(gbc);
629 if (bytestream2_get_bytes_left(gbc) < size) {
632 bytestream2_get_bytes_left(gbc), size);
637 ctx->dec.tex_data.in = gbc->buffer;
646 bytestream2_get_buffer(gbc, frame->data[1], 16 * 4);
657 if (bytestream2_get_bytes_left(gbc) < frame->height * frame->width / 2) {
659 bytestream2_get_bytes_left(gbc), frame->height * frame->width / 2);
665 uint8_t val = bytestream2_get_byte(gbc);
677 bytestream2_get_buffer(gbc, frame->data[1], 256 * 4);
689 if (bytestream2_get_bytes_left(gbc) < frame->height * linesize) {
691 bytestream2_get_bytes_left(gbc), frame->height * linesize);
696 gbc->buffer, linesize,