Home
last modified time | relevance | path

Searched refs:refs (Results 1 – 15 of 15) sorted by relevance

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Dbackward_references_enc.c86 assert(refs != NULL); in VP8LClearBackwardRefs()
88 *refs->tail_ = refs->free_blocks_; // recycle all blocks at once in VP8LClearBackwardRefs()
90 refs->free_blocks_ = refs->refs_; in VP8LClearBackwardRefs()
91 refs->tail_ = &refs->refs_; in VP8LClearBackwardRefs()
93 refs->refs_ = NULL; in VP8LClearBackwardRefs()
97 assert(refs != NULL); in VP8LBackwardRefsClear()
107 assert(refs != NULL); in VP8LBackwardRefsInit()
108 memset(refs, 0, sizeof(*refs)); in VP8LBackwardRefsInit()
109 refs->tail_ = &refs->refs_; in VP8LBackwardRefsInit()
110 refs->block_size_ = in VP8LBackwardRefsInit()
[all …]
A Dhistogram_enc.h64 const VP8LBackwardRefs* const refs,
76 void VP8LHistogramStoreRefs(const VP8LBackwardRefs* const refs,
110 const VP8LBackwardRefs* const refs,
A Dbackward_references_cost_enc.c27 extern void VP8LClearBackwardRefs(VP8LBackwardRefs* const refs);
29 extern void VP8LBackwardRefsCursorAdd(VP8LBackwardRefs* const refs,
62 const VP8LBackwardRefs* const refs) { in CostModelBuild() argument
64 VP8LRefsCursor c = VP8LRefsCursorInit(refs); in CostModelBuild()
594 if (!CostModelBuild(cost_model, xsize, cache_bits, refs)) { in BackwardReferencesHashChainDistanceOnly()
677 ok = !refs->error_; in BackwardReferencesHashChainDistanceOnly()
708 const VP8LHashChain* const hash_chain, VP8LBackwardRefs* const refs) { in BackwardReferencesHashChainFollowChosenPath() argument
721 VP8LClearBackwardRefs(refs); in BackwardReferencesHashChainFollowChosenPath()
727 VP8LBackwardRefsCursorAdd(refs, PixOrCopyCreateCopy(offset, len)); in BackwardReferencesHashChainFollowChosenPath()
746 VP8LBackwardRefsCursorAdd(refs, v); in BackwardReferencesHashChainFollowChosenPath()
[all …]
A Dbackward_references_enc.h181 void VP8LBackwardRefsInit(VP8LBackwardRefs* const refs, int block_size);
183 void VP8LBackwardRefsClear(VP8LBackwardRefs* const refs);
195 VP8LRefsCursor VP8LRefsCursorInit(const VP8LBackwardRefs* const refs);
A Dhistogram_enc.c77 void VP8LHistogramStoreRefs(const VP8LBackwardRefs* const refs, in VP8LHistogramStoreRefs() argument
79 VP8LRefsCursor c = VP8LRefsCursorInit(refs); in VP8LHistogramStoreRefs()
87 const VP8LBackwardRefs* const refs, in VP8LHistogramCreate() argument
93 VP8LHistogramStoreRefs(refs, p); in VP8LHistogramCreate()
1172 const VP8LBackwardRefs* const refs, in VP8LGetHistoImageSymbols() argument
1196 HistogramBuild(xsize, histo_bits, refs, orig_histo); in VP8LGetHistoImageSymbols()
A Dvp8l_enc.c713 const VP8LBackwardRefs* const refs, in StoreImageToBitMask() argument
725 VP8LRefsCursor c = VP8LRefsCursorInit(refs); in StoreImageToBitMask()
782 VP8LBackwardRefs* refs; in EncodeImageNoHuffman() local
801 refs = VP8LGetBackwardReferences(width, height, argb, quality, 0, in EncodeImageNoHuffman()
804 if (refs == NULL) { in EncodeImageNoHuffman()
816 VP8LHistogramStoreRefs(refs, histogram_image->histograms[0]); in EncodeImageNoHuffman()
850 err = StoreImageToBitMask(bw, width, 0, refs, histogram_symbols, in EncodeImageNoHuffman()
/AliOS-Things-master/components/vfs/
A Dvfs_inode.c85 if (node->refs > 0) { in vfs_inode_del()
89 if (node->refs == 0) { in vfs_inode_del()
108 if (node->refs > 0) in vfs_inode_del()
220 node->refs++; in vfs_inode_ref()
239 if (node->refs > 0) { in vfs_inode_unref()
240 node->refs--; in vfs_inode_unref()
243 if (node->refs == 0) { in vfs_inode_unref()
274 ret = node->refs > 0 ? 1 : 0; in vfs_inode_busy()
/AliOS-Things-master/components/SDL2/src/core/android/
A DSDL_android.c1832 LocalReferenceHolder_Cleanup(&refs); in Internal_Android_Create_AssetManager()
1858 LocalReferenceHolder_Cleanup(&refs); in Internal_Android_Create_AssetManager()
2015 LocalReferenceHolder_Cleanup(&refs); in Internal_Android_JNI_FileOpen()
2028 LocalReferenceHolder_Cleanup(&refs); in Android_JNI_FileOpen()
2033 LocalReferenceHolder_Cleanup(&refs); in Android_JNI_FileOpen()
2045 LocalReferenceHolder_Cleanup(&refs); in Android_JNI_FileOpen()
2066 LocalReferenceHolder_Cleanup(&refs); in Android_JNI_FileRead()
2107 LocalReferenceHolder_Cleanup(&refs); in Android_JNI_FileRead()
2165 LocalReferenceHolder_Cleanup(&refs); in Internal_Android_JNI_FileClose()
2415 LocalReferenceHolder_Cleanup(&refs); in Android_JNI_GetPowerInfo()
[all …]
/AliOS-Things-master/components/ramfs/internal/
A Dramfs_types.h31 uint16_t refs; /* Open count */ member
/AliOS-Things-master/components/ramfs/src/
A Dramfs.c346 new_entry->refs = 0; in ramfs_entry_dir_new()
389 new_entry->refs = 0; in ramfs_entry_new()
446 entry->refs++; in ramfs_open()
494 if (file->entry->refs > 0) { in ramfs_close()
495 file->entry->refs--; in ramfs_close()
516 if (entry->refs != 0) { in ramfs_remove()
/AliOS-Things-master/components/vfs/include/
A Dvfs_types.h70 uint8_t refs; /* refs for inode */ member
/AliOS-Things-master/components/vfs/include/aos/
A Dvfs.h80 uint8_t refs; /**< refs for inode */ member
/AliOS-Things-master/components/amp_adapter/portfiles/aos/
A Dvfs.h80 uint8_t refs; /**< refs for inode */ member
/AliOS-Things-master/components/amp_adapter/
A Dvfs.h80 uint8_t refs; /**< refs for inode */ member
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/
A DChangeLog1508 cafa1d88 Merge "Simplify backward refs calculation for low-effort."
1510 4d6d7285 Simplify backward refs calculation for low-effort.
1704 c24f8954 Simplify and speedup Backward refs computation.
2000 ca3d746e use block-based allocation for backward refs storage, and free-lists

Completed in 37 milliseconds