Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dh264_mp4toannexb_bsf.c52 uint8_t start_code_size = ps < 0 ? 0 : *out_size == 0 || ps ? 4 : 3; in count_or_copy() local
55 memcpy(*out + start_code_size, in, in_size); in count_or_copy()
56 if (start_code_size == 4) { in count_or_copy()
58 } else if (start_code_size) { in count_or_copy()
63 *out += start_code_size + in_size; in count_or_copy()
65 *out_size += start_code_size + in_size; in count_or_copy()
Ddxva2_vc1.c195 const unsigned start_code_size = avctx->codec_id == AV_CODEC_ID_VC1 ? sizeof(start_code) : 0; in commit_bitstream_and_slice_buffer() local
234 if (start_code_size + size > end - current) { in commit_bitstream_and_slice_buffer()
248 if (start_code_size) { in commit_bitstream_and_slice_buffer()
249 memcpy(current, start_code, start_code_size); in commit_bitstream_and_slice_buffer()
255 current += start_code_size; in commit_bitstream_and_slice_buffer()
256 slice->dwSliceBitsInBuffer += start_code_size * 8; in commit_bitstream_and_slice_buffer()
Ddxva2_hevc.c284 static const unsigned start_code_size = sizeof(start_code); in commit_bitstream_and_slice_buffer() local
291 if (start_code_size + size > end - current) { in commit_bitstream_and_slice_buffer()
297 slice->SliceBytesInBuffer = start_code_size + size; in commit_bitstream_and_slice_buffer()
299 memcpy(current, start_code, start_code_size); in commit_bitstream_and_slice_buffer()
300 current += start_code_size; in commit_bitstream_and_slice_buffer()
Ddxva2_h264.c345 static const unsigned start_code_size = sizeof(start_code); in commit_bitstream_and_slice_buffer() local
360 if (start_code_size + size > end - current) { in commit_bitstream_and_slice_buffer()
366 slice->SliceBytesInBuffer = start_code_size + size; in commit_bitstream_and_slice_buffer()
377 memcpy(current, start_code, start_code_size); in commit_bitstream_and_slice_buffer()
378 current += start_code_size; in commit_bitstream_and_slice_buffer()
/third_party/mesa3d/src/gallium/frontends/va/
Dpicture_mpeg4.c154 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()
Dva_private.h301 unsigned int start_code_size; member
Dpicture.c338 sizes[num_buffers++] = context->mpeg4.start_code_size; in handleVASliceDataBufferType()