Lines Matching refs:me

201                           C2P<C2StreamPictureSizeInfo::output> &me) {  in SizeSetter()  argument
204 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
205 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
206 me.set().width = oldMe.v.width; in SizeSetter()
208 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
209 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
210 me.set().height = oldMe.v.height; in SizeSetter()
215 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument
219 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 4096u); in MaxPictureSizeSetter()
220 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 4096u); in MaxPictureSizeSetter()
224 static C2R MaxInputSizeSetter(bool mayBlock, C2P<C2StreamMaxBufferSizeInfo::input> &me, in MaxInputSizeSetter() argument
228 me.set().value = c2_max((((maxSize.v.width + 63) / 64) in MaxInputSizeSetter()
233 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter() argument
237 (void)me; // TODO: validate in ProfileLevelSetter()
241 … static C2R DefaultColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsTuning::output> &me) { in DefaultColorAspectsSetter() argument
243 if (me.v.range > C2Color::RANGE_OTHER) { in DefaultColorAspectsSetter()
244 me.set().range = C2Color::RANGE_OTHER; in DefaultColorAspectsSetter()
246 if (me.v.primaries > C2Color::PRIMARIES_OTHER) { in DefaultColorAspectsSetter()
247 me.set().primaries = C2Color::PRIMARIES_OTHER; in DefaultColorAspectsSetter()
249 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in DefaultColorAspectsSetter()
250 me.set().transfer = C2Color::TRANSFER_OTHER; in DefaultColorAspectsSetter()
252 if (me.v.matrix > C2Color::MATRIX_OTHER) { in DefaultColorAspectsSetter()
253 me.set().matrix = C2Color::MATRIX_OTHER; in DefaultColorAspectsSetter()
258 static C2R CodedColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::input> &me) { in CodedColorAspectsSetter() argument
260 if (me.v.range > C2Color::RANGE_OTHER) { in CodedColorAspectsSetter()
261 me.set().range = C2Color::RANGE_OTHER; in CodedColorAspectsSetter()
263 if (me.v.primaries > C2Color::PRIMARIES_OTHER) { in CodedColorAspectsSetter()
264 me.set().primaries = C2Color::PRIMARIES_OTHER; in CodedColorAspectsSetter()
266 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in CodedColorAspectsSetter()
267 me.set().transfer = C2Color::TRANSFER_OTHER; in CodedColorAspectsSetter()
269 if (me.v.matrix > C2Color::MATRIX_OTHER) { in CodedColorAspectsSetter()
270 me.set().matrix = C2Color::MATRIX_OTHER; in CodedColorAspectsSetter()
275 static C2R ColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::output> &me, in ColorAspectsSetter() argument
280 me.set().range = coded.v.range == RANGE_UNSPECIFIED ? def.v.range : coded.v.range; in ColorAspectsSetter()
281 me.set().primaries = coded.v.primaries == PRIMARIES_UNSPECIFIED in ColorAspectsSetter()
283 me.set().transfer = coded.v.transfer == TRANSFER_UNSPECIFIED in ColorAspectsSetter()
285 me.set().matrix = coded.v.matrix == MATRIX_UNSPECIFIED ? def.v.matrix : coded.v.matrix; in ColorAspectsSetter()