• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/

Lines Matching defs:config

234     char *config;
241 config = av_malloc(10 + c->extradata_size * 2);
242 if (config == NULL) {
243 av_log(c, AV_LOG_ERROR, "Cannot allocate memory for the config info.\n");
246 memcpy(config, "; config=", 9);
247 ff_data_to_hex(config + 9, c->extradata, c->extradata_size, 0);
248 config[9 + c->extradata_size * 2] = 0;
250 return config;
255 char *config, *encoded_config;
287 config = av_malloc(config_len);
288 if (!config)
293 av_free(config);
297 config[0] = config[1] = config[2] = 0;
298 config[3] = 1;
299 config[4] = (RTP_XIPH_IDENT >> 16) & 0xff;
300 config[5] = (RTP_XIPH_IDENT >> 8) & 0xff;
301 config[6] = (RTP_XIPH_IDENT ) & 0xff;
302 config[7] = (headers_len >> 8) & 0xff;
303 config[8] = headers_len & 0xff;
304 config[9] = 2;
305 config[10] = header_len[0];
306 config[11] = 0; // size of comment header; nonexistent
307 memcpy(config + 12, header_start[0], header_len[0]);
308 memcpy(config + 12 + header_len[0], header_start[2], header_len[2]);
311 config, config_len);
312 av_free(config);
359 char *config;
376 config = av_malloc(6*2+1);
377 if (!config) {
378 av_log(c, AV_LOG_ERROR, "Cannot allocate memory for the config info.\n");
381 ff_data_to_hex(config, config_byte, 6, 1);
382 config[12] = 0;
384 return config;
389 char *config = NULL;
394 config = extradata2psets(c);
399 payload_type, config ? config : "");
414 config = extradata2config(c);
419 payload_type, config ? config : "");
424 config = latm_context2config(c);
425 if (!config)
428 "a=fmtp:%d profile-level-id=%d;cpresent=0;config=%s\r\n",
430 payload_type, latm_context2profilelevel(c), config);
433 config = extradata2config(c);
435 /* FIXME: maybe we can forge config information based on the
441 if (config == NULL) {
449 payload_type, config);
484 config = xiph_extradata2config(c);
487 if (!config)
493 payload_type, config);
498 config = xiph_extradata2config(c);
501 if (!config)
524 c->width, c->height, pix_fmt, config);
550 av_free(config);