Lines Matching refs:to
402 virtual bool simpleMap(C2Config::level_t from, int32_t *to) = 0;
403 virtual bool simpleMap(int32_t from, C2Config::level_t *to) = 0;
404 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) = 0;
405 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) = 0;
408 bool passThroughMap(T from, U *to) { in passThroughMap()
411 *to = (U)from; in passThroughMap()
414 return simpleMap(from, to); in passThroughMap()
417 virtual bool mapLevel(C2Config::level_t from, int32_t *to) { in mapLevel()
418 return passThroughMap(from, to); in mapLevel()
421 virtual bool mapLevel(int32_t from, C2Config::level_t *to) { in mapLevel()
422 return passThroughMap(from, to); in mapLevel()
425 virtual bool mapProfile(C2Config::profile_t from, int32_t *to) { in mapProfile()
426 return passThroughMap(from, to); in mapProfile()
429 virtual bool mapProfile(int32_t from, C2Config::profile_t *to) { in mapProfile()
430 return passThroughMap(from, to); in mapProfile()
436 virtual bool simpleMap(C2Config::level_t, int32_t *to) { in simpleMap()
437 *to = 0; in simpleMap()
440 virtual bool simpleMap(int32_t, C2Config::level_t *to) { in simpleMap()
441 *to = C2Config::LEVEL_UNUSED; in simpleMap()
444 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) { in simpleMap()
445 return sAacProfiles.map(from, to); in simpleMap()
447 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) { in simpleMap()
448 return sAacProfiles.map(from, to); in simpleMap()
453 virtual bool simpleMap(C2Config::level_t from, int32_t *to) { in simpleMap()
454 return sAvcLevels.map(from, to); in simpleMap()
456 virtual bool simpleMap(int32_t from, C2Config::level_t *to) { in simpleMap()
457 return sAvcLevels.map(from, to); in simpleMap()
459 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) { in simpleMap()
460 return sAvcProfiles.map(from, to); in simpleMap()
462 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) { in simpleMap()
463 return sAvcProfiles.map(from, to); in simpleMap()
468 virtual bool simpleMap(C2Config::level_t from, int32_t *to) { in simpleMap()
469 return sDolbyVisionLevels.map(from, to); in simpleMap()
471 virtual bool simpleMap(int32_t from, C2Config::level_t *to) { in simpleMap()
472 return sDolbyVisionLevels.map(from, to); in simpleMap()
474 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) { in simpleMap()
475 return sDolbyVisionProfiles.map(from, to); in simpleMap()
477 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) { in simpleMap()
478 return sDolbyVisionProfiles.map(from, to); in simpleMap()
483 virtual bool simpleMap(C2Config::level_t from, int32_t *to) { in simpleMap()
484 return sH263Levels.map(from, to); in simpleMap()
486 virtual bool simpleMap(int32_t from, C2Config::level_t *to) { in simpleMap()
487 return sH263Levels.map(from, to); in simpleMap()
489 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) { in simpleMap()
490 return sH263Profiles.map(from, to); in simpleMap()
492 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) { in simpleMap()
493 return sH263Profiles.map(from, to); in simpleMap()
502 virtual bool simpleMap(C2Config::level_t from, int32_t *to) { in simpleMap()
503 return sHevcLevels.map(from, to); in simpleMap()
505 virtual bool simpleMap(int32_t from, C2Config::level_t *to) { in simpleMap()
506 return sHevcLevels.map(from, to); in simpleMap()
508 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) { in simpleMap()
509 return mIsHdr10Plus ? sHevcHdr10PlusProfiles.map(from, to) : in simpleMap()
510 mIsHdr ? sHevcHdrProfiles.map(from, to) : in simpleMap()
511 sHevcProfiles.map(from, to); in simpleMap()
513 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) { in simpleMap()
514 return mIsHdr10Plus ? sHevcHdr10PlusProfiles.map(from, to) : in simpleMap()
515 mIsHdr ? sHevcHdrProfiles.map(from, to) : in simpleMap()
516 sHevcProfiles.map(from, to); in simpleMap()
525 virtual bool simpleMap(C2Config::level_t from, int32_t *to) { in simpleMap()
526 return sMpeg2Levels.map(from, to); in simpleMap()
528 virtual bool simpleMap(int32_t from, C2Config::level_t *to) { in simpleMap()
529 return sMpeg2Levels.map(from, to); in simpleMap()
531 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) { in simpleMap()
532 return sMpeg2Profiles.map(from, to); in simpleMap()
534 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) { in simpleMap()
535 return sMpeg2Profiles.map(from, to); in simpleMap()
540 virtual bool simpleMap(C2Config::level_t from, int32_t *to) { in simpleMap()
541 return sMpeg4Levels.map(from, to); in simpleMap()
543 virtual bool simpleMap(int32_t from, C2Config::level_t *to) { in simpleMap()
544 return sMpeg4Levels.map(from, to); in simpleMap()
546 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) { in simpleMap()
547 return sMpeg4Profiles.map(from, to); in simpleMap()
549 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) { in simpleMap()
550 return sMpeg4Profiles.map(from, to); in simpleMap()
557 virtual bool simpleMap(C2Config::level_t, int32_t *to) { in simpleMap()
558 *to = VP8Level_Version0; in simpleMap()
561 virtual bool simpleMap(int32_t, C2Config::level_t *to) { in simpleMap()
562 *to = C2Config::LEVEL_UNUSED; in simpleMap()
565 virtual bool simpleMap(C2Config::profile_t, int32_t *to) { in simpleMap()
566 *to = VP8ProfileMain; in simpleMap()
569 virtual bool simpleMap(int32_t, C2Config::profile_t *to) { in simpleMap()
570 *to = C2Config::PROFILE_UNUSED; in simpleMap()
580 virtual bool simpleMap(C2Config::level_t from, int32_t *to) { in simpleMap()
581 return sVp9Levels.map(from, to); in simpleMap()
583 virtual bool simpleMap(int32_t from, C2Config::level_t *to) { in simpleMap()
584 return sVp9Levels.map(from, to); in simpleMap()
586 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) { in simpleMap()
587 return mIsHdr10Plus ? sVp9Hdr10PlusProfiles.map(from, to) : in simpleMap()
588 mIsHdr ? sVp9HdrProfiles.map(from, to) : in simpleMap()
589 sVp9Profiles.map(from, to); in simpleMap()
591 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) { in simpleMap()
592 return mIsHdr10Plus ? sVp9Hdr10PlusProfiles.map(from, to) : in simpleMap()
593 mIsHdr ? sVp9HdrProfiles.map(from, to) : in simpleMap()
594 sVp9Profiles.map(from, to); in simpleMap()
607 virtual bool simpleMap(C2Config::level_t from, int32_t *to) { in simpleMap()
608 return sAv1Levels.map(from, to); in simpleMap()
610 virtual bool simpleMap(int32_t from, C2Config::level_t *to) { in simpleMap()
611 return sAv1Levels.map(from, to); in simpleMap()
613 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) { in simpleMap()
614 return mIsHdr10Plus ? sAv1Hdr10PlusProfiles.map(from, to) : in simpleMap()
615 mIsHdr ? sAv1HdrProfiles.map(from, to) : in simpleMap()
616 sAv1Profiles.map(from, to); in simpleMap()
618 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) { in simpleMap()
619 return mIsHdr10Plus ? sAv1Hdr10PlusProfiles.map(from, to) : in simpleMap()
620 mIsHdr ? sAv1HdrProfiles.map(from, to) : in simpleMap()
621 sAv1Profiles.map(from, to); in simpleMap()
674 bool C2Mapper::map(C2Config::bitrate_mode_t from, int32_t *to) { in map() argument
675 return sBitrateModes.map(from, to); in map()
679 bool C2Mapper::map(int32_t from, C2Config::bitrate_mode_t *to) { in map() argument
680 return sBitrateModes.map(from, to); in map()
684 bool C2Mapper::map(C2Config::pcm_encoding_t from, int32_t *to) { in map() argument
685 return sPcmEncodings.map(from, to); in map()
689 bool C2Mapper::map(int32_t from, C2Config::pcm_encoding_t *to) { in map() argument
690 return sPcmEncodings.map(from, to); in map()
694 bool C2Mapper::map(C2Color::range_t from, int32_t *to) { in map() argument
697 if (!sColorRanges.map(from, to)) { in map()
709 *to = ColorUtils::wrapColorAspectsIntoColorRange(sfRange); in map()
715 bool C2Mapper::map(int32_t from, C2Color::range_t *to) { in map() argument
717 if (!sColorRanges.map(from, to)) { in map()
722 if (!sColorRangesSf.map(sfRange, to)) { in map()
724 *to = (C2Color::range_t)sfRange; in map()
725 if (*to < C2Color::RANGE_VENDOR_START || *to > C2Color::RANGE_OTHER) { in map()
726 *to = C2Color::RANGE_OTHER; in map()
736 bool C2Mapper::map(C2Color::range_t from, ColorAspects::Range *to) { in map() argument
737 return sColorRangesSf.map(from, to); in map()
741 bool C2Mapper::map(ColorAspects::Range from, C2Color::range_t *to) { in map() argument
742 return sColorRangesSf.map(from, to); in map()
811 bool C2Mapper::map(C2Color::primaries_t from, ColorAspects::Primaries *to) { in map() argument
812 return sColorPrimariesSf.map(from, to); in map()
816 bool C2Mapper::map(ColorAspects::Primaries from, C2Color::primaries_t *to) { in map() argument
817 return sColorPrimariesSf.map(from, to); in map()
821 bool C2Mapper::map(C2Color::matrix_t from, ColorAspects::MatrixCoeffs *to) { in map() argument
822 return sColorMatricesSf.map(from, to); in map()
826 bool C2Mapper::map(ColorAspects::MatrixCoeffs from, C2Color::matrix_t *to) { in map() argument
827 return sColorMatricesSf.map(from, to); in map()
831 bool C2Mapper::map(C2Color::transfer_t from, int32_t *to) { in map() argument
834 if (!sColorTransfers.map(from, to)) { in map()
846 *to = ColorUtils::wrapColorAspectsIntoColorTransfer(sfTransfer); in map()
852 bool C2Mapper::map(int32_t from, C2Color::transfer_t *to) { in map() argument
854 if (!sColorTransfers.map(from, to)) { in map()
859 if (!sColorTransfersSf.map(sfTransfer, to)) { in map()
861 *to = (C2Color::transfer_t)sfTransfer; in map()
862 if (*to < C2Color::TRANSFER_VENDOR_START || *to > C2Color::TRANSFER_OTHER) { in map()
863 *to = C2Color::TRANSFER_OTHER; in map()
944 bool C2Mapper::map(C2Color::transfer_t from, ColorAspects::Transfer *to) { in map() argument
945 return sColorTransfersSf.map(from, to); in map()
949 bool C2Mapper::map(ColorAspects::Transfer from, C2Color::transfer_t *to) { in map() argument
950 return sColorTransfersSf.map(from, to); in map()