Searched refs:start_code_size (Results 1 - 4 of 4) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Ddxva2_vc1.c169 const unsigned start_code_size = avctx->codec_id == CODEC_ID_VC1 ? sizeof(start_code) : 0; local
171 const unsigned padding = 128 - ((start_code_size + slice_size) & 127);
172 const unsigned data_size = start_code_size + slice_size + padding;
185 if (start_code_size > 0)
186 memcpy(dxva_data, start_code, start_code_size);
187 memcpy(dxva_data + start_code_size,
190 memset(dxva_data + start_code_size + slice_size, 0, padding);
H A Ddxva2_h264.c302 static const unsigned start_code_size = sizeof(start_code); local
317 if (start_code_size + size > end - current) {
323 slice->SliceBytesInBuffer = start_code_size + size;
334 memcpy(current, start_code, start_code_size);
335 current += start_code_size;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Ddxva2_vc1.c190 const unsigned start_code_size = avctx->codec_id == AV_CODEC_ID_VC1 ? sizeof(start_code) : 0; local
192 const unsigned padding = 128 - ((start_code_size + slice_size) & 127);
193 const unsigned data_size = start_code_size + slice_size + padding;
206 if (start_code_size > 0) {
207 memcpy(dxva_data, start_code, start_code_size);
211 memcpy(dxva_data + start_code_size,
214 memset(dxva_data + start_code_size + slice_size, 0, padding);
H A Ddxva2_h264.c317 static const unsigned start_code_size = sizeof(start_code); local
332 if (start_code_size + size > end - current) {
338 slice->SliceBytesInBuffer = start_code_size + size;
349 memcpy(current, start_code, start_code_size);
350 current += start_code_size;

Completed in 122 milliseconds