Home
last modified time | relevance | path

Searched refs:bytestream2_get_bytes_left_p (Results 1 – 9 of 9) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dprosumer.c61 if (bytestream2_get_bytes_left_p(pb) <= 0 || bytestream2_get_eof(pb)) in decompress()
161 …if (bytestream2_get_bytes_left_p(&s->pb) > s->size * (int64_t)avctx->discard_damaged_percentage / … in decode_frame()
164 av_assert0(s->size >= bytestream2_get_bytes_left_p(&s->pb)); in decode_frame()
165 memset(s->decbuffer + bytestream2_tell_p(&s->pb), 0, bytestream2_get_bytes_left_p(&s->pb)); in decode_frame()
Dgdv.c262 while (bytestream2_get_bytes_left_p(pb) > 0 && bytestream2_get_bytes_left(gb) > 0) { in decompress_2()
280 if (bytestream2_get_bytes_left_p(pb) > 0) in decompress_2()
297 while (bytestream2_get_bytes_left_p(pb) > 0 && bytestream2_get_bytes_left(gb) > 0) { in decompress_5()
328 if (bytestream2_get_bytes_left_p(pb) > 0) in decompress_5()
345 while (bytestream2_get_bytes_left_p(pb) > 0 && bytestream2_get_bytes_left(gb) > 0) { in decompress_68()
453 if (bytestream2_get_bytes_left_p(pb) > 0) in decompress_68()
Dsgienc.c67 if (bytestream2_get_bytes_left_p(pbc) < bpp * 2) in sgi_rle_encode()
77 if (bytestream2_get_bytes_left_p(pbc) < bpp * (count + 1)) in sgi_rle_encode()
Diff.c1228 while (opcode && bytestream2_get_bytes_left_p(&pb) > 1) { in decode_short_vertical_delta2()
1240 bytestream2_get_bytes_left_p(&pb) > 1) { in decode_short_vertical_delta2()
1303 while (opcode && bytestream2_get_bytes_left_p(&pb) > 1) { in decode_long_vertical_delta2()
1318 bytestream2_get_bytes_left_p(&pb) > 1) { in decode_long_vertical_delta2()
1375 if (opcode && 4 + (opcode - 1LL) * pitch > bytestream2_get_bytes_left_p(&pb)) in decode_delta_d()
1377 while (opcode && bytestream2_get_bytes_left_p(&pb) > 0) { in decode_delta_d()
1431 while (opcode && bytestream2_get_bytes_left_p(&pb) > 0) { in decode_delta_e()
Dmagicyuvenc.c499 init_put_bits(&s->pb, pkt->data + bytestream2_tell_p(&pb), bytestream2_get_bytes_left_p(&pb)); in magy_encode_frame()
515 bytestream2_get_bytes_left_p(&pb), in magy_encode_frame()
Dbytestream.h163 static av_always_inline int bytestream2_get_bytes_left_p(PutByteContext *p) in bytestream2_get_bytes_left_p() function
Dvaapi_encode_mjpeg.c287 av_assert0(bytestream2_get_bytes_left_p(&pbc) == 0); in vaapi_encode_mjpeg_init_picture_params()
Dcfhdenc.c741 … init_put_bits(pb, pkt->data + bytestream2_tell_p(pby), bytestream2_get_bytes_left_p(pby)); in cfhd_encode_frame()
Dwavpackenc.c2772 init_put_bits(&s->pb, pb.buffer + 3, bytestream2_get_bytes_left_p(&pb)); in wavpack_encode_block()
2792 init_put_bits(&s->pb, pb.buffer + 7, bytestream2_get_bytes_left_p(&pb)); in wavpack_encode_block()