Home
last modified time | relevance | path

Searched refs:slice_data_length (Results 1 – 4 of 4) sorted by relevance

/hardware/intel/common/libva/test/encode/
Davcenc.c1215 int i, slice_data_length;
1230 slice_data_length = get_coded_bitsteam_length(coded_mem, codedbuf_size);
1232 for (i = 0; i < slice_data_length; i++) {
1257 int slice_data_length; in store_coded_buffer() local
1283 slice_data_length = coded_buffer_segment->size; in store_coded_buffer()
1286 w_items = fwrite(coded_mem, slice_data_length, 1, avc_fp); in store_coded_buffer()
1290 if (avcenc_context.codedbuf_i_size > slice_data_length * 3 / 2) { in store_coded_buffer()
1291 avcenc_context.codedbuf_i_size = slice_data_length * 3 / 2; in store_coded_buffer()
1294 if (avcenc_context.codedbuf_pb_size < slice_data_length) { in store_coded_buffer()
1295 avcenc_context.codedbuf_pb_size = slice_data_length; in store_coded_buffer()
[all …]
Dmpeg2enc.c1296 int slice_data_length; in store_coded_buffer() local
1322 slice_data_length = coded_buffer_segment->size; in store_coded_buffer()
1325 w_items = fwrite(coded_mem, slice_data_length, 1, ctx->ofp); in store_coded_buffer()
1329 if (ctx->codedbuf_i_size > slice_data_length * 3 / 2) { in store_coded_buffer()
1330 ctx->codedbuf_i_size = slice_data_length * 3 / 2; in store_coded_buffer()
1333 if (ctx->codedbuf_pb_size < slice_data_length) { in store_coded_buffer()
1334 ctx->codedbuf_pb_size = slice_data_length; in store_coded_buffer()
1337 if (ctx->codedbuf_pb_size > slice_data_length * 3 / 2) { in store_coded_buffer()
1338 ctx->codedbuf_pb_size = slice_data_length * 3 / 2; in store_coded_buffer()
Dmpeg2vaenc.c1312 int slice_data_length; in store_coded_buffer() local
1338 slice_data_length = coded_buffer_segment->size; in store_coded_buffer()
1341 w_items = fwrite(coded_mem, slice_data_length, 1, ctx->ofp); in store_coded_buffer()
1345 if (ctx->codedbuf_i_size > slice_data_length * 3 / 2) { in store_coded_buffer()
1346 ctx->codedbuf_i_size = slice_data_length * 3 / 2; in store_coded_buffer()
1349 if (ctx->codedbuf_pb_size < slice_data_length) { in store_coded_buffer()
1350 ctx->codedbuf_pb_size = slice_data_length; in store_coded_buffer()
1353 if (ctx->codedbuf_pb_size > slice_data_length * 3 / 2) { in store_coded_buffer()
1354 ctx->codedbuf_pb_size = slice_data_length * 3 / 2; in store_coded_buffer()
/hardware/intel/common/libva/test/transcode/
Dmpeg2transcode.cpp2808 int i, slice_data_length;
2823 slice_data_length = get_coded_bitsteam_length(coded_mem, codedbuf_size);
2825 for (i = 0; i < slice_data_length; i++) {
2850 int slice_data_length; in store_coded_buffer() local
2876 slice_data_length = coded_buffer_segment->size; in store_coded_buffer()
2878 w_items = fwrite(coded_mem, slice_data_length, 1, avc_fp); in store_coded_buffer()
2882 if (avcenc_context.codedbuf_i_size > slice_data_length * 3 / 2) { in store_coded_buffer()
2883 avcenc_context.codedbuf_i_size = slice_data_length * 3 / 2; in store_coded_buffer()
2886 if (avcenc_context.codedbuf_pb_size < slice_data_length) { in store_coded_buffer()
2887 avcenc_context.codedbuf_pb_size = slice_data_length; in store_coded_buffer()
[all …]