/frameworks/av/cmds/stagefright/ |
H A D | recordvideo.cpp | 44 fprintf(stderr, " -p encoder profile. see omx il header (default: encoder specific)\n"); 163 int profile = -1; // Encoder specific default local 225 profile = atoi(optarg); 289 if (profile != -1) { 290 enc_meta->setInt32(kKeyVideoProfile, profile);
|
H A D | sf2.cpp | 307 uint8_t profile = ptr[1]; local
|
H A D | stagefright.cpp | 125 uint8_t profile = ptr[1]; local 127 fprintf(stderr, "AVC video profile %d and level %d\n", profile, level);
|
/frameworks/av/include/media/ |
H A D | MediaProfiles.h | 108 * Returns true if a profile for the given camera at the given quality exists, 156 * videoeditor.export.profile - export video profile 359 ExportVideoProfile(int codec, int profile, int level) argument 360 :mCodec(codec),mProfile(profile),mLevel(level) {} 464 * 1. Low quality profile must have the lowest video 466 * 2. High quality profile must have the highest video 471 * duplicate profile definitions in the media_profiles.xml 500 bool mHasRefProfile; // Refers to an existing profile 501 int mRefProfileIndex; // Reference profile inde [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | ACodec.h | 275 status_t verifySupportForProfileAndLevel(int32_t profile, int32_t level);
|
H A D | OMXCodec.h | 272 // If profile/level is set in the meta data, its value in the meta 355 unsigned *profile, unsigned *level); 374 // Return a vector of componentNames with supported profile/level pairs 378 // profile and level indications only make sense for h.263, mpeg4 and avc 382 // The profile/level values correspond to
|
/frameworks/av/libvideoeditor/vss/mcs/src/ |
H A D | M4MCS_API.c | 128 static M4OSA_Int32 M4MCS_intLimitBitrateForH263Enc(M4OSA_Int32 profile, 130 static M4OSA_Int32 M4MCS_intLimitBitrateForMpeg4Enc(M4OSA_Int32 profile, 132 static M4OSA_Int32 M4MCS_intLimitBitrateForH264Enc(M4OSA_Int32 profile, 900 // in baseline profile field_pic_flag should be off. 912 // in baseline profile field_pic_flag should be off. 924 // in baseline profile field_pic_flag should be off. 936 // in baseline profile field_pic_flag should be off. 3740 * Set output video profile and level */ 3784 * Set output video profile and level */ 5632 * Our decoder is not compatible with H263 profile othe 10706 M4MCS_intLimitBitrateForH264Enc(M4OSA_Int32 profile, M4OSA_Int32 level, M4OSA_Int32 bitrate) argument 10869 M4MCS_intLimitBitrateForMpeg4Enc(M4OSA_Int32 profile, M4OSA_Int32 level, M4OSA_Int32 bitrate) argument 10914 M4MCS_intLimitBitrateForH263Enc(M4OSA_Int32 profile, M4OSA_Int32 level, M4OSA_Int32 bitrate) argument [all...] |
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4VD_EXTERNAL_BitstreamParser.c | 34 M4OSA_Int32 profile; member in struct:__anon321 589 ALOGV("getAVCProfileAndLevel profile %ld level %ld", *pProfile, *pLevel); 596 M4OSA_UInt16 index = 7; /* the 5th and 6th bytes contain the level and profile */ 641 /* get H263 profile */ 673 ALOGV("getH263ProfileAndLevel profile %ld level %ld", *pProfile, *pLevel); 691 *pProfile = mpeg4ProfileLevelTable[i].profile; 696 ALOGV("getMPEG4ProfileAndLevel profile %ld level %ld", *pProfile, *pLevel);
|
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditorVideoDecoder.cpp | 651 ALOGV("-->profile:%ld maxLevel:%ld", pProfileLevel->mProfile, 720 int32_t profile = -1; local 725 if (profileLevel.mProfile != profile) { 726 profile = profileLevel.mProfile; 735 // Get the max Level for each profile. 737 profile = -1; 742 if (profile == -1 && maxLevel == -1) { 743 profile = profileLevel.mProfile; 745 pProfileLevel->mProfile = profile; 747 ALOGV("%d profile 1253 M4DECODER_AVCProfileLevel* profile; local [all...] |
/frameworks/av/media/libmedia/ |
H A D | MediaProfiles.cpp | 326 MediaProfiles::CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local 327 profile->mCameraId = cameraId; 331 profile->mFileFormat = static_cast<output_format>(fileFormat); 332 profile->mQuality = static_cast<camcorder_quality>(quality); 333 profile->mDuration = atoi(atts[5]); 334 return profile; 389 !strcmp("profile", atts[2]) && 397 MediaProfiles::ExportVideoProfile *profile = local 401 return profile; 516 // Check high and low from either camcorder profile o 573 CamcorderProfile *profile = local 671 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local 688 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local 723 MediaProfiles::CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local 740 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 477 status_t StagefrightRecorder::setParamVideoEncoderProfile(int32_t profile) { argument 478 ALOGV("setParamVideoEncoderProfile: %d", profile); 482 mVideoEncoderProfile = profile; 657 } else if (key == "video-param-encoder-profile") { 658 int32_t profile; local 659 if (safe_strtoi32(value.string(), &profile)) { 660 return setParamVideoEncoderProfile(profile); 1121 // Set to use AVC baseline profile if the encoding parameters matches 1122 // CAMCORDER_QUALITY_LOW profile; this is for the sake of MMS service. 1173 ALOGI("Force to use AVC baseline profile"); [all...] |
H A D | StagefrightRecorder.h | 169 status_t setParamVideoEncoderProfile(int32_t profile);
|
/frameworks/av/media/libstagefright/ |
H A D | AACExtractor.cpp | 155 uint8_t profile, sf_index, channel, header[2]; local 160 profile = (header[0] >> 6) & 0x3; 168 mMeta = MakeAACCodecSpecificData(profile, sf_index, channel);
|
H A D | ACodec.cpp | 1221 if (!msg->findInt32("aac-profile", &aacProfile)) { 1417 OMX_AUDIO_PARAM_AACPROFILETYPE profile; local 1418 InitOMXParams(&profile); 1419 profile.nPortIndex = kPortIndexOutput; 1422 mNode, OMX_IndexParamAudioAac, &profile, sizeof(profile)); 1428 profile.nChannels = numChannels; 1430 profile.eChannelMode = 1434 profile.nSampleRate = sampleRate; 1435 profile 1453 OMX_AUDIO_PARAM_AACPROFILETYPE profile; local 2052 int32_t profile; local 2123 int32_t profile; local 2204 int32_t profile; local 2280 verifySupportForProfileAndLevel( int32_t profile, int32_t level) argument [all...] |
H A D | MPEG2TSWriter.cpp | 306 unsigned profile = (codec_specific_data[0] >> 3) - 1; local 323 profile << 6
|
H A D | OMXCodec.cpp | 375 unsigned *profile, unsigned *level) { 383 *profile = ptr[1]; 474 unsigned profile, level; local 477 data, size, &profile, &level)) != OK) { 483 "AVC profile = %u (%s), level = %u", 484 profile, AVCProfileToString(profile), level); 958 CODEC_LOGV("Default profile: %ld, level %ld", 961 // Are the default profile and level overwriten? 962 int32_t profile, leve local 373 parseAVCCodecSpecificData( const void *data, size_t size, unsigned *profile, unsigned *level) argument 3436 OMX_AUDIO_PARAM_AACPROFILETYPE profile; local 3462 OMX_AUDIO_PARAM_AACPROFILETYPE profile; local [all...] |
H A D | Utils.cpp | 148 uint8_t profile = ptr[1]; local 264 avcc[1] = 0x64; // profile
|
H A D | avc_utils.cpp | 270 const char *AVCProfileToString(uint8_t profile) { argument 271 switch (profile) { 319 memcpy(out, seqParamSet->data() + 1, 3); // profile/level... 321 uint8_t profile = out[0]; local 357 ALOGI("found AVC codec config (%d x %d, %s-profile level %d.%d) " 361 AVCProfileToString(profile), 367 ALOGI("found AVC codec config (%d x %d, %s-profile level %d.%d)", 370 AVCProfileToString(profile), 423 unsigned profile, unsigned sampling_freq_index, 459 ((profile 422 MakeAACCodecSpecificData( unsigned profile, unsigned sampling_freq_index, unsigned channel_configuration) argument [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/ |
H A D | SoftAACEncoder2.cpp | 290 static AUDIO_OBJECT_TYPE getAOTFromProfile(OMX_U32 profile) { argument 291 if (profile == OMX_AUDIO_AACObjectLC) { 293 } else if (profile == OMX_AUDIO_AACObjectHE) { 295 } else if (profile == OMX_AUDIO_AACObjectHE_PS) { 297 } else if (profile == OMX_AUDIO_AACObjectLD) { 299 } else if (profile == OMX_AUDIO_AACObjectELD) { 302 ALOGW("Unsupported AAC profile - defaulting to AAC-LC"); 359 ALOGE("Unable to initialize encoder for profile / sample-rate / bit-rate / channels");
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
H A D | bitenc.h | 36 Word16 profile; member in struct:BITSTREAMENCODER_INIT
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | aacenc_core.c | 63 Word16 profile = 1; local 131 hAacEnc->bseInit.profile = profile;
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
H A D | SoftAVCEncoder.cpp | 301 // Set profile and level 302 mEncParams->profile = mAVCEncProfile; 660 // PV's AVC encoder only supports baseline profile
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | avcenc_api.h | 95 /* if profile/level is set to zero, encoder will choose the closest one for you */ 96 AVCProfile profile; /* profile of the bitstream to be compliant with*/ member in struct:tagAVCEncParam 184 encoding parameters against the specified profile/level and the list of supported
|
H A D | init.cpp | 535 seqParam->profile_idc = encParam->profile; 568 /* verify the profile setting */ 574 if (seqParam->profile_idc == 0) /* find profile for this setting */ 576 /* find the right profile for it */ 613 /* check the list of supported profile by this library */
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | vop.cpp | 92 uint32 profile = 0x01; local 108 tmpvar = (uint32) BitstreamReadBits16(stream, 8); /* profile */ 130 profile = tmpvar; 133 // save the profile and level for the query 292 if (profile != 0x10 && profile != 0x11 && profile != 0x12) 299 if (profile != 0x01 && profile != 0x02 && profile ! [all...] |