Searched refs:n_slices (Results 1 – 2 of 2) sorted by relevance
627 int buf_size = avpkt->size, n_slices = 0, i, ret; in vc1_decode_frame() local687 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 …]
734 guint n_slices = 1; in gst_openh264enc_set_format() local821 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()