• Home
  • Raw
  • Download

Lines Matching refs:me

195                           C2P<C2StreamPictureSizeInfo::output> &me) {  in SizeSetter()  argument
198 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
199 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
200 me.set().width = oldMe.v.width; in SizeSetter()
202 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
203 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
204 me.set().height = oldMe.v.height; in SizeSetter()
209 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument
213 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 4096u); in MaxPictureSizeSetter()
214 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 4096u); in MaxPictureSizeSetter()
218 static C2R MaxInputSizeSetter(bool mayBlock, C2P<C2StreamMaxBufferSizeInfo::input> &me, in MaxInputSizeSetter() argument
222 me.set().value = (((maxSize.v.width + 63) / 64) * ((maxSize.v.height + 63) / 64) * 3072); in MaxInputSizeSetter()
226 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter() argument
230 (void)me; // TODO: validate in ProfileLevelSetter()
234 … static C2R DefaultColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsTuning::output> &me) { in DefaultColorAspectsSetter() argument
236 if (me.v.range > C2Color::RANGE_OTHER) { in DefaultColorAspectsSetter()
237 me.set().range = C2Color::RANGE_OTHER; in DefaultColorAspectsSetter()
239 if (me.v.primaries > C2Color::PRIMARIES_OTHER) { in DefaultColorAspectsSetter()
240 me.set().primaries = C2Color::PRIMARIES_OTHER; in DefaultColorAspectsSetter()
242 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in DefaultColorAspectsSetter()
243 me.set().transfer = C2Color::TRANSFER_OTHER; in DefaultColorAspectsSetter()
245 if (me.v.matrix > C2Color::MATRIX_OTHER) { in DefaultColorAspectsSetter()
246 me.set().matrix = C2Color::MATRIX_OTHER; in DefaultColorAspectsSetter()
251 static C2R CodedColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::input> &me) { in CodedColorAspectsSetter() argument
253 if (me.v.range > C2Color::RANGE_OTHER) { in CodedColorAspectsSetter()
254 me.set().range = C2Color::RANGE_OTHER; in CodedColorAspectsSetter()
256 if (me.v.primaries > C2Color::PRIMARIES_OTHER) { in CodedColorAspectsSetter()
257 me.set().primaries = C2Color::PRIMARIES_OTHER; in CodedColorAspectsSetter()
259 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in CodedColorAspectsSetter()
260 me.set().transfer = C2Color::TRANSFER_OTHER; in CodedColorAspectsSetter()
262 if (me.v.matrix > C2Color::MATRIX_OTHER) { in CodedColorAspectsSetter()
263 me.set().matrix = C2Color::MATRIX_OTHER; in CodedColorAspectsSetter()
268 static C2R ColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::output> &me, in ColorAspectsSetter() argument
273 me.set().range = coded.v.range == RANGE_UNSPECIFIED ? def.v.range : coded.v.range; in ColorAspectsSetter()
274 me.set().primaries = coded.v.primaries == PRIMARIES_UNSPECIFIED in ColorAspectsSetter()
276 me.set().transfer = coded.v.transfer == TRANSFER_UNSPECIFIED in ColorAspectsSetter()
278 me.set().matrix = coded.v.matrix == MATRIX_UNSPECIFIED ? def.v.matrix : coded.v.matrix; in ColorAspectsSetter()