Lines Matching refs:mFormat
411 mFormat(new MetaData) {
419 mFormat->setInt64(kKeyDuration, durationUs);
421 mFormat->setInt64(kKeyDuration, 60 * 60 * 1000000ll);
426 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC);
446 mFormat->setData(
454 mFormat->setInt32(kKeyWidth, width);
455 mFormat->setInt32(kKeyHeight, height);
458 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_H263);
466 mFormat->setInt32(kKeyWidth, width);
467 mFormat->setInt32(kKeyHeight, height);
469 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC);
475 mFormat->setInt32(kKeySampleRate, sampleRate);
476 mFormat->setInt32(kKeyChannelCount, numChannels);
481 mFormat->setData(
485 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AMR_NB);
491 mFormat->setInt32(kKeySampleRate, sampleRate);
492 mFormat->setInt32(kKeyChannelCount, numChannels);
498 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AMR_WB);
504 mFormat->setInt32(kKeySampleRate, sampleRate);
505 mFormat->setInt32(kKeyChannelCount, numChannels);
511 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_MPEG4);
525 mFormat->setData(
538 mFormat->setInt32(kKeyWidth, width);
539 mFormat->setInt32(kKeyHeight, height);
549 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC);
555 mFormat->setInt32(kKeySampleRate, sampleRate);
556 mFormat->setInt32(kKeyChannelCount, numChannels);
557 mFormat->setInt32(kKeyIsADTS, true);
562 mFormat->setData(
566 mFormat);
568 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_CONTAINER_MPEG2TS);
582 return mFormat;