Searched refs:cur_buffer (Results 1 – 10 of 10) sorted by relevance
/third_party/ffmpeg/libavutil/ |
D | encryption_info.c | 127 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/gstreamer/gstplugins_bad/gst/mpegpsmux/ |
D | psmuxstream.c | 173 stream->cur_buffer = NULL; in psmux_stream_new() 222 g_assert (stream->cur_buffer != NULL); in psmux_stream_consume() 223 g_assert (len <= stream->cur_buffer->map.size - stream->cur_buffer_consumed); in psmux_stream_consume() 231 if (stream->cur_buffer->pts != -1) in psmux_stream_consume() 232 stream->last_pts = stream->cur_buffer->pts; in psmux_stream_consume() 234 if (stream->cur_buffer_consumed == stream->cur_buffer->map.size) { in psmux_stream_consume() 238 gst_buffer_unmap (stream->cur_buffer->buf, &stream->cur_buffer->map); in psmux_stream_consume() 239 gst_buffer_unref (stream->cur_buffer->buf); in psmux_stream_consume() 240 g_slice_free (PsMuxStreamBuffer, stream->cur_buffer); in psmux_stream_consume() 241 stream->cur_buffer = NULL; in psmux_stream_consume() [all …]
|
D | psmuxstream.h | 110 PsMuxStreamBuffer *cur_buffer; member
|
/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/tsmux/ |
D | tsmuxstream.c | 311 g_assert (stream->cur_buffer != NULL); in tsmux_stream_consume() 312 g_assert (len <= stream->cur_buffer->size - stream->cur_buffer_consumed); in tsmux_stream_consume() 317 if (stream->cur_buffer_consumed == 0 && stream->cur_buffer->size != 0) in tsmux_stream_consume() 320 if (GST_CLOCK_STIME_IS_VALID (stream->cur_buffer->pts)) in tsmux_stream_consume() 321 stream->last_pts = stream->cur_buffer->pts; in tsmux_stream_consume() 322 if (GST_CLOCK_STIME_IS_VALID (stream->cur_buffer->dts)) in tsmux_stream_consume() 323 stream->last_dts = stream->cur_buffer->dts; in tsmux_stream_consume() 325 if (stream->cur_buffer_consumed == stream->cur_buffer->size) { in tsmux_stream_consume() 330 stream->buffer_release (stream->cur_buffer->data, in tsmux_stream_consume() 331 stream->cur_buffer->user_data); in tsmux_stream_consume() [all …]
|
D | tsmuxstream.h | 165 TsMuxStreamBuffer *cur_buffer; member
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | radeon_uvd.c | 78 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/ |
D | radeon_uvd.c | 70 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()
|
D | radeon_vcn_dec.h | 76 unsigned cur_buffer; member
|
D | radeon_vcn_dec.c | 2252 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()
|
D | radeon_vcn_dec_jpeg.c | 287 bs_buf = &dec->bs_buffers[dec->cur_buffer]; in send_cmd_jpeg()
|