Lines Matching refs:bitstream_size
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()
390 memset(dxva_data + ctx_pic->bitstream_size, 0, padding); in commit_bitstream_and_slice_buffer()
391 ctx_pic->bitstream_size += padding; in commit_bitstream_and_slice_buffer()
410 dsc11->DataSize = ctx_pic->bitstream_size; in commit_bitstream_and_slice_buffer()
421 dsc2->DataSize = ctx_pic->bitstream_size; in commit_bitstream_and_slice_buffer()
438 if (ctx_pic->bitstream_size <= 0) in dxva2_av1_end_frame()