Home
last modified time | relevance | path

Searched refs:n_slices (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dvc1dec.c627 int buf_size = avpkt->size, n_slices = 0, i, ret; in vc1_decode_frame() local
687 tmp = av_realloc_array(slices, sizeof(*slices), n_slices+1); in vc1_decode_frame()
693 slices[n_slices].buf = av_mallocz(size + AV_INPUT_BUFFER_PADDING_SIZE); in vc1_decode_frame()
694 if (!slices[n_slices].buf) { in vc1_decode_frame()
699 slices[n_slices].buf); in vc1_decode_frame()
700 init_get_bits(&slices[n_slices].gb, slices[n_slices].buf, in vc1_decode_frame()
702 slices[n_slices].mby_start = avctx->coded_height + 31 >> 5; in vc1_decode_frame()
703 slices[n_slices].rawbuf = start; in vc1_decode_frame()
704 slices[n_slices].raw_size = size + 4; in vc1_decode_frame()
705 n_slices1 = n_slices - 1; // index of the last slice of the first field in vc1_decode_frame()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/openh264/
Dgstopenh264enc.cpp734 guint n_slices = 1; in gst_openh264enc_set_format() local
821 n_slices = openh264enc->num_slices; in gst_openh264enc_set_format()
827 n_slices = 0; in gst_openh264enc_set_format()
837 enc_params.sSpatialLayers[0].sSliceCfg.sSliceArgument.uiSliceNum = n_slices; in gst_openh264enc_set_format()
840 enc_params.sSpatialLayers[0].sSliceArgument.uiSliceNum = n_slices; in gst_openh264enc_set_format()