Home
last modified time | relevance | path

Searched refs:bytestream_end (Results 1 – 25 of 31) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dpnm.c42 const uint8_t *end = sc->bytestream_end; in pnm_get()
71 if (s->bytestream_end - s->bytestream < 3 || in ff_pnm_decode_header()
79 s->bytestream += s->bytestream_end > s->bytestream; in ff_pnm_decode_header()
80 s->bytestream += s->bytestream_end > s->bytestream; in ff_pnm_decode_header()
141 av_image_check_size(w, h, 0, avctx) || s->bytestream >= s->bytestream_end) in ff_pnm_decode_header()
185 … if(w <= 0 || h <= 0 || av_image_check_size(w, h, 0, avctx) || s->bytestream >= s->bytestream_end) in ff_pnm_decode_header()
Dpnmdec.c56 s->bytestream_end = (uint8_t *)buf + buf_size; in pnm_decode_frame()
131 if (n * avctx->height > s->bytestream_end - s->bytestream) in pnm_decode_frame()
141 … while(s->bytestream < s->bytestream_end && (*s->bytestream < '0' || *s->bytestream > '9' )) in pnm_decode_frame()
143 if(s->bytestream >= s->bytestream_end) in pnm_decode_frame()
199 if (n * avctx->height * 3 / 2 > s->bytestream_end - s->bytestream) in pnm_decode_frame()
229 if (n * avctx->height * 3 / 2 > s->bytestream_end - s->bytestream) in pnm_decode_frame()
263 if (avctx->width * avctx->height * 12 > s->bytestream_end - s->bytestream) in pnm_decode_frame()
304 if (avctx->width * avctx->height * 6 > s->bytestream_end - s->bytestream) in pnm_decode_frame()
365 if (avctx->width * avctx->height * 4 > s->bytestream_end - s->bytestream) in pnm_decode_frame()
388 if (avctx->width * avctx->height * 2 > s->bytestream_end - s->bytestream) in pnm_decode_frame()
Ddirac_arith.h81 const uint8_t *bytestream_end; member
116 if (c->bytestream > c->bytestream_end) { in refill()
118 if (c->bytestream > c->bytestream_end+1) in refill()
121 c->bytestream = c->bytestream_end; in refill()
Dpnm_parser.c65 pnmctx.bytestream_end = pc->buffer + pc->index; in pnm_parse()
69 pnmctx.bytestream_end = (uint8_t *) buf + buf_size - skip; in pnm_parse()
72 if (pnmctx.bytestream < pnmctx.bytestream_end) { in pnm_parse()
85 const uint8_t *end = pnmctx.bytestream_end; in pnm_parse()
Dcabac_functions.h72 if (c->bytestream < c->bytestream_end) in refill()
109 if (c->bytestream < c->bytestream_end) in refill2()
212 if ((int) (c->bytestream_end - ptr) < n) in skip_bytes()
214 if (ff_init_cabac_decoder(c, ptr + n, c->bytestream_end - ptr - n) < 0) in skip_bytes()
Dpnmenc.c41 uint8_t *bytestream, *bytestream_start, *bytestream_end; in pnm_encode_frame() local
52 bytestream_end = pkt->data + pkt->size; in pnm_encode_frame()
114 snprintf(bytestream, bytestream_end - bytestream, in pnm_encode_frame()
121 snprintf(bytestream, bytestream_end - bytestream, in pnm_encode_frame()
131 snprintf(bytestream, bytestream_end - bytestream, in pnm_encode_frame()
Dvcr1.c55 const uint8_t *bytestream_end = bytestream + avpkt->size; in vcr1_decode_frame() local
81 av_assert0 (bytestream_end - bytestream >= 4 + avctx->width); in vcr1_decode_frame()
100 av_assert0 (bytestream_end - bytestream >= avctx->width / 2); in vcr1_decode_frame()
Ddirac_arith.c104 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()
Dlagarithrac.h47 const uint8_t *bytestream_end; /**< End position of input bytestream. */ member
65 if (l->bytestream < l->bytestream_end) in lag_rac_refill()
Drangecoder.c46 c->bytestream_end = buf + buf_size; in ff_init_range_encoder()
64 c->bytestream_end = c->bytestream; in ff_init_range_decoder()
Drangecoder.h44 uint8_t *bytestream_end; member
119 if (c->bytestream < c->bytestream_end) { in refill()
Dpngenc.c56 uint8_t *bytestream_end; member
287 if (s->bytestream_end - s->bytestream > IOBUF_SIZE + 100) in png_write_row()
379 zstream->avail_out = s->bytestream_end - buf; in png_write_iccp()
553 if (len > 0 && s->bytestream_end - s->bytestream > len + 100) { in encode_frame()
628 s->bytestream_end = pkt->data + pkt->size; in encode_png()
829 original_bytestream_end = s->bytestream_end; in apng_encode_frame()
899 s->bytestream_end = temp_bytestream_end; in apng_encode_frame()
902 s->bytestream_end = original_bytestream_end; in apng_encode_frame()
910 s->bytestream_end = original_bytestream_end; in apng_encode_frame()
985 s->bytestream_end = s->bytestream + max_packet_size; in encode_apng()
Dpnm.h30 uint8_t *bytestream_end; member
Dcabac.h46 const uint8_t *bytestream_end; member
Dcabac.c165 c->bytestream_end= buf + buf_size; in ff_init_cabac_decoder()
Dlagarithrac.c44 l->bytestream_end = l->bytestream_start + left; in ff_lag_rac_init()
Dffv1dec.c330 (fs->c.bytestream_end - fs->c.bytestream_start - fs->ac_byte_count) * 8); in decode_slice()
366 v = fs->c.bytestream_end - fs->c.bytestream - 2 - 5*f->ec; in decode_slice()
445 c->bytestream_end -= 4; in read_extra_header()
763 const uint8_t *p = c->bytestream_end; in read_header()
965 fs->c.bytestream_end = buf_p + v; in decode_frame()
/third_party/ffmpeg/libavcodec/loongarch/
Dcabac.h136 [c_bytestream_end]"r"(c->bytestream_end), in get_cabac_inline_loongarch()
184 [c_bytestream_end]"r"(c->bytestream_end), in get_cabac_bypass_loongarch()
230 [c_bytestream_end]"r"(c->bytestream_end), in get_cabac_bypass_sign_loongarch()
Dh264_cabac.c71 [c_bytestream_end]"r"(c->bytestream_end), in decode_significance_loongarch()
130 [c_bytestream_end]"r"(c->bytestream_end), in decode_significance_8x8_loongarch()
/third_party/ffmpeg/libavcodec/mips/
Dcabac.h111 [c_bytestream_end]"r"(c->bytestream_end), in get_cabac_inline_mips()
167 [c_bytestream_end]"r"(c->bytestream_end), in get_cabac_bypass_mips()
220 [c_bytestream_end]"r"(c->bytestream_end), in get_cabac_bypass_sign_mips()
/third_party/ffmpeg/libavcodec/x86/
Dcabac.h210 "i"(offsetof(CABACContext, bytestream_end)) in get_cabac_inline_x86()
259 "i"(offsetof(CABACContext, bytestream_end)), in get_cabac_bypass_sign_x86()
299 "i"(offsetof(CABACContext, bytestream_end)), in get_cabac_bypass_x86()
Dh264_cabac.c114 "i"(offsetof(CABACContext, bytestream_end)) in decode_significance_x86()
200 "i"(offsetof(CABACContext, bytestream_end)), in decode_significance_8x8_x86()
/third_party/ffmpeg/libavcodec/tests/
Drangecoder.c45 tmp.bytestream_end = tmp.bytestream; in rac_check_termination()
50 if (c->bytestream_end != c->bytestream) in rac_check_termination()
/third_party/ffmpeg/libavcodec/arm/
Dcabac.h97 [end]"M"(offsetof(CABACContext, bytestream_end)), in get_cabac_inline_arm()
/third_party/ffmpeg/libavcodec/aarch64/
Dcabac.h92 [end]"i"(offsetof(CABACContext, bytestream_end)), in get_cabac_inline_aarch64()

12