Searched refs:start_code_size (Results 1 – 9 of 9) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | h264_mp4toannexb_bsf.c | 49 uint8_t start_code_size = ps < 0 ? 0 : *out_size == 0 || ps ? 4 : 3; in count_or_copy() local 52 memcpy(*out + start_code_size, in, in_size); in count_or_copy() 53 if (start_code_size == 4) { in count_or_copy() 55 } else if (start_code_size) { in count_or_copy() 60 *out += start_code_size + in_size; in count_or_copy() 62 *out_size += start_code_size + in_size; in count_or_copy()
|
D | dxva2_vc1.c | 192 const unsigned start_code_size = avctx->codec_id == AV_CODEC_ID_VC1 ? sizeof(start_code) : 0; in commit_bitstream_and_slice_buffer() local 231 if (start_code_size + size > end - current) { in commit_bitstream_and_slice_buffer() 245 if (start_code_size) { in commit_bitstream_and_slice_buffer() 246 memcpy(current, start_code, start_code_size); in commit_bitstream_and_slice_buffer() 252 current += start_code_size; in commit_bitstream_and_slice_buffer() 253 slice->dwSliceBitsInBuffer += start_code_size * 8; in commit_bitstream_and_slice_buffer()
|
D | dxva2_hevc.c | 282 static const unsigned start_code_size = sizeof(start_code); in commit_bitstream_and_slice_buffer() local 289 if (start_code_size + size > end - current) { in commit_bitstream_and_slice_buffer() 295 slice->SliceBytesInBuffer = start_code_size + size; in commit_bitstream_and_slice_buffer() 297 memcpy(current, start_code, start_code_size); in commit_bitstream_and_slice_buffer() 298 current += start_code_size; in commit_bitstream_and_slice_buffer()
|
D | dxva2_h264.c | 343 static const unsigned start_code_size = sizeof(start_code); in commit_bitstream_and_slice_buffer() local 358 if (start_code_size + size > end - current) { in commit_bitstream_and_slice_buffer() 364 slice->SliceBytesInBuffer = start_code_size + size; in commit_bitstream_and_slice_buffer() 375 memcpy(current, start_code, start_code_size); in commit_bitstream_and_slice_buffer() 376 current += start_code_size; in commit_bitstream_and_slice_buffer()
|
/third_party/mesa3d/src/gallium/frontends/va/ |
D | picture_mpeg4.c | 154 context->mpeg4.start_code_size = 0; in vlVaDecoderFixMPEG4Startcode() 175 context->mpeg4.start_code_size += sizeof(group_of_vop); in vlVaDecoderFixMPEG4Startcode() 207 memcpy(context->mpeg4.start_code + context->mpeg4.start_code_size, vop, vop_size); in vlVaDecoderFixMPEG4Startcode() 208 context->mpeg4.start_code_size += vop_size; in vlVaDecoderFixMPEG4Startcode()
|
D | va_private.h | 301 unsigned int start_code_size; member
|
D | picture.c | 338 sizes[num_buffers++] = context->mpeg4.start_code_size; in handleVASliceDataBufferType()
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11h264dec.cpp | 785 const size_t start_code_size = sizeof (start_code); in gst_d3d11_h264_dec_decode_slice() local 789 dxva_slice.SliceBytesInBuffer = slice->nalu.size + start_code_size; in gst_d3d11_h264_dec_decode_slice() 795 inner->bitstream_buffer.resize (pos + start_code_size + slice->nalu.size); in gst_d3d11_h264_dec_decode_slice() 798 memcpy (&inner->bitstream_buffer[0] + pos, start_code, start_code_size); in gst_d3d11_h264_dec_decode_slice() 801 memcpy (&inner->bitstream_buffer[0] + pos + start_code_size, in gst_d3d11_h264_dec_decode_slice()
|
D | gstd3d11h265dec.cpp | 829 const size_t start_code_size = sizeof (start_code); in gst_d3d11_h265_dec_decode_slice() local 833 dxva_slice.SliceBytesInBuffer = slice->nalu.size + start_code_size; in gst_d3d11_h265_dec_decode_slice() 839 inner->bitstream_buffer.resize (pos + start_code_size + slice->nalu.size); in gst_d3d11_h265_dec_decode_slice() 842 memcpy (&inner->bitstream_buffer[0] + pos, start_code, start_code_size); in gst_d3d11_h265_dec_decode_slice() 845 memcpy (&inner->bitstream_buffer[0] + pos + start_code_size, in gst_d3d11_h265_dec_decode_slice()
|