Lines Matching defs:src
199 static int zip_uncompress(EXRContext *s, const uint8_t *src, int compressed_size,
204 if (uncompress(td->tmp, &dest_len, src, compressed_size) != Z_OK ||
216 static int rle(uint8_t *dst, const uint8_t *src,
220 const int8_t *s = src;
258 static int rle_uncompress(EXRContext *ctx, const uint8_t *src, int compressed_size,
261 rle(td->tmp, src, compressed_size, uncompressed_size);
591 static int piz_uncompress(EXRContext *s, const uint8_t *src, int ssize,
615 bytestream2_init(&gb, src, ssize);
677 static int pxr24_uncompress(EXRContext *s, const uint8_t *src,
698 if (uncompress(td->tmp, &dest_len, src, compressed_size) != Z_OK) {
812 static int b44_uncompress(EXRContext *s, const uint8_t *src, int compressed_size,
814 const int8_t *sr = src;
840 if (src[compressed_size - stay_to_uncompress + 2] == 0xfc) { /* B44A block */
989 static int dwa_uncompress(EXRContext *s, const uint8_t *src, int compressed_size,
1003 version = AV_RL64(src + 0);
1007 lo_usize = AV_RL64(src + 8);
1008 lo_size = AV_RL64(src + 16);
1009 ac_size = AV_RL64(src + 24);
1010 dc_size = AV_RL64(src + 32);
1011 rle_csize = AV_RL64(src + 40);
1012 rle_usize = AV_RL64(src + 48);
1013 rle_raw_size = AV_RL64(src + 56);
1014 ac_count = AV_RL64(src + 64);
1015 dc_count = AV_RL64(src + 72);
1016 ac_compression = AV_RL64(src + 80);
1023 bytestream2_init(&gb, src + 88, compressed_size - 88);
1194 const uint8_t *src;
1211 src = buf + line_offset + 20;
1213 src += 4;
1215 tile_x = AV_RL32(src - 20);
1216 tile_y = AV_RL32(src - 16);
1217 tile_level_x = AV_RL32(src - 12);
1218 tile_level_y = AV_RL32(src - 8);
1220 data_size = AV_RL32(src - 4);
1254 src = buf + line_offset + 8;
1256 src += 4;
1257 line = AV_RL32(src - 8);
1262 data_size = AV_RL32(src - 4);
1331 ret = zip_uncompress(s, src, data_size, uncompressed_size, td);
1334 ret = piz_uncompress(s, src, data_size, uncompressed_size, td);
1337 ret = pxr24_uncompress(s, src, data_size, uncompressed_size, td);
1340 ret = rle_uncompress(s, src, data_size, uncompressed_size, td);
1344 ret = b44_uncompress(s, src, data_size, uncompressed_size, td);
1348 ret = dwa_uncompress(s, src, data_size, uncompressed_size, td);
1355 src = td->uncompressed_data;
1364 channel_buffer[0] = src + (td->xsize * s->channel_offsets[0]) + data_window_offset;
1365 channel_buffer[1] = src + (td->xsize * s->channel_offsets[1]) + data_window_offset;
1366 channel_buffer[2] = src + (td->xsize * s->channel_offsets[2]) + data_window_offset;
1369 channel_buffer[0] = src + (td->xsize * s->channel_offsets[1]) + data_window_offset;
1373 channel_buffer[3] = src + (td->xsize * s->channel_offsets[3]) + data_window_offset;
1388 const uint8_t *src;
1391 src = channel_buffer[c];
1405 t.i = bytestream_get_le32(&src);
1411 t.i = bytestream_get_le32(&src);
1418 t.i = bytestream_get_le32(&src);
1426 *ptr_x++ = s->gamma_table[bytestream_get_le16(&src)];
1430 ptr_x[0].i = half2float(bytestream_get_le16(&src),