Lines Matching refs:from

333     virtual bool simpleMap(C2Config::level_t from, int32_t *to) = 0;
334 virtual bool simpleMap(int32_t from, C2Config::level_t *to) = 0;
335 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) = 0;
336 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) = 0;
339 bool passThroughMap(T from, U *to) { in passThroughMap()
341 if (from >= (T)C2_PROFILE_LEVEL_VENDOR_START && from < (T)INT32_MAX) { in passThroughMap()
342 *to = (U)from; in passThroughMap()
345 return simpleMap(from, to); in passThroughMap()
348 virtual bool mapLevel(C2Config::level_t from, int32_t *to) { in mapLevel()
349 return passThroughMap(from, to); in mapLevel()
352 virtual bool mapLevel(int32_t from, C2Config::level_t *to) { in mapLevel()
353 return passThroughMap(from, to); in mapLevel()
356 virtual bool mapProfile(C2Config::profile_t from, int32_t *to) { in mapProfile()
357 return passThroughMap(from, to); in mapProfile()
360 virtual bool mapProfile(int32_t from, C2Config::profile_t *to) { in mapProfile()
361 return passThroughMap(from, to); in mapProfile()
375 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) { in simpleMap()
376 return sAacProfiles.map(from, to); in simpleMap()
378 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) { in simpleMap()
379 return sAacProfiles.map(from, to); in simpleMap()
384 virtual bool simpleMap(C2Config::level_t from, int32_t *to) { in simpleMap()
385 return sAvcLevels.map(from, to); in simpleMap()
387 virtual bool simpleMap(int32_t from, C2Config::level_t *to) { in simpleMap()
388 return sAvcLevels.map(from, to); in simpleMap()
390 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) { in simpleMap()
391 return sAvcProfiles.map(from, to); in simpleMap()
393 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) { in simpleMap()
394 return sAvcProfiles.map(from, to); in simpleMap()
399 virtual bool simpleMap(C2Config::level_t from, int32_t *to) { in simpleMap()
400 return sDolbyVisionLevels.map(from, to); in simpleMap()
402 virtual bool simpleMap(int32_t from, C2Config::level_t *to) { in simpleMap()
403 return sDolbyVisionLevels.map(from, to); in simpleMap()
405 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) { in simpleMap()
406 return sDolbyVisionProfiles.map(from, to); in simpleMap()
408 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) { in simpleMap()
409 return sDolbyVisionProfiles.map(from, to); in simpleMap()
414 virtual bool simpleMap(C2Config::level_t from, int32_t *to) { in simpleMap()
415 return sH263Levels.map(from, to); in simpleMap()
417 virtual bool simpleMap(int32_t from, C2Config::level_t *to) { in simpleMap()
418 return sH263Levels.map(from, to); in simpleMap()
420 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) { in simpleMap()
421 return sH263Profiles.map(from, to); in simpleMap()
423 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) { in simpleMap()
424 return sH263Profiles.map(from, to); in simpleMap()
429 virtual bool simpleMap(C2Config::level_t from, int32_t *to) { in simpleMap()
430 return sHevcLevels.map(from, to); in simpleMap()
432 virtual bool simpleMap(int32_t from, C2Config::level_t *to) { in simpleMap()
433 return sHevcLevels.map(from, to); in simpleMap()
435 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) { in simpleMap()
436 return sHevcProfiles.map(from, to); in simpleMap()
438 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) { in simpleMap()
439 return sHevcProfiles.map(from, to); in simpleMap()
444 virtual bool simpleMap(C2Config::level_t from, int32_t *to) { in simpleMap()
445 return sMpeg2Levels.map(from, to); in simpleMap()
447 virtual bool simpleMap(int32_t from, C2Config::level_t *to) { in simpleMap()
448 return sMpeg2Levels.map(from, to); in simpleMap()
450 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) { in simpleMap()
451 return sMpeg2Profiles.map(from, to); in simpleMap()
453 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) { in simpleMap()
454 return sMpeg2Profiles.map(from, to); in simpleMap()
459 virtual bool simpleMap(C2Config::level_t from, int32_t *to) { in simpleMap()
460 return sMpeg4Levels.map(from, to); in simpleMap()
462 virtual bool simpleMap(int32_t from, C2Config::level_t *to) { in simpleMap()
463 return sMpeg4Levels.map(from, to); in simpleMap()
465 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) { in simpleMap()
466 return sMpeg4Profiles.map(from, to); in simpleMap()
468 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) { in simpleMap()
469 return sMpeg4Profiles.map(from, to); in simpleMap()
495 virtual bool simpleMap(C2Config::level_t from, int32_t *to) { in simpleMap()
496 return sVp9Levels.map(from, to); in simpleMap()
498 virtual bool simpleMap(int32_t from, C2Config::level_t *to) { in simpleMap()
499 return sVp9Levels.map(from, to); in simpleMap()
501 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) { in simpleMap()
502 return sVp9Profiles.map(from, to); in simpleMap()
504 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) { in simpleMap()
505 return sVp9Profiles.map(from, to); in simpleMap()
538 bool C2Mapper::map(C2Config::bitrate_mode_t from, int32_t *to) { in map() argument
539 return sBitrateModes.map(from, to); in map()
543 bool C2Mapper::map(int32_t from, C2Config::bitrate_mode_t *to) { in map() argument
544 return sBitrateModes.map(from, to); in map()
548 bool C2Mapper::map(C2Config::pcm_encoding_t from, int32_t *to) { in map() argument
549 return sPcmEncodings.map(from, to); in map()
553 bool C2Mapper::map(int32_t from, C2Config::pcm_encoding_t *to) { in map() argument
554 return sPcmEncodings.map(from, to); in map()
558 bool C2Mapper::map(C2Color::range_t from, int32_t *to) { in map() argument
561 if (!sColorRanges.map(from, to)) { in map()
565 if (!sColorRangesSf.map(from, &sfRange)) { in map()
567 if (from < C2Color::RANGE_VENDOR_START || from > C2Color::RANGE_OTHER) { in map()
579 bool C2Mapper::map(int32_t from, C2Color::range_t *to) { in map() argument
581 if (!sColorRanges.map(from, to)) { in map()
583 (void)ColorUtils::unwrapColorAspectsFromColorRange(from, &sfRange); in map()
600 bool C2Mapper::map(C2Color::range_t from, ColorAspects::Range *to) { in map() argument
601 return sColorRangesSf.map(from, to); in map()
605 bool C2Mapper::map(ColorAspects::Range from, C2Color::range_t *to) { in map() argument
606 return sColorRangesSf.map(from, to); in map()
675 bool C2Mapper::map(C2Color::primaries_t from, ColorAspects::Primaries *to) { in map() argument
676 return sColorPrimariesSf.map(from, to); in map()
680 bool C2Mapper::map(ColorAspects::Primaries from, C2Color::primaries_t *to) { in map() argument
681 return sColorPrimariesSf.map(from, to); in map()
685 bool C2Mapper::map(C2Color::matrix_t from, ColorAspects::MatrixCoeffs *to) { in map() argument
686 return sColorMatricesSf.map(from, to); in map()
690 bool C2Mapper::map(ColorAspects::MatrixCoeffs from, C2Color::matrix_t *to) { in map() argument
691 return sColorMatricesSf.map(from, to); in map()
695 bool C2Mapper::map(C2Color::transfer_t from, int32_t *to) { in map() argument
698 if (!sColorTransfers.map(from, to)) { in map()
702 if (!sColorTransfersSf.map(from, &sfTransfer)) { in map()
704 if (from < C2Color::TRANSFER_VENDOR_START || from > C2Color::TRANSFER_OTHER) { in map()
716 bool C2Mapper::map(int32_t from, C2Color::transfer_t *to) { in map() argument
718 if (!sColorTransfers.map(from, to)) { in map()
720 (void)ColorUtils::unwrapColorAspectsFromColorTransfer(from, &sfTransfer); in map()
808 bool C2Mapper::map(C2Color::transfer_t from, ColorAspects::Transfer *to) { in map() argument
809 return sColorTransfersSf.map(from, to); in map()
813 bool C2Mapper::map(ColorAspects::Transfer from, C2Color::transfer_t *to) { in map() argument
814 return sColorTransfersSf.map(from, to); in map()