Lines Matching refs:me

265             C2P<C2PortActualDelayTuning::input> &me,  in InputDelaySetter()  argument
270 me.set().value = maxBframes + DEFAULT_RC_LOOKAHEAD; in InputDelaySetter()
275 C2P<C2StreamBitrateInfo::output>& me) { in BitrateSetter() argument
278 if (me.v.value < 4096) { in BitrateSetter()
279 me.set().value = 4096; in BitrateSetter()
286 C2P<C2StreamPictureSizeInfo::input>& me) { in SizeSetter() argument
289 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
290 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
291 me.set().width = oldMe.v.width; in SizeSetter()
293 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
294 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
295 me.set().height = oldMe.v.height; in SizeSetter()
302 C2P<C2StreamProfileLevelInfo::output> &me, in ProfileLevelSetter() argument
307 if (!me.F(me.v.profile).supportsAtAll(me.v.profile)) { in ProfileLevelSetter()
308 me.set().profile = PROFILE_HEVC_MAIN; in ProfileLevelSetter()
344 if (!me.F(me.v.level).supportsAtAll(me.v.level)) { in ProfileLevelSetter()
355 "adjusting to %x", me.v.level, limit.level); in ProfileLevelSetter()
356 me.set().level = limit.level; in ProfileLevelSetter()
361 if (me.v.level == limit.level) { in ProfileLevelSetter()
368 if (!found || me.v.level > LEVEL_HEVC_MAIN_5_2) { in ProfileLevelSetter()
370 me.set().level = LEVEL_HEVC_MAIN_5_2; in ProfileLevelSetter()
375 static C2R GopSetter(bool mayBlock, C2P<C2StreamGopTuning::output> &me) { in GopSetter() argument
377 for (size_t i = 0; i < me.v.flexCount(); ++i) { in GopSetter()
378 const C2GopLayerStruct &layer = me.v.m.values[0]; in GopSetter()
381 me.set().m.values[i].count = MAX_B_FRAMES; in GopSetter()
458 static C2R ColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::input> &me) { in ColorAspectsSetter() argument
460 if (me.v.range > C2Color::RANGE_OTHER) { in ColorAspectsSetter()
461 me.set().range = C2Color::RANGE_OTHER; in ColorAspectsSetter()
463 if (me.v.primaries > C2Color::PRIMARIES_OTHER) { in ColorAspectsSetter()
464 me.set().primaries = C2Color::PRIMARIES_OTHER; in ColorAspectsSetter()
466 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in ColorAspectsSetter()
467 me.set().transfer = C2Color::TRANSFER_OTHER; in ColorAspectsSetter()
469 if (me.v.matrix > C2Color::MATRIX_OTHER) { in ColorAspectsSetter()
470 me.set().matrix = C2Color::MATRIX_OTHER; in ColorAspectsSetter()
474 static C2R CodedColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::output> &me, in CodedColorAspectsSetter() argument
477 me.set().range = coded.v.range; in CodedColorAspectsSetter()
478 me.set().primaries = coded.v.primaries; in CodedColorAspectsSetter()
479 me.set().transfer = coded.v.transfer; in CodedColorAspectsSetter()
480 me.set().matrix = coded.v.matrix; in CodedColorAspectsSetter()
484 C2P<C2StreamPictureQuantizationTuning::output> &me) { in PictureQuantizationSetter() argument
492 for (size_t i = 0; i < me.v.flexCount(); ++i) { in PictureQuantizationSetter()
493 const C2PictureQuantizationStruct &layer = me.v.m.values[i]; in PictureQuantizationSetter()
524 for (size_t i = 0; i < me.v.flexCount(); ++i) { in PictureQuantizationSetter()
525 const C2PictureQuantizationStruct &layer = me.v.m.values[i]; in PictureQuantizationSetter()
530 me.set().m.values[i].max = maxFrameQP; in PictureQuantizationSetter()
531 me.set().m.values[i].min = minFrameQP; in PictureQuantizationSetter()