• Home
  • Raw
  • Download

Lines Matching refs:me

183                           C2P<C2StreamPictureSizeInfo::output> &me) {  in SizeSetter()  argument
186 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
187 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
188 me.set().width = oldMe.v.width; in SizeSetter()
190 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
191 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
192 me.set().height = oldMe.v.height; in SizeSetter()
197 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument
201 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 1920u); in MaxPictureSizeSetter()
202 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 1088u); in MaxPictureSizeSetter()
206 static C2R MaxInputSizeSetter(bool mayBlock, C2P<C2StreamMaxBufferSizeInfo::input> &me, in MaxInputSizeSetter() argument
210 me.set().value = (((maxSize.v.width + 15) / 16) * ((maxSize.v.height + 15) / 16) * 384); in MaxInputSizeSetter()
214 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter() argument
218 (void)me; // TODO: validate in ProfileLevelSetter()
222 … static C2R DefaultColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsTuning::output> &me) { in DefaultColorAspectsSetter() argument
224 if (me.v.range > C2Color::RANGE_OTHER) { in DefaultColorAspectsSetter()
225 me.set().range = C2Color::RANGE_OTHER; in DefaultColorAspectsSetter()
227 if (me.v.primaries > C2Color::PRIMARIES_OTHER) { in DefaultColorAspectsSetter()
228 me.set().primaries = C2Color::PRIMARIES_OTHER; in DefaultColorAspectsSetter()
230 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in DefaultColorAspectsSetter()
231 me.set().transfer = C2Color::TRANSFER_OTHER; in DefaultColorAspectsSetter()
233 if (me.v.matrix > C2Color::MATRIX_OTHER) { in DefaultColorAspectsSetter()
234 me.set().matrix = C2Color::MATRIX_OTHER; in DefaultColorAspectsSetter()
239 static C2R CodedColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::input> &me) { in CodedColorAspectsSetter() argument
241 if (me.v.range > C2Color::RANGE_OTHER) { in CodedColorAspectsSetter()
242 me.set().range = C2Color::RANGE_OTHER; in CodedColorAspectsSetter()
244 if (me.v.primaries > C2Color::PRIMARIES_OTHER) { in CodedColorAspectsSetter()
245 me.set().primaries = C2Color::PRIMARIES_OTHER; in CodedColorAspectsSetter()
247 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in CodedColorAspectsSetter()
248 me.set().transfer = C2Color::TRANSFER_OTHER; in CodedColorAspectsSetter()
250 if (me.v.matrix > C2Color::MATRIX_OTHER) { in CodedColorAspectsSetter()
251 me.set().matrix = C2Color::MATRIX_OTHER; in CodedColorAspectsSetter()
256 static C2R ColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::output> &me, in ColorAspectsSetter() argument
261 me.set().range = coded.v.range == RANGE_UNSPECIFIED ? def.v.range : coded.v.range; in ColorAspectsSetter()
262 me.set().primaries = coded.v.primaries == PRIMARIES_UNSPECIFIED in ColorAspectsSetter()
264 me.set().transfer = coded.v.transfer == TRANSFER_UNSPECIFIED in ColorAspectsSetter()
266 me.set().matrix = coded.v.matrix == MATRIX_UNSPECIFIED ? def.v.matrix : coded.v.matrix; in ColorAspectsSetter()