Home
last modified time | relevance | path

Searched refs:asset (Results 1 – 25 of 209) sorted by relevance

123456789

/third_party/ffmpeg/libavcodec/
Ddca_exss.c23 static void parse_xll_parameters(DCAExssParser *s, DCAExssAsset *asset) in parse_xll_parameters() argument
26 asset->xll_size = get_bits(&s->gb, s->exss_size_nbits) + 1; in parse_xll_parameters()
29 if (asset->xll_sync_present = get_bits1(&s->gb)) { in parse_xll_parameters()
39 asset->xll_delay_nframes = get_bits_long(&s->gb, xll_delay_nbits); in parse_xll_parameters()
42 asset->xll_sync_offset = get_bits(&s->gb, s->exss_size_nbits); in parse_xll_parameters()
44 asset->xll_delay_nframes = 0; in parse_xll_parameters()
45 asset->xll_sync_offset = 0; in parse_xll_parameters()
49 static void parse_lbr_parameters(DCAExssParser *s, DCAExssAsset *asset) in parse_lbr_parameters() argument
52 asset->lbr_size = get_bits(&s->gb, 14) + 1; in parse_lbr_parameters()
60 static int parse_descriptor(DCAExssParser *s, DCAExssAsset *asset) in parse_descriptor() argument
[all …]
Ddca_parser.c197 DCAExssAsset *asset = &pc1->exss.assets[0]; in dca_parse_params() local
210 if (asset->extension_mask & DCA_EXSS_LBR) { in dca_parse_params()
211 if ((ret = init_get_bits8(&gb, buf + asset->lbr_offset, asset->lbr_size)) < 0) in dca_parse_params()
235 if (asset->extension_mask & DCA_EXSS_XLL) { in dca_parse_params()
238 if ((ret = init_get_bits8(&gb, buf + asset->xll_offset, asset->xll_size)) < 0) in dca_parse_params()
254 *sample_rate = asset->max_sample_rate; in dca_parse_params()
298 if (asset->extension_mask & DCA_EXSS_XLL) in dca_parse_params()
300 else if (asset->extension_mask & (DCA_EXSS_XBR | DCA_EXSS_XXCH | DCA_EXSS_X96)) in dca_parse_params()
/third_party/skia/infra/bots/assets/
DREADME.md14 Each asset has its own subdirectory with the following contents:
15 * VERSION: The current version number of the asset.
16 … [optional] create.py: Script which creates the asset, implemented by the user and called by `sk
17 …r-implemented convenience script which wraps `sk asset upload` in whatever way makes sense for the…
23 Add a new asset and upload an initial version.
26 $ sk asset add myasset
27 Do you want to add a creation script for this asset? (y/n): n
28 $ sk asset upload --in ${MY_ASSET_LOCATION} myasset
32 Add an asset whose creation can be automated.
35 $ sk asset add myasset
[all …]
/third_party/flutter/engine/flutter/lib/ui/text/
Dasset_manager_font_provider.cc52 std::string asset) { in RegisterAsset() argument
63 family_it->second->registerAsset(asset); in RegisterAsset()
72 void AssetManagerFontStyleSet::registerAsset(std::string asset) { in registerAsset() argument
73 assets_.emplace_back(asset); in registerAsset()
91 TypefaceAsset& asset = assets_[index]; in createTypeface() local
92 if (!asset.typeface) { in createTypeface()
94 asset_manager_->GetAsMapping(asset.asset); in createTypeface()
106 asset.typeface = SkTypeface::MakeFromStream(std::move(stream)); in createTypeface()
107 if (!asset.typeface) in createTypeface()
111 return SkRef(asset.typeface.get()); in createTypeface()
[all …]
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/
Dassets.dart18 String getAssetUrl(String asset) {
19 final Uri assetUri = Uri.parse(asset);
24 url = asset;
26 url = '$assetsDir/$asset';
32 Future<ByteData> load(String asset) async {
33 final String url = getAssetUrl(asset);
43 if (target.status == 404 && asset == 'AssetManifest.json') {
63 String toString() => 'Failed to load asset at "$url" ($httpStatus)';
66 /// An asset manager that gives fake empty responses for assets.
76 String getAssetUrl(String asset) => '$asset';
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/
Dasset_bundle_variant_test.dart10 import 'package:flutter_tools/src/asset.dart';
29 group('AssetBundle asset variants', () {
40 testUsingContext('main asset and variants', () async {
67 for (String asset in assets) {
68 fs.file(fixPath(asset))
70 ..writeAsStringSync(asset);
76 // The main asset file, /a/b/c/foo, and its variants exist.
77 for (String asset in assets) {
78 expect(bundle.entries.containsKey(asset), true);
79 expect(utf8.decode(await bundle.entries[asset].contentsAsBytes()), asset);
[all …]
Dasset_test.dart7 import 'package:flutter_tools/src/asset.dart';
32 final AssetBundle asset = AssetBundleFactory.instance.createBundle();
33 await asset.build(
39 expect(asset.entries.containsKey('FontManifest.json'), isTrue);
41 await getValueAsString('FontManifest.json', asset),
42 '[{"family":"packages/font/test_font","fonts":[{"asset":"packages/font/test_font_file"}]}]',
44 expect(asset.wasBuiltOnce(), true);
56 final AssetBundle asset = AssetBundleFactory.instance.createBundle();
57 await asset.build(
62 expect(asset.wasBuiltOnce(), true);
[all …]
Dflutter_manifest_test.dart83 test('has one font family with one asset', () async {
94 - asset: a/bar
97 …final dynamic expectedFontsDescriptor = [{'fonts': [{'asset': 'a/bar'}], 'family': 'foo'}]; // ign…
102 …final dynamic fooFontDescriptor = {'family': 'foo', 'fonts': [{'asset': 'a/bar'}]}; // ignore: alw…
113 test('has one font family with a simple asset and one with weight', () async {
124 - asset: a/bar
125 - asset: a/bar
129 …final dynamic expectedFontsDescriptor = [{'fonts': [{'asset': 'a/bar'}, {'weight': 400, 'asset': '…
134 …namic fooFontDescriptor = {'family': 'foo', 'fonts': [{'asset': 'a/bar'}, {'weight': 400, 'asset':…
149 test('has one font family with a simple asset and one with weight and style', () async {
[all …]
Dasset_bundle_package_fonts_test.dart11 import 'package:flutter_tools/src/asset.dart';
138 - asset: packages/test_package/bar
148 '[{"fonts":[{"asset":"packages/test_package/bar"}],"family":"foo"}]';
166 - asset: packages/test_package/bar
167 - asset: a/bar
179 '[{"fonts":[{"asset":"packages/test_package/bar"},{"asset":"a/bar"}],'
200 - asset: a/bar
213 '"fonts":[{"asset":"packages/test_package/a/bar"}]}]';
233 - asset: packages/test_package2/bar
247 '"fonts":[{"asset":"packages/test_package2/bar"}]}]';
[all …]
Dasset_bundle_package_test.dart11 import 'package:flutter_tools/src/asset.dart';
40 for (String asset in assets) {
42 - $asset
78 for (String asset in assets) {
79 final String entryKey = Uri.encodeFull('packages/$packageName/$asset');
83 asset,
95 for (String asset in assets) {
96 final String fullPath = fixPath(fs.path.join(path, asset));
100 ..writeAsStringSync(asset);
140 …testUsingContext('No assets are bundled when the package has an asset that is not listed', () asyn…
[all …]
/third_party/flutter/skia/infra/bots/assets/
DREADME.md14 Each asset has its own subdirectory with the following contents:
15 * VERSION: The current version number of the asset.
16 * download.py: Convenience script for downloading the current version of the asset.
17 * upload.py: Convenience script for uploading a new version of the asset.
18 * [optional] create.py: Script which creates the asset, implemented by the user.
25 Add a new asset and upload an initial version.
29 Creating asset in infra/bots/assets/myasset
33 Add script to automate creation of this asset? (y/n) n
38 Add an asset whose creation can be automated.
42 Add script to automate creation of this asset? (y/n) y
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
DAAssetDataSource.cpp41 AAsset *asset = AAssetManager_open(&assetManager, filename, AASSET_MODE_UNKNOWN); in newFromCompressedAsset() local
42 if (!asset) { in newFromCompressedAsset()
47 off_t assetSize = AAsset_getLength(asset); in newFromCompressedAsset()
57 int64_t bytesDecoded = FFMpegExtractor::decode(asset, decodedData, targetProperties); in newFromCompressedAsset()
63 int64_t bytesDecoded = NDKExtractor::decode(asset, decodedData, targetProperties); in newFromCompressedAsset()
81 AAsset_close(asset); in newFromCompressedAsset()
DFFMpegExtractor.cpp26 auto asset = (AAsset *) opaque; in read() local
27 int bytesRead = AAsset_read(asset, buf, (size_t)buf_size); in read()
33 auto asset = (AAsset*)opaque; in seek() local
36 if (whence == AVSEEK_SIZE) return AAsset_getLength(asset); in seek()
37 if (AAsset_seek(asset, offset, whence) == -1){ in seek()
44 bool FFMpegExtractor::createAVIOContext(AAsset *asset, uint8_t *buffer, uint32_t bufferSize, in createAVIOContext() argument
53 asset, // Will be passed to our callback functions as a (void *) in createAVIOContext()
120 AAsset *asset, in decode() argument
139 if (!createAVIOContext(asset, buffer, kInternalBufferSize, &tmp)){ in decode()
/third_party/flutter/flutter/packages/flutter_tools/lib/src/
Dasset.dart68 // If an asset corresponds to a wildcard directory, then it may have been
139 // The _assetVariants map contains an entry for each asset listed
141 // value of each image asset is a list of resolution-specific "variants",
196 // asset in entries.
197 for (_Asset asset in assetVariants.keys) {
198 if (!asset.assetFileExists && assetVariants[asset].isEmpty) {
200 printError('No file or variants found for $asset.\n');
203 // The file name for an asset's "main" entry is whatever appears in
209 if (asset.assetFileExists) {
210 assert(!assetVariants[asset].contains(asset));
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/services/
Dasset_bundle.dart52 /// Retrieve a binary resource from the asset bundle as a data stream.
54 /// Throws an exception if the asset is not found.
57 /// Retrieve a string from the asset bundle.
59 /// Throws an exception if the asset is not found.
64 /// it's set to true either, that depends on the asset bundle
69 throw FlutterError('Unable to load asset: $key');
82 /// Retrieve a string from the asset bundle, parse it with the given function,
86 /// used with one parser for the lifetime of the asset bundle.
89 /// If this is a caching asset bundle, and the given key describes a cached
90 /// asset, then evict the asset from the cache so that the next time it is
[all …]
/third_party/flutter/engine/flutter/shell/platform/android/
Dapk_asset_provider.cc26 APKAssetMapping(AAsset* asset) : asset_(asset) {} in APKAssetMapping() argument
46 AAsset* asset = in GetAsMapping() local
48 if (!asset) { in GetAsMapping()
52 return std::make_unique<APKAssetMapping>(asset); in GetAsMapping()
/third_party/skia/infra/bots/gen_tasks_logic/
Dgen_tasks_logic.go1012 b.asset("protoc")
1149 var asset string
1153 asset = "ios-dev-image-11.4"
1155 asset = "ios-dev-image-12.4"
1157 asset = "ios-dev-image-13.3"
1159 asset = "ios-dev-image-13.4"
1161 asset = "ios-dev-image-13.5"
1163 asset = "ios-dev-image-13.6"
1167 b.asset(asset)
1207 b.asset("android_ndk_darwin")
[all …]
Djob_builder.go64 func (b *jobBuilder) uploadCIPDAssetToCAS(asset string) string {
65 cfg, ok := ISOLATE_ASSET_MAPPING[asset]
67 log.Fatalf("No isolate task for asset %q", asset)
70 b.cipd(b.MustGetCipdPackageFromAsset(asset))
94 for asset, cfg := range ISOLATE_ASSET_MAPPING {
96 b.uploadCIPDAssetToCAS(asset)
/third_party/flutter/flutter/packages/flutter_tools/templates/package/
Dpubspec.yaml.tmpl36 # An image asset can refer to one or more resolution-specific "variants", see
42 # list giving the asset and other descriptors for the font. For
47 # - asset: fonts/Schyler-Regular.ttf
48 # - asset: fonts/Schyler-Italic.ttf
52 # - asset: fonts/TrajanPro.ttf
53 # - asset: fonts/TrajanPro_Bold.ttf
/third_party/gstreamer/gstplugins_bad/sys/applemedia/
Diosassetsrc.m27 * Read data from an iOS asset from the media library.
32 …* gst-launch-1.0 iosassetsrc uri=assets-library://asset/asset.M4V?id=11&ext=M4V ! decodebin ! auto…
33 * ]| Plays asset with id a song.ogg from local dir.
113 "URI of the asset to read", NULL,
122 "Read from arbitrary point in a iOS asset",
139 src->asset = NULL;
147 if (src->asset != NULL) {
148 CFBridgingRelease(src->asset);
149 src->asset = NULL;
211 g_warning ("Changing the 'uri' property on iosassetsrc when an asset is "
[all …]
/third_party/skia/site/docs/dev/tools/
Dsk.md15 ### asset subsection
23 * add - Add an entry for a new asset. This does not create an initial version.
24 * remove - Remove the entry for an existing asset. This does not remove uploaded
26 * download - Download the pinned version of the asset into the given directory.
27 * upload - Upload a new version of the asset and update the pinned version. If
28 a script exists to automate creation of the asset, `sk` that runs script and
31 * get-version - Print the pinned version of the asset.
32 * set-version - Set the pinned version of the asset. `sk` verifies that the
34 * list-versions - Print all versions of the asset which exist in CIPD.
/third_party/flutter/engine/flutter/shell/platform/darwin/ios/framework/Headers/
DFlutterDartProject.h37 + (NSString*)lookupKeyForAsset:(NSString*)asset;
47 + (NSString*)lookupKeyForAsset:(NSString*)asset fromBundle:(NSBundle*)bundle;
57 + (NSString*)lookupKeyForAsset:(NSString*)asset fromPackage:(NSString*)package;
68 + (NSString*)lookupKeyForAsset:(NSString*)asset
/third_party/flutter/flutter/packages/flutter_tools/templates/plugin/
Dpubspec.yaml.tmpl39 # An image asset can refer to one or more resolution-specific "variants", see
45 # list giving the asset and other descriptors for the font. For
50 # - asset: fonts/Schyler-Regular.ttf
51 # - asset: fonts/Schyler-Italic.ttf
55 # - asset: fonts/TrajanPro.ttf
56 # - asset: fonts/TrajanPro_Bold.ttf
/third_party/flutter/flutter/packages/flutter/test/painting/
Dimage_resolution_test.dart58 test('When asset is main variant check scale is 1.0', () {
62 …test('When asset path and key are the same string even though it could be took as a 3.0x variant',…
66 …test('When asset path contains variant identifier as part of parent folder name scale is 1.0', () {
70 … test('When asset path contains variant identifier as part of leaf folder name scale is 1.0', () {
74 …test('When asset path contains variant identifier as part of parent folder name scale is 1.0', () {
78 test('When asset path contains variant identifier in parent folder scale is 1.0', () {
85 test('When asset is not main variant check scale is not 1.0', () {
119 … 'When high-res device and high-res asset not present in bundle then return main variant', () {
183 test('Obvious case 1.0 - we have exact asset', () {
187 test('Obvious case 3.0 - we have exact asset', () {
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dimage_resolution.dart20 /// Given a main asset and a set of variants, AssetImage chooses the most
21 /// appropriate asset for the current context, based on the device pixel ratio
24 /// To show a specific image from a bundle without any asset resolution, use an
32 /// N is the nominal device pixel ratio for that asset.
36 /// as 1.5 and 2.0 pixel ratios (variants). The asset bundle should then contain
49 /// The directory level of the asset does not matter as long as the variants are
66 /// argument to name the asset to choose. For instance, consider the structure
83 /// To fetch an asset from a package, the [package] argument must be provided.
94 /// If the desired asset is specified in the `pubspec.yaml` of the package, it
117 /// The `lib/` is implied, so it should not be included in the asset path.
[all …]

123456789