/third_party/ffmpeg/libavcodec/ |
D | vcr1.c | 54 const uint8_t *bytestream = avpkt->data; in vcr1_decode_frame() local 55 const uint8_t *bytestream_end = bytestream + avpkt->size; in vcr1_decode_frame() 69 a->delta[i] = *bytestream++; in vcr1_decode_frame() 70 bytestream++; in vcr1_decode_frame() 81 av_assert0 (bytestream_end - bytestream >= 4 + avctx->width); in vcr1_decode_frame() 84 a->offset[i] = *bytestream++; in vcr1_decode_frame() 86 offset = a->offset[0] - a->delta[bytestream[2] & 0xF]; in vcr1_decode_frame() 88 luma[0] = offset += a->delta[bytestream[2] & 0xF]; in vcr1_decode_frame() 89 luma[1] = offset += a->delta[bytestream[2] >> 4]; in vcr1_decode_frame() 90 luma[2] = offset += a->delta[bytestream[0] & 0xF]; in vcr1_decode_frame() [all …]
|
D | pnmdec.c | 52 s->bytestream = (uint8_t *)buf; in pnm_decode_frame() 128 if (n * avctx->height > s->bytestream_end - s->bytestream) in pnm_decode_frame() 138 … while(s->bytestream < s->bytestream_end && (*s->bytestream < '0' || *s->bytestream > '9' )) in pnm_decode_frame() 139 s->bytestream++; in pnm_decode_frame() 140 if(s->bytestream >= s->bytestream_end) in pnm_decode_frame() 144 v = (*s->bytestream++)&1; in pnm_decode_frame() 149 c = (*s->bytestream++) - '0'; in pnm_decode_frame() 168 samplecpy(ptr, s->bytestream, n, s->maxval); in pnm_decode_frame() 172 ptr[j] = (s->bytestream[j] * f + 64) >> 7; in pnm_decode_frame() 176 v = AV_RB16(s->bytestream + 2*j); in pnm_decode_frame() [all …]
|
D | pnmenc.c | 30 uint8_t *bytestream, *bytestream_start, *bytestream_end; in pnm_encode_frame() local 40 bytestream = pkt->data; in pnm_encode_frame() 83 snprintf(bytestream, bytestream_end - bytestream, in pnm_encode_frame() 85 bytestream += strlen(bytestream); in pnm_encode_frame() 88 snprintf(bytestream, bytestream_end - bytestream, in pnm_encode_frame() 90 bytestream += strlen(bytestream); in pnm_encode_frame() 96 memcpy(bytestream, ptr, n); in pnm_encode_frame() 97 bytestream += n; in pnm_encode_frame() 107 memcpy(bytestream, ptr1, n); in pnm_encode_frame() 108 bytestream += n; in pnm_encode_frame() [all …]
|
D | rangecoder.c | 45 c->bytestream = buf; in ff_init_range_encoder() 59 c->low = AV_RB16(c->bytestream); in ff_init_range_decoder() 60 c->bytestream += 2; in ff_init_range_decoder() 64 c->bytestream_end = c->bytestream; in ff_init_range_decoder() 122 return c->bytestream - c->bytestream_start; in ff_rac_terminate() 131 if (c->bytestream == tmp.bytestream && c->bytestream > c->bytestream_start) in ff_rac_check_termination() 132 tmp.low -= *--tmp.bytestream; in ff_rac_check_termination() 133 tmp.bytestream_end = tmp.bytestream; in ff_rac_check_termination() 138 if (c->bytestream_end != c->bytestream) in ff_rac_check_termination()
|
D | gif.c | 259 uint8_t **bytestream, uint8_t *end, in gif_image_write_image() argument 290 bytestream_put_buffer(bytestream, gif89a_sig, sizeof(gif89a_sig)); in gif_image_write_image() 291 bytestream_put_le16(bytestream, avctx->width); in gif_image_write_image() 292 bytestream_put_le16(bytestream, avctx->height); in gif_image_write_image() 296 bytestream_put_byte(bytestream, 0xf7); /* flags: global clut, 256 entries */ in gif_image_write_image() 297 …bytestream_put_byte(bytestream, bcid < 0 ? DEFAULT_TRANSPARENCY_INDEX : bcid); /* background color… in gif_image_write_image() 298 bytestream_put_byte(bytestream, aspect); in gif_image_write_image() 301 bytestream_put_be24(bytestream, v); in gif_image_write_image() 318 bytestream_put_byte(bytestream, GIF_EXTENSION_INTRODUCER); in gif_image_write_image() 319 bytestream_put_byte(bytestream, GIF_GCE_EXT_LABEL); in gif_image_write_image() [all …]
|
D | pnm.c | 41 uint8_t *bs = sc->bytestream; in pnm_get() 62 sc->bytestream = bs; in pnm_get() 71 if (s->bytestream_end - s->bytestream < 3 || in ff_pnm_decode_header() 72 s->bytestream[0] != 'P' || in ff_pnm_decode_header() 73 (s->bytestream[1] < '1' || in ff_pnm_decode_header() 74 s->bytestream[1] > '7' && in ff_pnm_decode_header() 75 s->bytestream[1] != 'F')) { in ff_pnm_decode_header() 76 s->bytestream += s->bytestream_end > s->bytestream; in ff_pnm_decode_header() 77 s->bytestream += s->bytestream_end > s->bytestream; in ff_pnm_decode_header() 124 if (!pnm_space(s->bytestream[-1])) in ff_pnm_decode_header() [all …]
|
D | pamenc.c | 28 uint8_t *bytestream_start, *bytestream, *bytestream_end; in pam_encode_frame() local 98 bytestream = pkt->data; in pam_encode_frame() 101 snprintf(bytestream, bytestream_end - bytestream, in pam_encode_frame() 104 bytestream += strlen(bytestream); in pam_encode_frame() 113 *bytestream++ = ptr[j >> 3] >> (7 - j & 7) & 1; in pam_encode_frame() 118 memcpy(bytestream, ptr, n); in pam_encode_frame() 119 bytestream += n; in pam_encode_frame() 124 pkt->size = bytestream - bytestream_start; in pam_encode_frame()
|
D | cabac.c | 178 c->bytestream= buf; in ff_init_cabac_decoder() 182 c->low = (*c->bytestream++)<<18; in ff_init_cabac_decoder() 183 c->low+= (*c->bytestream++)<<10; in ff_init_cabac_decoder() 187 if(((uintptr_t)c->bytestream & 1) == 0) { in ff_init_cabac_decoder() 191 c->low += ((*c->bytestream++) << 2) + 2; in ff_init_cabac_decoder() 194 c->low = (*c->bytestream++)<<10; in ff_init_cabac_decoder() 195 c->low+= ((*c->bytestream++)<<2) + 2; in ff_init_cabac_decoder()
|
D | cabac_functions.h | 60 c->low+= (c->bytestream[0]<<9) + (c->bytestream[1]<<1); in refill() 62 c->low+= c->bytestream[0]<<1; in refill() 66 if (c->bytestream < c->bytestream_end) in refill() 68 c->bytestream += CABAC_BITS / 8; in refill() 96 x+= (c->bytestream[0]<<9) + (c->bytestream[1]<<1); in refill2() 98 x+= c->bytestream[0]<<1; in refill2() 103 if (c->bytestream < c->bytestream_end) in refill2() 105 c->bytestream += CABAC_BITS/8; in refill2() 187 return c->bytestream - c->bytestream_start; in get_cabac_terminate() 198 const uint8_t *ptr = c->bytestream; in skip_bytes()
|
D | fitsenc.c | 41 uint8_t *bytestream, *bytestream_start, *ptr; in fits_encode_frame() local 87 bytestream = pkt->data; in fits_encode_frame() 95 bytestream_put_be16(&bytestream, AV_RB16(ptr) ^ flip); in fits_encode_frame() 99 memcpy(bytestream, ptr, avctx->width); in fits_encode_frame() 100 bytestream += avctx->width; in fits_encode_frame() 106 memset(bytestream, 0, bytes_left); in fits_encode_frame() 107 bytestream += bytes_left; in fits_encode_frame() 109 pkt->size = bytestream - bytestream_start; in fits_encode_frame()
|
D | rangecoder.h | 43 uint8_t *bytestream; member 78 *c->bytestream++ = c->outstanding_byte; in renorm_encoder() 80 *c->bytestream++ = 0xFF; in renorm_encoder() 83 *c->bytestream++ = c->outstanding_byte + 1; in renorm_encoder() 85 *c->bytestream++ = 0x00; in renorm_encoder() 98 int x = c->bytestream - c->bytestream_start + c->outstanding_count; in get_rac_count() 128 if (c->bytestream < c->bytestream_end) { in refill() 129 c->low += c->bytestream[0]; in refill() 130 c->bytestream++; in refill()
|
D | pnm_parser.c | 64 pnmctx.bytestream = pc->buffer; in pnm_parse() 68 pnmctx.bytestream = (uint8_t *) buf + skip; /* casts avoid warnings */ in pnm_parse() 72 if (pnmctx.bytestream < pnmctx.bytestream_end) { in pnm_parse() 77 unsigned step = FFMAX(1, pnmctx.bytestream - pnmctx.bytestream_start); in pnm_parse() 84 uint8_t *bs = pnmctx.bytestream; in pnm_parse() 110 pnmpc->ascii_scan = sync - pnmctx.bytestream + skip; in pnm_parse() 113 next = pnmctx.bytestream - pnmctx.bytestream_start + skip; in pnm_parse()
|
D | pngenc.c | 52 uint8_t *bytestream; member 251 png_write_chunk(&s->bytestream, MKTAG('I', 'D', 'A', 'T'), buf, length); in png_write_image_data() 255 bytestream_put_be32(&s->bytestream, length + 4); in png_write_image_data() 257 bytestream_put_be32(&s->bytestream, MKBETAG('f', 'd', 'A', 'T')); in png_write_image_data() 258 bytestream_put_be32(&s->bytestream, s->sequence_number); in png_write_image_data() 259 crc = av_crc(crc_table, crc, s->bytestream - 8, 8); in png_write_image_data() 262 memcpy(s->bytestream, buf, length); in png_write_image_data() 263 s->bytestream += length; in png_write_image_data() 265 bytestream_put_be32(&s->bytestream, ~crc); in png_write_image_data() 283 if (s->bytestream_end - s->bytestream > IOBUF_SIZE + 100) in png_write_row() [all …]
|
D | dirac_arith.c | 103 c->bytestream = gb->buffer + get_bits_count(gb)/8; in ff_dirac_init_arith_decoder() 104 c->bytestream_end = c->bytestream + length; in ff_dirac_init_arith_decoder() 110 if (c->bytestream < c->bytestream_end) in ff_dirac_init_arith_decoder() 111 c->low |= *c->bytestream++; in ff_dirac_init_arith_decoder()
|
D | lagarithrac.h | 47 const uint8_t *bytestream; /**< Current position in input bytestream. */ member 65 l->low |= 0xff & (AV_RB16(l->bytestream) >> 1); in lag_rac_refill() 66 if (l->bytestream < l->bytestream_end) in lag_rac_refill() 67 l->bytestream++; in lag_rac_refill()
|
D | dirac_arith.h | 80 const uint8_t *bytestream; member 114 int new = bytestream_get_be16(&c->bytestream); in refill() 117 if (c->bytestream > c->bytestream_end) { in refill() 119 if (c->bytestream > c->bytestream_end+1) in refill() 122 c->bytestream = c->bytestream_end; in refill()
|
D | lagarithrac.c | 43 l->bytestream = gb->buffer + get_bits_count(gb) / 8; in ff_lag_rac_init() 47 l->low = *l->bytestream >> 1; in ff_lag_rac_init()
|
D | pnm.h | 28 uint8_t *bytestream; member
|
D | cabac.h | 48 const uint8_t *bytestream; member
|
/third_party/ffmpeg/libavformat/ |
D | msnwc_tcp.c | 46 const uint8_t *bytestream = p->buf + i; in msnwc_tcp_probe() local 48 if (bytestream_get_le16(&bytestream) != HEADER_SIZE) in msnwc_tcp_probe() 50 width = bytestream_get_le16(&bytestream); in msnwc_tcp_probe() 51 height = bytestream_get_le16(&bytestream); in msnwc_tcp_probe() 55 bytestream += 2; // keyframe in msnwc_tcp_probe() 56 bytestream += 4; // size in msnwc_tcp_probe() 57 fourcc = bytestream_get_le32(&bytestream); in msnwc_tcp_probe()
|
/third_party/ffmpeg/libavcodec/x86/ |
D | cabac.h | 202 "i"(offsetof(CABACContext, bytestream)), in get_cabac_inline_x86() 251 "i"(offsetof(CABACContext, bytestream)), in get_cabac_bypass_sign_x86() 291 "i"(offsetof(CABACContext, bytestream)), in get_cabac_bypass_x86()
|
D | h264_cabac.c | 113 "i"(offsetof(CABACContext, bytestream)), in decode_significance_x86() 199 "i"(offsetof(CABACContext, bytestream)), in decode_significance_8x8_x86()
|
/third_party/ffmpeg/libavcodec/arm/ |
D | cabac.h | 96 [byte]"M"(offsetof(CABACContext, bytestream)), in get_cabac_inline_arm()
|
/third_party/ffmpeg/libavcodec/aarch64/ |
D | cabac.h | 91 [byte]"i"(offsetof(CABACContext, bytestream)), in get_cabac_inline_aarch64()
|
/third_party/ffmpeg/libavcodec/mips/ |
D | cabac.h | 104 [c_bytestream]"+&r"(c->bytestream) in get_cabac_inline_mips()
|