/third_party/ffmpeg/libavcodec/ |
D | dca_exss.c | 23 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 …]
|
D | dca_parser.c | 197 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()
|
D | dcadec.c | 198 DCAExssAsset *asset = NULL; in dcadec_decode_frame() local 207 asset = &s->exss.assets[0]; in dcadec_decode_frame() 212 if (asset && (asset->extension_mask & DCA_EXSS_XLL)) { in dcadec_decode_frame() 213 if ((ret = ff_dca_xll_parse(&s->xll, input, asset)) < 0) { in dcadec_decode_frame() 227 if (asset && (asset->extension_mask & DCA_EXSS_LBR)) { in dcadec_decode_frame() 228 if ((ret = ff_dca_lbr_parse(&s->lbr, input, asset)) < 0) { in dcadec_decode_frame() 238 && (ret = ff_dca_core_parse_exss(&s->core, input, asset)) < 0) in dcadec_decode_frame()
|
D | dca_xll.c | 116 static int chs_parse_header(DCAXllDecoder *s, DCAXllChSet *c, DCAExssAsset *asset) in chs_parse_header() argument 175 if (asset->one_to_one_map_ch_to_spkr) { in chs_parse_header() 903 static int parse_sub_headers(DCAXllDecoder *s, DCAExssAsset *asset) in parse_sub_headers() argument 915 if ((ret = chs_parse_header(s, c, asset)) < 0) in parse_sub_headers() 1041 static int parse_frame(DCAXllDecoder *s, uint8_t *data, int size, DCAExssAsset *asset) in parse_frame() argument 1049 if ((ret = parse_sub_headers(s, asset)) < 0) in parse_frame() 1082 static int parse_frame_no_pbr(DCAXllDecoder *s, uint8_t *data, int size, DCAExssAsset *asset) in parse_frame_no_pbr() argument 1084 int ret = parse_frame(s, data, size, asset); in parse_frame_no_pbr() 1088 if (ret == AVERROR(EAGAIN) && asset->xll_sync_present && asset->xll_sync_offset < size) { in parse_frame_no_pbr() 1090 data += asset->xll_sync_offset; in parse_frame_no_pbr() [all …]
|
/third_party/skia/infra/bots/assets/ |
D | README.md | 14 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/vk-gl-cts/external/amber/src/android_sample/jni/ |
D | amber_script.cc | 103 AAssetDir* asset = in FindAllScriptsAndReturnShaderNames() local 105 for (const char* file_name = AAssetDir_getNextFileName(asset); file_name; in FindAllScriptsAndReturnShaderNames() 106 file_name = AAssetDir_getNextFileName(asset)) { in FindAllScriptsAndReturnShaderNames() 116 AAssetDir_close(asset); in FindAllScriptsAndReturnShaderNames() 124 AAsset* asset = AAssetManager_open(app_context_->activity->assetManager, in ReadContent() local 126 if (!asset) in ReadContent() 129 size_t size_in_bytes = AAsset_getLength(asset); in ReadContent() 134 AAsset_read(asset, content.data(), size_in_bytes); in ReadContent() 135 AAsset_close(asset); in ReadContent()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/ |
D | AAssetDataSource.cpp | 41 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()
|
D | FFMpegExtractor.cpp | 26 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()
|
D | FFMpegExtractor.h | 33 static int64_t decode(AAsset *asset, uint8_t *targetData, AudioProperties targetProperties); 36 static bool createAVIOContext(AAsset *asset, uint8_t *buffer, uint32_t bufferSize,
|
D | NDKExtractor.cpp | 27 int32_t NDKExtractor::decode(AAsset *asset, uint8_t *targetData, AudioProperties targetProperties) { in decode() argument 33 int fd = AAsset_openFileDescriptor(asset, &start, &length); in decode()
|
/third_party/skia/infra/bots/gen_tasks_logic/ |
D | gen_tasks_logic.go | 1012 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 …]
|
D | job_builder.go | 64 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)
|
D | task_builder.go | 179 func (b *taskBuilder) asset(assets ...string) { func 182 for _, asset := range assets { 183 if cfg, ok := ISOLATE_ASSET_MAPPING[asset]; ok && (cfg.alwaysIsolate || shouldIsolate) { 184 b.dep(b.uploadCIPDAssetToCAS(asset)) 186 pkgs = append(pkgs, b.MustGetCipdPackageFromAsset(asset)) 313 b.asset("node")
|
D | nano_flags.go | 328 b.asset("skimage") 333 b.asset("skp") 337 b.asset("svg")
|
/third_party/gstreamer/gstplugins_bad/sys/applemedia/ |
D | iosassetsrc.m | 27 * 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 …]
|
D | iosassetsrc.h | 48 (__bridge ALAssetRepresentation *)(obj->asset) 61 @property (retain) ALAsset *asset; 81 gpointer asset; /* asset representation */ member
|
D | avfassetsrc.m | 154 "URI of the asset to read", NULL, 779 AVAsset *asset; 784 asset = [AVAsset assetWithURL: url]; 786 if (asset.playable) { 852 reader = [[AVAssetReader alloc] initWithAsset:asset error:&nserror]; 862 audio_tracks = [asset tracksWithMediaType:AVMediaTypeAudio]; 863 video_tracks = [asset tracksWithMediaType:AVMediaTypeVideo]; 864 reader.timeRange = CMTimeRangeMake(kCMTimeZero, asset.duration); 879 asset = [AVAsset assetWithURL: url]; 881 if (!asset.playable) { [all …]
|
/third_party/skia/site/docs/dev/tools/ |
D | sk.md | 15 ### 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/skia/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/ |
D | CorrectnessActivity.java | 73 private void setLotties(int asset) { in setLotties() argument 77 view.setAnimation(asset); in setLotties() 82 private void saveAsPng(int asset, Bitmap bitmap) { in saveAsPng() argument 83 String lottieName = getResources().getResourceName(asset).replaceAll(".+/", ""); in saveAsPng() 121 private void runCorrectness(int asset) { in runCorrectness() argument 127 saveAsPng(asset, out); in runCorrectness()
|
/third_party/skia/modules/skottie/src/layers/ |
D | FootageLayer.cpp | 32 FootageAnimator(sk_sp<ImageAsset> asset, in FootageAnimator() argument 37 : fAsset(std::move(asset)) in FootageAnimator() 92 auto asset = fResourceProvider->loadImageAsset(path->begin(), name->begin(), id->begin()); in loadFootageAsset() local 93 if (!asset) { in loadFootageAsset() 101 return fImageAssetCache.set(res_id, { std::move(asset), size }); in loadFootageAsset()
|
/third_party/skia/tests/ |
D | StreamTest.cpp | 345 SkStreamAsset* asset, in stream_peek_test() argument 347 if (asset->getLength() != expected->size()) { in stream_peek_test() 354 for (size_t i = 0; i < asset->getLength(); ++i) { in stream_peek_test() 356 SkToU32(std::min(sizeof(buffer), asset->getLength() - i)); in stream_peek_test() 360 SkASSERT(size + i <= asset->getLength()); in stream_peek_test() 361 if (asset->peek(buffer, size) < size) { in stream_peek_test() 370 REPORTER_ASSERT(rep, 1 == asset->read(&value, 1)); in stream_peek_test() 395 std::unique_ptr<SkStreamAsset> asset(dynamicMemoryWStream.detachAsStream()); in DEF_TEST() local 396 sk_sp<SkData> expected(SkData::MakeUninitialized(asset->getLength())); in DEF_TEST() 402 for (size_t i = 0; i < asset->getLength(); ++i) { in DEF_TEST() [all …]
|
/third_party/skia/modules/skresources/src/ |
D | SkResources.cpp | 254 if (const auto* asset = fImageCache.find(key)) { in loadImageAsset() local 255 return *asset; in loadImageAsset() 258 auto asset = this->INHERITED::loadImageAsset(resource_path, resource_name, resource_id); in loadImageAsset() local 259 fImageCache.set(key, asset); in loadImageAsset() 261 return asset; in loadImageAsset()
|
/third_party/skia/tools/sk_app/android/ |
D | surface_glue_android.cpp | 43 AAsset* asset = AAssetManager_open(gAAssetManager, path.c_str(), AASSET_MODE_STREAMING); in config_resource_mgr() local 44 if (!asset) { in config_resource_mgr() 47 size_t size = SkToSizeT(AAsset_getLength(asset)); in config_resource_mgr() 49 (void)AAsset_read(asset, data->writable_data(), size); in config_resource_mgr() 50 AAsset_close(asset); in config_resource_mgr()
|
/third_party/skia/tools/skqp/src/ |
D | jni_skqp.cpp | 35 if (AAsset* asset = AAssetManager_open(gAAssetManager, path, AASSET_MODE_STREAMING)) { in open_asset_data() local 36 if (size_t size = SkToSizeT(AAsset_getLength(asset))) { in open_asset_data() 38 int ret = AAsset_read(asset, data->writable_data(), size); in open_asset_data() 43 AAsset_close(asset); in open_asset_data()
|
/third_party/skia/modules/canvaskit/ |
D | particles_bindings.cpp | 65 for (const auto& asset : fAssets) { in findAsset() local 66 if (asset.first.equals(name)) { in findAsset() 67 return asset.second; in findAsset()
|