Lines Matching refs:me
349 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me) { in BitrateSetter() argument
352 if (me.v.value <= 4096) { in BitrateSetter()
353 me.set().value = 4096; in BitrateSetter()
359 C2P<C2StreamPictureSizeInfo::input> &me) { in SizeSetter() argument
362 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
363 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
364 me.set().width = oldMe.v.width; in SizeSetter()
366 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
367 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
368 me.set().height = oldMe.v.height; in SizeSetter()
375 C2P<C2StreamProfileLevelInfo::output> &me) { in ProfileLevelSetter() argument
377 if (!me.F(me.v.profile).supportsAtAll(me.v.profile)) { in ProfileLevelSetter()
378 me.set().profile = PROFILE_VP9_0; in ProfileLevelSetter()
380 if (!me.F(me.v.level).supportsAtAll(me.v.level)) { in ProfileLevelSetter()
381 me.set().level = LEVEL_VP9_4_1; in ProfileLevelSetter()
386 static C2R LayeringSetter(bool mayBlock, C2P<C2StreamTemporalLayeringTuning::output>& me) { in LayeringSetter() argument
389 if (me.v.m.layerCount > 4) { in LayeringSetter()
390 me.set().m.layerCount = 4; in LayeringSetter()
392 me.set().m.bLayerCount = 0; in LayeringSetter()
394 for (size_t ix = 0; ix < me.v.flexCount(); ++ix) { in LayeringSetter()
395 me.set().m.bitrateRatios[ix] = c2_clamp( in LayeringSetter()
396 ix > 0 ? me.v.m.bitrateRatios[ix - 1] : 0, me.v.m.bitrateRatios[ix], 1.); in LayeringSetter()
398 ALOGI("setting temporal layering %u + %u", me.v.m.layerCount, me.v.m.bLayerCount); in LayeringSetter()