Home
last modified time | relevance | path

Searched refs:dxva_data (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/libavcodec/
Ddxva2_hevc.c247 uint8_t *dxva_data, *current, *end; in commit_bitstream_and_slice_buffer() local
276 dxva_data = dxva_data_ptr; in commit_bitstream_and_slice_buffer()
277 current = dxva_data; in commit_bitstream_and_slice_buffer()
278 end = dxva_data + dxva_size; in commit_bitstream_and_slice_buffer()
294 slice->BSNALunitDataLocation = current - dxva_data; in commit_bitstream_and_slice_buffer()
303 padding = FFMIN(128 - ((current - dxva_data) & 127), end - current); in commit_bitstream_and_slice_buffer()
328 dsc11->DataSize = current - dxva_data; in commit_bitstream_and_slice_buffer()
339 dsc2->DataSize = current - dxva_data; in commit_bitstream_and_slice_buffer()
349 av_assert0(((current - dxva_data) & 127) == 0); in commit_bitstream_and_slice_buffer()
Ddxva2_mpeg2.c161 uint8_t *dxva_data, *current, *end; in commit_bitstream_and_slice_buffer() local
186 dxva_data = dxva_data_ptr; in commit_bitstream_and_slice_buffer()
187 current = dxva_data; in commit_bitstream_and_slice_buffer()
188 end = dxva_data + dxva_size; in commit_bitstream_and_slice_buffer()
198 slice->dwSliceDataLocation = current - dxva_data; in commit_bitstream_and_slice_buffer()
228 dsc11->DataSize = current - dxva_data; in commit_bitstream_and_slice_buffer()
239 dsc2->DataSize = current - dxva_data; in commit_bitstream_and_slice_buffer()
Ddxva2_vc1.c196 uint8_t *dxva_data, *current, *end; in commit_bitstream_and_slice_buffer() local
222 dxva_data = dxva_data_ptr; in commit_bitstream_and_slice_buffer()
223 current = dxva_data; in commit_bitstream_and_slice_buffer()
224 end = dxva_data + dxva_size; in commit_bitstream_and_slice_buffer()
235 slice->dwSliceDataLocation = current - dxva_data; in commit_bitstream_and_slice_buffer()
259 padding = FFMIN(128 - ((current - dxva_data) & 127), end - current); in commit_bitstream_and_slice_buffer()
284 dsc11->DataSize = current - dxva_data; in commit_bitstream_and_slice_buffer()
295 dsc2->DataSize = current - dxva_data; in commit_bitstream_and_slice_buffer()
Ddxva2_h264.c308 uint8_t *dxva_data, *current, *end; in commit_bitstream_and_slice_buffer() local
337 dxva_data = dxva_data_ptr; in commit_bitstream_and_slice_buffer()
338 current = dxva_data; in commit_bitstream_and_slice_buffer()
339 end = dxva_data + dxva_size; in commit_bitstream_and_slice_buffer()
363 slice->BSNALunitDataLocation = current - dxva_data; in commit_bitstream_and_slice_buffer()
381 padding = FFMIN(128 - ((current - dxva_data) & 127), end - current); in commit_bitstream_and_slice_buffer()
406 dsc11->DataSize = current - dxva_data; in commit_bitstream_and_slice_buffer()
419 dsc2->DataSize = current - dxva_data; in commit_bitstream_and_slice_buffer()
Ddxva2_vp9.c172 uint8_t *dxva_data; in commit_bitstream_and_slice_buffer() local
197 dxva_data = dxva_data_ptr; in commit_bitstream_and_slice_buffer()
204 memcpy(dxva_data, ctx_pic->bitstream, ctx_pic->slice.SliceBytesInBuffer); in commit_bitstream_and_slice_buffer()
208 memset(dxva_data + ctx_pic->slice.SliceBytesInBuffer, 0, padding); in commit_bitstream_and_slice_buffer()
Ddxva2_av1.c352 uint8_t *dxva_data; in commit_bitstream_and_slice_buffer() local
377 dxva_data = dxva_data_ptr; in commit_bitstream_and_slice_buffer()
384 memcpy(dxva_data, ctx_pic->bitstream, ctx_pic->bitstream_size); in commit_bitstream_and_slice_buffer()
388 memset(dxva_data + ctx_pic->bitstream_size, 0, padding); in commit_bitstream_and_slice_buffer()
Ddxva2.c803 void *dxva_data; in ff_dxva2_commit_buffer() local
813 &dxva_size, &dxva_data); in ff_dxva2_commit_buffer()
818 &dxva_data, &dxva_size); in ff_dxva2_commit_buffer()
826 memcpy(dxva_data, data, size); in ff_dxva2_commit_buffer()