Home
last modified time | relevance | path

Searched refs:cur_buffer (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libavutil/
Dencryption_info.c127 uint8_t *buffer, *cur_buffer; in av_encryption_info_add_side_data() local
138 cur_buffer = buffer = av_malloc(*size); in av_encryption_info_add_side_data()
142 AV_WB32(cur_buffer, info->scheme); in av_encryption_info_add_side_data()
143 AV_WB32(cur_buffer + 4, info->crypt_byte_block); in av_encryption_info_add_side_data()
144 AV_WB32(cur_buffer + 8, info->skip_byte_block); in av_encryption_info_add_side_data()
145 AV_WB32(cur_buffer + 12, info->key_id_size); in av_encryption_info_add_side_data()
146 AV_WB32(cur_buffer + 16, info->iv_size); in av_encryption_info_add_side_data()
147 AV_WB32(cur_buffer + 20, info->subsample_count); in av_encryption_info_add_side_data()
148 cur_buffer += 24; in av_encryption_info_add_side_data()
149 memcpy(cur_buffer, info->key_id, info->key_id_size); in av_encryption_info_add_side_data()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/
Dradeon_uvd.c78 unsigned cur_buffer; member
152 buf = &dec->msg_fb_it_buffers[dec->cur_buffer]; in map_msg_fb_it_buf()
177 buf = &dec->msg_fb_it_buffers[dec->cur_buffer]; in send_msg_buf()
200 ++dec->cur_buffer; in next_buffer()
201 dec->cur_buffer %= NUM_BUFFERS; in next_buffer()
844 dec->bs_buffers[dec->cur_buffer].res->buf, in ruvd_begin_frame()
884 struct rvid_buffer *buf = &dec->bs_buffers[dec->cur_buffer]; in ruvd_decode_bitstream()
937 msg_fb_it_buf = &dec->msg_fb_it_buffers[dec->cur_buffer]; in ruvd_end_frame()
938 bs_buf = &dec->bs_buffers[dec->cur_buffer]; in ruvd_end_frame()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dradeon_uvd.c70 unsigned cur_buffer; member
143 buf = &dec->msg_fb_it_buffers[dec->cur_buffer]; in map_msg_fb_it_buf()
168 buf = &dec->msg_fb_it_buffers[dec->cur_buffer]; in send_msg_buf()
187 ++dec->cur_buffer; in next_buffer()
188 dec->cur_buffer %= NUM_BUFFERS; in next_buffer()
1016 dec->bs_ptr = dec->ws->buffer_map(dec->ws, dec->bs_buffers[dec->cur_buffer].res->buf, &dec->cs, in ruvd_begin_frame()
1050 struct rvid_buffer *buf = &dec->bs_buffers[dec->cur_buffer]; in ruvd_decode_bitstream()
1090 msg_fb_it_buf = &dec->msg_fb_it_buffers[dec->cur_buffer]; in ruvd_end_frame()
1091 bs_buf = &dec->bs_buffers[dec->cur_buffer]; in ruvd_end_frame()
Dradeon_vcn_dec.h76 unsigned cur_buffer; member
Dradeon_vcn_dec.c2252 buf = &dec->msg_fb_it_probs_buffers[dec->cur_buffer]; in map_msg_fb_it_probs_buf()
2278 buf = &dec->msg_fb_it_probs_buffers[dec->cur_buffer]; in send_msg_buf()
2299 ++dec->cur_buffer; in next_buffer()
2300 dec->cur_buffer %= NUM_BUFFERS; in next_buffer()
2562 dec->bs_ptr = dec->ws->buffer_map(dec->ws, dec->bs_buffers[dec->cur_buffer].res->buf, &dec->cs, in radeon_dec_begin_frame()
2596 struct rvid_buffer *buf = &dec->bs_buffers[dec->cur_buffer]; in radeon_dec_decode_bitstream()
2630 msg_fb_it_probs_buf = &dec->msg_fb_it_probs_buffers[dec->cur_buffer]; in send_cmd_dec()
2631 bs_buf = &dec->bs_buffers[dec->cur_buffer]; in send_cmd_dec()
Dradeon_vcn_dec_jpeg.c287 bs_buf = &dec->bs_buffers[dec->cur_buffer]; in send_cmd_jpeg()