/third_party/ffmpeg/libavcodec/ |
D | 4xm.c | 439 unsigned int bitstream_size, bytestream_size, wordstream_size, extra, in decode_p_frame() local 449 bitstream_size = AV_RL32(buf + 8); in decode_p_frame() 454 bitstream_size = AV_RL16(buf - 4); in decode_p_frame() 456 bytestream_size = FFMAX(length - bitstream_size - wordstream_size, 0); in decode_p_frame() 459 if (bitstream_size > length || bitstream_size >= INT_MAX/8 || in decode_p_frame() 460 bytestream_size > length - bitstream_size || in decode_p_frame() 461 wordstream_size > length - bytestream_size - bitstream_size || in decode_p_frame() 462 extra > length - bytestream_size - bitstream_size - wordstream_size) { in decode_p_frame() 463 …av_log(f->avctx, AV_LOG_ERROR, "lengths %d %d %d %d\n", bitstream_size, bytestream_size, wordstrea… in decode_p_frame() 464 bitstream_size+ bytestream_size+ wordstream_size - length); in decode_p_frame() [all …]
|
D | dxva2_av1.c | 45 unsigned bitstream_size; member 286 ctx_pic->bitstream_size = 0; in dxva2_av1_start_frame() 310 ctx_pic->bitstream_size = size; in dxva2_av1_decode_slice() 325 ctx_pic->bitstream_size + size); in dxva2_av1_decode_slice() 331 memcpy(ctx_pic->bitstream + ctx_pic->bitstream_size, buffer, size); in dxva2_av1_decode_slice() 334 …ctx_pic->tiles[tile_num].DataOffset = ctx_pic->bitstream_size + h->tile_group_info[tile_num].til… in dxva2_av1_decode_slice() 341 ctx_pic->bitstream_size += size; in dxva2_av1_decode_slice() 381 if (ctx_pic->bitstream_size > dxva_size) { in commit_bitstream_and_slice_buffer() 386 memcpy(dxva_data, ctx_pic->bitstream, ctx_pic->bitstream_size); in commit_bitstream_and_slice_buffer() 388 padding = FFMIN(128 - ((ctx_pic->bitstream_size) & 127), dxva_size - ctx_pic->bitstream_size); in commit_bitstream_and_slice_buffer() [all …]
|
D | interplayacm.c | 44 int bitstream_size; member 564 if (!pkt->size && !s->bitstream_size) { in decode_frame() 569 buf_size = FFMIN(pkt->size, s->max_framesize - s->bitstream_size); in decode_frame() 571 if (s->bitstream_index + s->bitstream_size + buf_size > s->max_framesize) { in decode_frame() 572 memmove(s->bitstream, &s->bitstream[s->bitstream_index], s->bitstream_size); in decode_frame() 576 memcpy(&s->bitstream[s->bitstream_index + s->bitstream_size], pkt->data, buf_size); in decode_frame() 578 buf_size += s->bitstream_size; in decode_frame() 579 s->bitstream_size = buf_size; in decode_frame() 609 s->bitstream_size = 0; in decode_frame() 614 if (s->bitstream_size > 0) { in decode_frame() [all …]
|
D | shorten.c | 98 int bitstream_size; member 550 buf_size = FFMIN(buf_size, s->max_framesize - s->bitstream_size); in shorten_decode_frame() 553 if (s->bitstream_index + s->bitstream_size + buf_size + AV_INPUT_BUFFER_PADDING_SIZE > in shorten_decode_frame() 556 s->bitstream_size); in shorten_decode_frame() 560 memcpy(&s->bitstream[s->bitstream_index + s->bitstream_size], buf, in shorten_decode_frame() 563 buf_size += s->bitstream_size; in shorten_decode_frame() 564 s->bitstream_size = buf_size; in shorten_decode_frame() 778 s->bitstream_size = 0; in shorten_decode_frame() 782 if (s->bitstream_size) { in shorten_decode_frame() 784 s->bitstream_size -= i; in shorten_decode_frame()
|
D | dxva2_mpeg2.c | 39 unsigned bitstream_size; member 272 ctx_pic->bitstream_size = 0; in dxva2_mpeg2_start_frame() 292 ctx_pic->bitstream_size += size; in dxva2_mpeg2_decode_slice() 307 if (ctx_pic->slice_count <= 0 || ctx_pic->bitstream_size <= 0) in dxva2_mpeg2_end_frame()
|
D | dxva2_vp9.c | 35 unsigned bitstream_size; member 270 ctx_pic->bitstream_size = 0; in dxva2_vp9_start_frame() 285 ctx_pic->bitstream_size += size; in dxva2_vp9_decode_slice() 299 if (ctx_pic->bitstream_size <= 0) in dxva2_vp9_end_frame()
|
D | videotoolbox.c | 88 vtctx->bitstream_size = size; in ff_videotoolbox_buffer_copy() 437 vtctx->bitstream_size+size+4); in videotoolbox_common_decode_slice() 443 AV_WB32(vtctx->bitstream + vtctx->bitstream_size, size); in videotoolbox_common_decode_slice() 444 memcpy(vtctx->bitstream + vtctx->bitstream_size + 4, buffer, size); in videotoolbox_common_decode_slice() 446 vtctx->bitstream_size += size + 4; in videotoolbox_common_decode_slice() 718 vtctx->bitstream_size); in videotoolbox_session_decode_frame() 1018 if (!videotoolbox->session || !vtctx->bitstream || !vtctx->bitstream_size) in ff_videotoolbox_common_end_frame() 1043 vtctx->bitstream_size = 0; in videotoolbox_h264_end_frame() 1082 vtctx->bitstream_size = 0; in videotoolbox_hevc_end_frame()
|
D | dxva2_vc1.c | 39 unsigned bitstream_size; member 327 ctx_pic->bitstream_size = 0; in dxva2_vc1_start_frame() 355 ctx_pic->bitstream_size += size; in dxva2_vc1_decode_slice() 368 if (ctx_pic->slice_count <= 0 || ctx_pic->bitstream_size <= 0) in dxva2_vc1_end_frame()
|
D | dxva2_hevc.c | 39 unsigned bitstream_size; member 377 ctx_pic->bitstream_size = 0; in dxva2_hevc_start_frame() 396 ctx_pic->bitstream_size += size; in dxva2_hevc_decode_slice() 412 if (ctx_pic->slice_count <= 0 || ctx_pic->bitstream_size <= 0) in dxva2_hevc_end_frame()
|
D | dxva2_h264.c | 40 unsigned bitstream_size; member 462 ctx_pic->bitstream_size = 0; in dxva2_h264_start_frame() 483 ctx_pic->bitstream_size += size; in dxva2_h264_decode_slice() 507 if (ctx_pic->slice_count <= 0 || ctx_pic->bitstream_size <= 0) in dxva2_h264_end_frame()
|
D | vt_internal.h | 30 int bitstream_size; member
|
D | imm4.c | 49 int bitstream_size; member 368 av_fast_padded_malloc(&s->bitstream, &s->bitstream_size, in decode_frame() 530 s->bitstream_size = 0; in decode_close()
|
D | agm.c | 68 int bitstream_size; member 1115 s->bitstream_size = s->fflags & 0x1FFFFFFF; in decode_frame() 1118 if (avpkt->size < s->bitstream_size + 8) in decode_frame() 1137 ret = decode_huffman2(avctx, header, (avpkt->size - s->bitstream_size) - 8); in decode_frame()
|
D | mobiclip.c | 267 int bitstream_size; member 1219 av_fast_padded_malloc(&s->bitstream, &s->bitstream_size, in mobiclip_decode() 1332 s->bitstream_size = 0; in mobiclip_close()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | radeon_uvd_enc.h | 138 uint32_t bitstream_size; member
|
D | radeon_uvd_enc.c | 253 *size = fb_data->bitstream_size; in radeon_uvd_enc_get_feedback()
|