• Home
  • Raw
  • Download

Lines Matching refs:ConfigMapper

55 struct ConfigMapper {  struct
64 ConfigMapper(std::string mediaKey, C2String c2struct, C2String c2field) in ConfigMapper() function
68 ConfigMapper &limitTo(uint32_t domain) { in limitTo() argument
75 ConfigMapper &withMapper(Mapper mapper) { in withMapper() argument
83 ConfigMapper &withMappers(Mapper mapper, Mapper reverse) { in withMappers() argument
93 ConfigMapper &withC2Mappers() { in withC2Mappers() argument
232 static const std::vector<ConfigMapper> NO_MAPPERS;
235 const std::vector<ConfigMapper> &getConfigMappersForSdkKey(std::string key) const { in getConfigMappersForSdkKey()
252 void add(const ConfigMapper &cm) { in add()
266 std::vector<ConfigMapper> eqs = { cm }; in add()
284 for (const std::pair<std::string, std::vector<ConfigMapper>> &el : mConfigMappers) { in getPathsForDomain()
285 for (const ConfigMapper &cm : el.second) { in getPathsForDomain()
301 const std::map<SdkKey, std::vector<ConfigMapper>> getKeys() const { in getKeys()
306 std::map<SdkKey, std::vector<ConfigMapper>> mConfigMappers;
309 const std::vector<ConfigMapper> StandardParams::NO_MAPPERS;
320 std::function<void(const ConfigMapper &)> add = in initializeStandardParams()
321 [params = mStandardParams](const ConfigMapper &cm) { in initializeStandardParams()
324 std::function<void(const ConfigMapper &)> deprecated = add; in initializeStandardParams()
327 ConfigMapper::Mapper makeFloat = [](C2Value v) -> C2Value { in initializeStandardParams()
339 ConfigMapper::Mapper negate = [](C2Value v) -> C2Value { in initializeStandardParams()
347 add(ConfigMapper(KEY_MIME, C2_PARAMKEY_INPUT_MEDIA_TYPE, "value") in initializeStandardParams()
349 add(ConfigMapper(KEY_MIME, C2_PARAMKEY_OUTPUT_MEDIA_TYPE, "value") in initializeStandardParams()
352 add(ConfigMapper(KEY_BIT_RATE, C2_PARAMKEY_BITRATE, "value") in initializeStandardParams()
355 add(ConfigMapper(KEY_MAX_BIT_RATE, C2_PARAMKEY_BITRATE, "value") in initializeStandardParams()
357 add(ConfigMapper(PARAMETER_KEY_VIDEO_BITRATE, C2_PARAMKEY_BITRATE, "value") in initializeStandardParams()
359 add(ConfigMapper(KEY_BITRATE_MODE, C2_PARAMKEY_BITRATE_MODE, "value") in initializeStandardParams()
363 deprecated(ConfigMapper(KEY_BITRATE_MODE, "coded.bitrate-mode", "value") in initializeStandardParams()
365 add(ConfigMapper(KEY_FRAME_RATE, C2_PARAMKEY_FRAME_RATE, "value") in initializeStandardParams()
376 add(ConfigMapper(KEY_MAX_INPUT_SIZE, C2_PARAMKEY_INPUT_MAX_BUFFER_SIZE, "value") in initializeStandardParams()
379 deprecated(ConfigMapper(KEY_MAX_INPUT_SIZE, "coded.max-frame-size", "value") in initializeStandardParams()
384 add(ConfigMapper(KEY_ROTATION, C2_PARAMKEY_VUI_ROTATION, "value") in initializeStandardParams()
387 add(ConfigMapper(KEY_ROTATION, C2_PARAMKEY_ROTATION, "value") in initializeStandardParams()
392 add(ConfigMapper("android._video-scaling", C2_PARAMKEY_SURFACE_SCALING_MODE, "value") in initializeStandardParams()
398 add(ConfigMapper(KEY_COLOR_RANGE, C2_PARAMKEY_DEFAULT_COLOR_ASPECTS, "range") in initializeStandardParams()
401 add(ConfigMapper(KEY_COLOR_TRANSFER, C2_PARAMKEY_DEFAULT_COLOR_ASPECTS, "transfer") in initializeStandardParams()
404 add(ConfigMapper("color-primaries", C2_PARAMKEY_DEFAULT_COLOR_ASPECTS, "primaries") in initializeStandardParams()
406 add(ConfigMapper("color-matrix", C2_PARAMKEY_DEFAULT_COLOR_ASPECTS, "matrix") in initializeStandardParams()
412 add(ConfigMapper(KEY_COLOR_RANGE, C2_PARAMKEY_COLOR_ASPECTS, "range") in initializeStandardParams()
415 add(ConfigMapper(KEY_COLOR_TRANSFER, C2_PARAMKEY_COLOR_ASPECTS, "transfer") in initializeStandardParams()
418 add(ConfigMapper("color-primaries", C2_PARAMKEY_COLOR_ASPECTS, "primaries") in initializeStandardParams()
420 add(ConfigMapper("color-matrix", C2_PARAMKEY_COLOR_ASPECTS, "matrix") in initializeStandardParams()
425 add(ConfigMapper(KEY_COLOR_RANGE, C2_PARAMKEY_COLOR_ASPECTS, "range") in initializeStandardParams()
428 add(ConfigMapper(KEY_COLOR_TRANSFER, C2_PARAMKEY_COLOR_ASPECTS, "transfer") in initializeStandardParams()
431 add(ConfigMapper("color-primaries", C2_PARAMKEY_COLOR_ASPECTS, "primaries") in initializeStandardParams()
433 add(ConfigMapper("color-matrix", C2_PARAMKEY_COLOR_ASPECTS, "matrix") in initializeStandardParams()
438 add(ConfigMapper(KEY_COLOR_RANGE, C2_PARAMKEY_VUI_COLOR_ASPECTS, "range") in initializeStandardParams()
441 add(ConfigMapper(KEY_COLOR_TRANSFER, C2_PARAMKEY_VUI_COLOR_ASPECTS, "transfer") in initializeStandardParams()
444 add(ConfigMapper("color-primaries", C2_PARAMKEY_VUI_COLOR_ASPECTS, "primaries") in initializeStandardParams()
446 add(ConfigMapper("color-matrix", C2_PARAMKEY_VUI_COLOR_ASPECTS, "matrix") in initializeStandardParams()
450 add(ConfigMapper("android._dataspace", C2_PARAMKEY_DATA_SPACE, "value") in initializeStandardParams()
454 add(ConfigMapper("smpte2086.red.x", C2_PARAMKEY_HDR_STATIC_INFO, "mastering.red.x") in initializeStandardParams()
456 add(ConfigMapper("smpte2086.red.y", C2_PARAMKEY_HDR_STATIC_INFO, "mastering.red.y") in initializeStandardParams()
458 add(ConfigMapper("smpte2086.green.x", C2_PARAMKEY_HDR_STATIC_INFO, "mastering.green.x") in initializeStandardParams()
460 add(ConfigMapper("smpte2086.green.y", C2_PARAMKEY_HDR_STATIC_INFO, "mastering.green.y") in initializeStandardParams()
462 add(ConfigMapper("smpte2086.blue.x", C2_PARAMKEY_HDR_STATIC_INFO, "mastering.blue.x") in initializeStandardParams()
464 add(ConfigMapper("smpte2086.blue.y", C2_PARAMKEY_HDR_STATIC_INFO, "mastering.blue.y") in initializeStandardParams()
466 add(ConfigMapper("smpte2086.white.x", C2_PARAMKEY_HDR_STATIC_INFO, "mastering.white.x") in initializeStandardParams()
468 add(ConfigMapper("smpte2086.white.y", C2_PARAMKEY_HDR_STATIC_INFO, "mastering.white.y") in initializeStandardParams()
470 …add(ConfigMapper("smpte2086.max-luminance", C2_PARAMKEY_HDR_STATIC_INFO, "mastering.max-luminance") in initializeStandardParams()
472 …add(ConfigMapper("smpte2086.min-luminance", C2_PARAMKEY_HDR_STATIC_INFO, "mastering.min-luminance") in initializeStandardParams()
474 add(ConfigMapper("cta861.max-cll", C2_PARAMKEY_HDR_STATIC_INFO, "max-cll") in initializeStandardParams()
476 add(ConfigMapper("cta861.max-fall", C2_PARAMKEY_HDR_STATIC_INFO, "max-fall") in initializeStandardParams()
479 add(ConfigMapper(std::string(KEY_FEATURE_) + FEATURE_SecurePlayback, in initializeStandardParams()
482 add(ConfigMapper(KEY_PREPEND_HEADERS_TO_SYNC_FRAMES, in initializeStandardParams()
506 deprecated(ConfigMapper(KEY_PREPEND_HEADERS_TO_SYNC_FRAMES, in initializeStandardParams()
510 add(ConfigMapper(KEY_I_FRAME_INTERVAL, C2_PARAMKEY_SYNC_FRAME_INTERVAL, "value") in initializeStandardParams()
529 deprecated(ConfigMapper("i-frame-period", "coding.gop", "intra-period") in initializeStandardParams()
531 add(ConfigMapper(KEY_INTRA_REFRESH_PERIOD, C2_PARAMKEY_INTRA_REFRESH, "period") in initializeStandardParams()
541 deprecated(ConfigMapper(PARAMETER_KEY_REQUEST_SYNC_FRAME, in initializeStandardParams()
545 add(ConfigMapper(PARAMETER_KEY_REQUEST_SYNC_FRAME, in initializeStandardParams()
550 add(ConfigMapper(KEY_OPERATING_RATE, C2_PARAMKEY_OPERATING_RATE, "value") in initializeStandardParams()
554 add(ConfigMapper(KEY_PRIORITY, C2_PARAMKEY_PRIORITY, "value") in initializeStandardParams()
557 deprecated(ConfigMapper(KEY_OPERATING_RATE, "ctrl.operating-rate", "value") in initializeStandardParams()
559 deprecated(ConfigMapper(KEY_PRIORITY, "ctrl.priority", "value")); in initializeStandardParams()
561 add(ConfigMapper(KEY_WIDTH, C2_PARAMKEY_PICTURE_SIZE, "width") in initializeStandardParams()
563 add(ConfigMapper(KEY_HEIGHT, C2_PARAMKEY_PICTURE_SIZE, "height") in initializeStandardParams()
566 add(ConfigMapper("crop-left", C2_PARAMKEY_CROP_RECT, "left") in initializeStandardParams()
568 add(ConfigMapper("crop-top", C2_PARAMKEY_CROP_RECT, "top") in initializeStandardParams()
570 add(ConfigMapper("crop-width", C2_PARAMKEY_CROP_RECT, "width") in initializeStandardParams()
572 add(ConfigMapper("crop-height", C2_PARAMKEY_CROP_RECT, "height") in initializeStandardParams()
575 add(ConfigMapper(KEY_MAX_WIDTH, C2_PARAMKEY_MAX_PICTURE_SIZE, "width") in initializeStandardParams()
577 add(ConfigMapper(KEY_MAX_HEIGHT, C2_PARAMKEY_MAX_PICTURE_SIZE, "height") in initializeStandardParams()
580 add(ConfigMapper("csd-0", C2_PARAMKEY_INIT_DATA, "value") in initializeStandardParams()
583 add(ConfigMapper(KEY_HDR10_PLUS_INFO, C2_PARAMKEY_INPUT_HDR10_PLUS_INFO, "value") in initializeStandardParams()
586 add(ConfigMapper(KEY_HDR10_PLUS_INFO, C2_PARAMKEY_OUTPUT_HDR10_PLUS_INFO, "value") in initializeStandardParams()
589 add(ConfigMapper(C2_PARAMKEY_TEMPORAL_LAYERING, C2_PARAMKEY_TEMPORAL_LAYERING, "") in initializeStandardParams()
594 add(ConfigMapper("android._color-format", C2_PARAMKEY_PIXEL_FORMAT, "value") in initializeStandardParams()
632 add(ConfigMapper(KEY_CHANNEL_COUNT, C2_PARAMKEY_CHANNEL_COUNT, "value") in initializeStandardParams()
634 add(ConfigMapper(KEY_CHANNEL_COUNT, C2_PARAMKEY_CODED_CHANNEL_COUNT, "value") in initializeStandardParams()
637 add(ConfigMapper(KEY_SAMPLE_RATE, C2_PARAMKEY_SAMPLE_RATE, "value") in initializeStandardParams()
639 add(ConfigMapper(KEY_SAMPLE_RATE, C2_PARAMKEY_CODED_SAMPLE_RATE, "value") in initializeStandardParams()
642 add(ConfigMapper(KEY_PCM_ENCODING, C2_PARAMKEY_PCM_ENCODING, "value") in initializeStandardParams()
661 add(ConfigMapper(KEY_IS_ADTS, C2_PARAMKEY_AAC_PACKAGING, "value") in initializeStandardParams()
680 add(ConfigMapper(KEY_PROFILE, C2_PARAMKEY_PROFILE_LEVEL, "profile") in initializeStandardParams()
699 add(ConfigMapper(KEY_LEVEL, C2_PARAMKEY_PROFILE_LEVEL, "level") in initializeStandardParams()
719 …add(ConfigMapper(KEY_AAC_DRC_TARGET_REFERENCE_LEVEL, C2_PARAMKEY_DRC_TARGET_REFERENCE_LEVEL, "valu… in initializeStandardParams()
730 add(ConfigMapper(KEY_AAC_DRC_ATTENUATION_FACTOR, C2_PARAMKEY_DRC_ATTENUATION_FACTOR, "value") in initializeStandardParams()
741 add(ConfigMapper(KEY_AAC_DRC_BOOST_FACTOR, C2_PARAMKEY_DRC_BOOST_FACTOR, "value") in initializeStandardParams()
752 add(ConfigMapper(KEY_AAC_DRC_HEAVY_COMPRESSION, C2_PARAMKEY_DRC_COMPRESSION_MODE, "value") in initializeStandardParams()
763 add(ConfigMapper(KEY_AAC_ENCODED_TARGET_LEVEL, C2_PARAMKEY_DRC_ENCODED_TARGET_LEVEL, "value") in initializeStandardParams()
774 add(ConfigMapper(KEY_AAC_DRC_EFFECT_TYPE, C2_PARAMKEY_DRC_EFFECT_TYPE, "value") in initializeStandardParams()
788 add(ConfigMapper(KEY_AAC_MAX_OUTPUT_CHANNEL_COUNT, C2_PARAMKEY_MAX_CHANNEL_COUNT, "value") in initializeStandardParams()
791 add(ConfigMapper(KEY_AAC_SBR_MODE, C2_PARAMKEY_AAC_SBR_MODE, "value") in initializeStandardParams()
806 add(ConfigMapper(KEY_QUALITY, C2_PARAMKEY_QUALITY, "value") in initializeStandardParams()
808 add(ConfigMapper(KEY_FLAC_COMPRESSION_LEVEL, C2_PARAMKEY_COMPLEXITY, "value") in initializeStandardParams()
810 add(ConfigMapper("complexity", C2_PARAMKEY_COMPLEXITY, "value") in initializeStandardParams()
813 add(ConfigMapper(KEY_GRID_COLUMNS, C2_PARAMKEY_TILE_LAYOUT, "columns") in initializeStandardParams()
815 add(ConfigMapper(KEY_GRID_ROWS, C2_PARAMKEY_TILE_LAYOUT, "rows") in initializeStandardParams()
817 add(ConfigMapper(KEY_TILE_WIDTH, C2_PARAMKEY_TILE_LAYOUT, "tile.width") in initializeStandardParams()
819 add(ConfigMapper(KEY_TILE_HEIGHT, C2_PARAMKEY_TILE_LAYOUT, "tile.height") in initializeStandardParams()
822 add(ConfigMapper(KEY_LATENCY, C2_PARAMKEY_PIPELINE_DELAY_REQUEST, "value") in initializeStandardParams()
825 add(ConfigMapper(C2_PARAMKEY_INPUT_TIME_STRETCH, C2_PARAMKEY_INPUT_TIME_STRETCH, "value")); in initializeStandardParams()
1068 for (const std::pair<std::string, std::vector<ConfigMapper>> &el : mStandardParams->getKeys()) { in getSdkFormatForDomain()
1069 for (const ConfigMapper &cm : el.second) { in getSdkFormatForDomain()
1466 for (const ConfigMapper &cm : mStandardParams->getConfigMappersForSdkKey(name.c_str())) { in getReflectedFormat()