/frameworks/av/cmds/stagefright/ |
H A D | recordvideo.cpp | 43 fprintf(stderr, " -l encoder level. see omx il header (default: encoder specific)\n"); 162 int level = -1; // Encoder specific default local 219 level = atoi(optarg); 280 if (level != -1) { 281 enc_meta->setInt32(kKeyVideoLevel, level);
|
H A D | sf2.cpp | 308 uint8_t level = ptr[3]; local
|
H A D | stagefright.cpp | 127 uint8_t level = ptr[3]; local 128 fprintf(stderr, "AVC video profile %d and level %d\n", profile, level);
|
/frameworks/av/include/media/ |
H A D | MediaProfiles.h | 89 * the given quality level, or -1 if error. 157 * videoeditor.export.level - export video level 359 ExportVideoProfile(int codec, int profile, int level) argument 360 :mCodec(codec),mProfile(profile),mLevel(level) {}
|
/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4PSW_DebugTrace.c | 38 * void M4OSA_DebugTrace(M4OSA_Int32 line, char* file, M4OSA_Int32 level, 45 * @param level (IN): the debug level 54 M4OSA_Int32 level, 61 /* try to "indent" the resulting traces depending on the level */ 62 for (i =0 ; i < level; i ++) 77 M4OSA_UInt32 level, 82 M4OSA_DebugTrace(line, fileName, level, stringCondition, message, returnedError); 52 M4OSA_DebugTrace(M4OSA_Int32 line, M4OSA_Char* file, M4OSA_Int32 level, M4OSA_Char* cond, M4OSA_Char* msg, M4OSA_ERR err) argument 75 M4OSA_DEBUG_traceFunction(M4OSA_UInt32 line, M4OSA_Char* fileName, M4OSA_UInt32 level, M4OSA_Char* stringCondition, M4OSA_Char* message, M4OSA_ERR returnedError) argument
|
H A D | M4PSW_Trace.c | 39 * void M4OSA_Trace(M4OSA_Int32 line, M4OSA_Char* file ,M4OSA_Int32 level, 45 * @param level (IN): the debug level 53 M4OSA_Int32 level, M4OSA_Char* format, ...) 77 M4OSA_UInt32 level, 52 M4OSA_Trace(M4OSA_Int32 line, M4OSA_Char* file , M4OSA_Int32 level, M4OSA_Char* format, ...) argument 74 M4OSA_TRACE_traceFunction(M4OSA_UInt32 line, M4OSA_Char* fileName, M4OSA_CoreID coreID, M4OSA_UInt32 level, M4OSA_Char* stringMsg, ...) argument
|
/frameworks/av/libvideoeditor/vss/mcs/src/ |
H A D | M4MCS_API.c | 129 M4OSA_Int32 level, M4OSA_Int32 bitrate); 131 M4OSA_Int32 level, M4OSA_Int32 bitrate); 133 M4OSA_Int32 level, M4OSA_Int32 bitrate); 3740 * Set output video profile and level */ 3742 /** Set the target video level, because input 3gp file may 3743 * have wrong video level value (some encoders do not respect 3744 * level restrictions like video resolution when content is created). 3784 * Set output video profile and level */ 5856 * and level */ 5897 M4OSA_TRACE1_2("mcs encoder open profile :%d, level 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 | 35 M4OSA_Int32 level; member in struct:__anon308 589 ALOGV("getAVCProfileAndLevel profile %ld level %ld", *pProfile, *pLevel); 596 M4OSA_UInt16 index = 7; /* the 5th and 6th bytes contain the level and profile */ 611 /* get the H263 level */ 673 ALOGV("getH263ProfileAndLevel profile %ld level %ld", *pProfile, *pLevel); 692 *pLevel = mpeg4ProfileLevelTable[i].level; 696 ALOGV("getMPEG4ProfileAndLevel profile %ld level %ld", *pProfile, *pLevel);
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
H A D | EffectBundle.cpp | 1516 // level level to be applied 1520 int VolumeSetVolumeLevel(EffectContext *pContext, int16_t level){ argument 1522 if (level > 0 || level < -9600) { 1527 pContext->pBundledContext->levelSaved = level / 100; 1529 pContext->pBundledContext->volume = level / 100; 1547 int VolumeGetVolumeLevel(EffectContext *pContext, int16_t *level){ argument 1550 *level = pContext->pBundledContext->levelSaved * 100; 1552 *level 2211 int32_t level; local 2384 int16_t level; local [all...] |
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 892 // Convert level from OpenSL ES format to LVM format 895 // level level to be applied 899 int16_t ReverbConvertLevel(int16_t level){ argument 918 if(level <= LevelArray[i]) 928 // Convert level from OpenSL ES format to LVM format 931 // level level to be applied 974 // Apply the HF level to the Reverb. Must first be converted to LVM format 978 // level leve 982 ReverbSetRoomHfLevel(ReverbContext *pContext, int16_t level) argument 1017 int16_t level; local 1055 ReverbSetReverbLevel(ReverbContext *pContext, int16_t level) argument 1100 int16_t level; local 1146 ReverbSetRoomLevel(ReverbContext *pContext, int16_t level) argument 1185 int16_t level; local 1372 ReverbSetDiffusion(ReverbContext *pContext, int16_t level) argument 1442 ReverbSetDensity(ReverbContext *pContext, int16_t level) argument 1778 int16_t level; local [all...] |
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectEqualizer.cpp | 455 ALOGV("Equalizer_getParameter() EQ_PARAM_BAND_LEVEL band %d, level %d", 555 int32_t level; local 573 level = (int32_t)(*(int16_t *)pValue); 574 ALOGV("setParameter() EQ_PARAM_BAND_LEVEL band %d, level %d", band, level); 579 pEqualizer->setGain(band, level);
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 541 status_t AudioTrack::setAuxEffectSendLevel(float level) argument 543 ALOGV("setAuxEffectSendLevel(%f)", level); 544 if (level < 0.0f || level > 1.0f) { 549 mSendLevel = level; 551 mCblk->setSendLevel(level); 556 void AudioTrack::getAuxEffectSendLevel(float* level) const 558 if (level != NULL) { 559 *level = mSendLevel;
|
H A D | IMediaPlayer.cpp | 258 status_t setAuxEffectSendLevel(float level) argument 262 data.writeFloat(level);
|
H A D | mediaplayer.cpp | 584 status_t MediaPlayer::setAuxEffectSendLevel(float level) argument 586 ALOGV("MediaPlayer::setAuxEffectSendLevel(%f)", level); 588 mSendLevel = level; 590 return mPlayer->setAuxEffectSendLevel(level);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 333 snprintf(buffer, 255, " aux effect id(%d), send level (%f)\n", 986 status_t MediaPlayerService::Client::setAuxEffectSendLevel(float level) argument 988 ALOGV("[%d] setAuxEffectSendLevel(%f)", mConnId, level); 990 if (mAudioOutput != 0) return mAudioOutput->setAuxEffectSendLevel(level); 1616 status_t MediaPlayerService::AudioOutput::setAuxEffectSendLevel(float level) argument 1618 ALOGV("setAuxEffectSendLevel(%f)", level); 1619 mSendLevel = level; 1621 return mTrack->setAuxEffectSendLevel(level);
|
H A D | StagefrightRecorder.cpp | 484 status_t StagefrightRecorder::setParamVideoEncoderLevel(int32_t level) { argument 485 ALOGV("setParamVideoEncoderLevel: %d", level); 489 mVideoEncoderLevel = level; 660 } else if (key == "video-param-encoder-level") { 661 int32_t level; local 662 if (safe_strtoi32(value.string(), &level)) { 663 return setParamVideoEncoderLevel(level); 1757 snprintf(buffer, SIZE, " Encoder level: %d\n", mVideoEncoderLevel);
|
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 967 if (!msg->findInt32("flac-compression-level", &compressionLevel)) { 968 compressionLevel = 5;// default FLAC compression level 970 ALOGW("compression level %d outside [0..8] range, using 0", compressionLevel); 973 ALOGW("compression level %d outside [0..8] range, using 8", compressionLevel); 1272 // configure compression level 1740 int32_t level; local 1741 if (!msg->findInt32("level", &level)) { 1745 err = verifySupportForProfileAndLevel(profile, level); 1752 mpeg4type.eLevel = static_cast<OMX_VIDEO_MPEG4LEVELTYPE>(level); 1811 int32_t level; local 1892 int32_t level; local 1955 verifySupportForProfileAndLevel( int32_t profile, int32_t level) argument [all...] |
H A D | OMXCodec.cpp | 380 unsigned *profile, unsigned *level) { 389 *level = ptr[3]; 479 unsigned profile, level; local 482 data, size, &profile, &level)) != OK) { 488 "AVC profile = %u (%s), level = %u", 489 profile, AVCProfileToString(profile), level); 952 CODEC_LOGV("Default profile: %ld, level %ld", 955 // Are the default profile and level overwriten? 956 int32_t profile, level; local 960 if (!meta->findInt32(kKeyVideoLevel, &level)) { 378 parseAVCCodecSpecificData( const void *data, size_t size, unsigned *profile, unsigned *level) argument [all...] |
H A D | Utils.cpp | 132 uint8_t level = ptr[3]; local 249 avcc[3] = 0xd; // level
|
H A D | avc_utils.cpp | 272 memcpy(out, seqParamSet->data() + 1, 3); // profile/level... 275 uint8_t level = out[2]; local 304 ALOGI("found AVC codec config (%d x %d, %s-profile level %d.%d)", 305 width, height, AVCProfileToString(profile), level / 10, level % 10);
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | vad1.cpp | 439 sub_level -- pointer to type Word16 -- level calculated at the end of 446 scale -- Word16 -- scaling for the level calculation 449 sub_level -- pointer to tyep Word16 -- level of signal calculated from the 454 signal level 465 Purpose : Calculate signal level in a sub-band. Level is calculated 507 Word16 *sub_level, /* i : level calculate at the end of */ 509 /* o : level of signal calculated from the last */ 515 Word16 scale, /* i : scaling for the level calculation */ 521 Word16 level; local 538 level 613 filter_bank( vadState1 *st, Word16 in[], Word16 level[], Flag *pOverflow ) argument 750 update_cntrl( vadState1 *st, Word16 level[], Flag *pOverflow ) argument 1103 noise_estimate_update( vadState1 *st, Word16 level[], Flag *pOverflow ) argument 1478 vad_decision( vadState1 *st, Word16 level[COMPLEN], Word32 pow_sum, Flag *pOverflow ) argument 2294 Word16 level[COMPLEN]; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | dtx_dec.cpp | 113 * level adjustment for different modes Q11 * 183 // low level noise for better performance in DTX handover cases 262 /* low level noise for better performance in DTX handover cases*/ 407 Word16 level; 632 // recompute level adjustment factor Q11 708 // Compute acoeffs Q12 acoeff is used for level 711 // by doing this we make sure that the level 751 // adjust level to speech coder mode 758 level = extract_l(Pow2(log_en_int_e, log_en_int_m)); // Q4 766 ex[j] = mult(level, e 862 Word16 level; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | dtx.h | 134 int16 level; member in struct:__anon603
|
H A D | dtx_decoder_amr_wb.cpp | 132 /* low level noise for better performance in DTX handover cases */ 213 int16 tmp, exp, exp0, log_en_int_e, log_en_int_m, level; local 389 /* level = (float)( pow( 2.0f, log_en ) ); */ 393 level32 <<= exp0; /* level in Q31 */ 395 level = (int16)(level32 >> 16); /* level in Q15 */ 403 /* gain = level / sqrt(ener) * sqrt(L_FRAME) */ 412 gain = mult_int16(level, gain); /* gain in Q15 */
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | dtx.c | 167 Word16 log_en, gain, level, exp, exp0, tmp; local 232 /* level = (float)( pow( 2.0f, (float)st->log_en_index / 2.625 - 2.0 ) ); */ 253 level32 = (level32 << exp0); /* level in Q31 */ 255 level = extract_h(level32); /* level in Q15 */ 263 /* gain = level / sqrt(ener) * sqrt(L_FRAME) */ 272 gain = mult(level, gain); /* gain in Q15 */
|