Home
last modified time | relevance | path

Searched refs:fs (Results 1 – 25 of 101) sorted by relevance

12345

/frameworks/av/media/libstagefright/codecs/avc/common/src/
Ddpb.cpp35 dpb->fs[num_fs] = NULL; in InitDPB()
83 …dpb->fs[num_fs] = (AVCFrameStore*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCFrameStore), 101/*D… in InitDPB()
84 if (dpb->fs[num_fs] == NULL) in InitDPB()
90 dpb->fs[num_fs]->base_dpb = dpb->decoded_picture_buffer + dpb->used_size; in InitDPB()
92 dpb->fs[num_fs]->IsReference = 0; in InitDPB()
93 dpb->fs[num_fs]->IsLongTerm = 0; in InitDPB()
94 dpb->fs[num_fs]->IsOutputted = 3; in InitDPB()
95 …dpb->fs[num_fs]->frame.RefIdx = refIdx++; /* this value will remain unchanged through out the enco… in InitDPB()
96 dpb->fs[num_fs]->frame.picType = AVC_FRAME; in InitDPB()
97 dpb->fs[num_fs]->frame.isLongTerm = 0; in InitDPB()
[all …]
Dreflist.cpp42 if ((dpb->fs[i]->IsReference == 3) && (!dpb->fs[i]->IsLongTerm)) in RefListInit()
45 if (dpb->fs[i]->FrameNum > (int)sliceHdr->frame_num) in RefListInit()
47 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum - video->MaxFrameNum; in RefListInit()
51 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum; in RefListInit()
53 dpb->fs[i]->frame.PicNum = dpb->fs[i]->FrameNumWrap; in RefListInit()
66 if ((dpb->fs[i]->IsReference == 3) && (!dpb->fs[i]->IsLongTerm)) in RefListInit()
69 if (dpb->fs[i]->FrameNum > (int)sliceHdr->frame_num) in RefListInit()
71 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum - video->MaxFrameNum; in RefListInit()
75 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum; in RefListInit()
77 dpb->fs[i]->frame.PicNum = dpb->fs[i]->FrameNumWrap; in RefListInit()
[all …]
/frameworks/native/services/surfaceflinger/RenderEngine/
DProgramCache.cpp155 Formatter fs; in generateFragmentShader() local
157 fs << "#extension GL_OES_EGL_image_external : require"; in generateFragmentShader()
161 fs << "precision mediump float;"; in generateFragmentShader()
164 fs << "uniform samplerExternalOES sampler;" in generateFragmentShader()
167 fs << "uniform sampler2D sampler;" in generateFragmentShader()
170 fs << "uniform vec4 color;"; in generateFragmentShader()
173 fs << "uniform float alphaPlane;"; in generateFragmentShader()
176 fs << "uniform mat4 colorMatrix;"; in generateFragmentShader()
178 fs << "void main(void) {" << indent; in generateFragmentShader()
180 fs << "gl_FragColor = texture2D(sampler, outTexCoords);"; in generateFragmentShader()
[all …]
/frameworks/compile/slang/tests/F_fs_types/
Dstderr.txt.expect1 fs_types.fs:4:8: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'd'
2 fs_types.fs:13:10: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'myS'
3 fs_types.fs:15:12: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'd'
4 fs_types.fs:16:12: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'e'
5 fs_types.fs:17:15: error: Builtin types > 32 bits in size are forbidden in Filterscript
6 fs_types.fs:18:7: error: Builtin types > 32 bits in size are forbidden in Filterscript
7 fs_types.fs:21:12: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'l'
8 fs_types.fs:22:10: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'm'
9 fs_types.fs:23:13: error: Builtin types > 32 bits in size are forbidden in Filterscript
10 fs_types.fs:24:7: error: Builtin types > 32 bits in size are forbidden in Filterscript
[all …]
/frameworks/compile/mclinker/lib/Support/
DFileSystem.cpp16 bool mcld::sys::fs::exists(const Path& pPath) { in exists()
17 mcld::sys::fs::FileStatus file_status; in exists()
18 mcld::sys::fs::detail::status(pPath, file_status); in exists()
19 return (file_status.type() != mcld::sys::fs::StatusError) && in exists()
20 (file_status.type() != mcld::sys::fs::FileNotFound); in exists()
23 bool mcld::sys::fs::is_directory(const Path& pPath) { in is_directory()
26 return (file_status.type() == mcld::sys::fs::DirectoryFile); in is_directory()
DFileOutputBuffer.cpp15 FileOutputBuffer::FileOutputBuffer(llvm::sys::fs::mapped_file_region* pRegion, in FileOutputBuffer()
32 ec = llvm::sys::fs::resize_file(pFileHandle.handler(), pSize); in create()
36 std::unique_ptr<llvm::sys::fs::mapped_file_region> mapped_file( in create()
37 new llvm::sys::fs::mapped_file_region(pFileHandle.handler(), in create()
38 llvm::sys::fs::mapped_file_region::readwrite, pSize, 0, ec)); in create()
DFileHandle.cpp76 bool FileHandle::open(const sys::fs::Path& pPath, in open()
86 m_Handler = sys::fs::detail::open(pPath, oflag(pMode)); in open()
88 m_Handler = sys::fs::detail::open(pPath, oflag(pMode), in open()
150 if (sys::fs::detail::ftruncate(m_Handler, pSize) == -1) { in truncate()
169 sys::fs::detail::pread(m_Handler, pMemBuffer, pLength, pStartOffset); in read()
191 sys::fs::detail::pwrite(m_Handler, pMemBuffer, pLength, pStartOffset); in write()
/frameworks/compile/mclinker/include/mcld/MC/
DSearchDirs.h44 explicit SearchDirs(const sys::fs::Path& pSysRoot);
49 sys::fs::Path* find(const std::string& pNamespec,
52 const sys::fs::Path* find(const std::string& pNamespec,
55 void setSysRoot(const sys::fs::Path& pSysRoot) { m_SysRoot = pSysRoot; } in setSysRoot()
56 const sys::fs::Path& sysroot() const { return m_SysRoot; } in sysroot()
69 bool insert(const sys::fs::Path& pDirectory);
73 sys::fs::Path m_SysRoot;
DCommandAction.h30 InputFileAction(unsigned int pPosition, const sys::fs::Path& pPath);
34 const sys::fs::Path& path() const { return m_Path; } in path()
39 sys::fs::Path m_Path;
61 BitcodeAction(unsigned int pPosition, const sys::fs::Path& pPath);
63 const sys::fs::Path& path() const { return m_Path; } in path()
68 sys::fs::Path m_Path;
DInput.h51 const sys::fs::Path& pPath,
56 const sys::fs::Path& pPath,
67 const sys::fs::Path& path() const { return m_Path; } in path()
69 void setPath(const sys::fs::Path& pPath) { m_Path = pPath; } in setPath()
112 sys::fs::Path m_Path;
DInputBuilder.h56 const sys::fs::Path& pPath,
61 const sys::fs::Path& pPath,
105 const sys::fs::Path& pPath,
120 const sys::fs::Path& pPath,
/frameworks/compile/mclinker/lib/MC/
DMCLDDirectory.cpp30 sys::fs::detail::open_dir(*this); in MCLDDirectory()
44 sys::fs::detail::open_dir(*this); in MCLDDirectory()
58 sys::fs::detail::open_dir(*this); in MCLDDirectory()
72 sys::fs::detail::open_dir(*this); in assign()
73 Directory::m_FileStatus = sys::fs::FileStatus(); in assign()
74 Directory::m_SymLinkStatus = sys::fs::FileStatus(); in assign()
87 void MCLDDirectory::setSysroot(const sys::fs::Path& pSysroot) { in setSysroot()
93 sys::fs::detail::canonicalize(Directory::m_Path.native()); in setSysroot()
94 sys::fs::detail::open_dir(*this); in setSysroot()
DSearchDirs.cpp34 SearchDirs::SearchDirs(const sys::fs::Path& pSysRoot) : m_SysRoot(pSysRoot) { in SearchDirs()
66 bool SearchDirs::insert(const sys::fs::Path& pPath) { in insert()
70 mcld::sys::fs::Path* SearchDirs::find(const std::string& pNamespec, in find()
107 if (mcld::sys::fs::detail::shared_library_extension == in find()
121 mcld::sys::fs::detail::static_library_extension == in find()
135 const mcld::sys::fs::Path* SearchDirs::find(const std::string& pNamespec, in find()
172 if (mcld::sys::fs::detail::shared_library_extension == in find()
186 mcld::sys::fs::detail::static_library_extension == in find()
DContextFactory.cpp18 : UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>(pNum) { in ContextFactory()
24 LDContext* ContextFactory::produce(const sys::fs::Path& pPath) { in produce()
27 result = UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>::allocate(); in produce()
35 return produce(sys::fs::Path(pPath)); in produce()
DCommandAction.cpp26 const sys::fs::Path& pPath) in InputFileAction()
50 const sys::fs::Path* path = NULL; in activate()
81 BitcodeAction::BitcodeAction(unsigned int pPosition, const sys::fs::Path& pPath) in BitcodeAction()
223 pBuilder.createNode<InputTree::Positional>("defsym", sys::fs::Path("NAN")); in activate()
247 sys::fs::Path path(m_FileName); in activate()
250 const sys::fs::Path* res = m_SearchDirs.find(m_FileName, Input::Script); in activate()
/frameworks/compile/mclinker/include/mcld/Support/
DRealPath.h17 namespace fs {
52 struct less<mcld::sys::fs::RealPath>
53 : public binary_function<mcld::sys::fs::RealPath,
54 mcld::sys::fs::RealPath,
56 bool operator()(const mcld::sys::fs::RealPath& pX,
57 const mcld::sys::fs::RealPath& pY) const {
DDirectory.h22 namespace fs {
32 friend mcld::sys::fs::PathCache::entry_type* detail::bring_one_into_cache(
90 mcld::sys::fs::Path m_Path;
95 mcld::sys::fs::PathCache m_Cache;
110 friend mcld::sys::fs::PathCache::entry_type* detail::bring_one_into_cache(
115 typedef mcld::sys::fs::PathCache DirCache;
DPath.h27 namespace fs {
159 struct less<mcld::sys::fs::Path>
160 : public binary_function<mcld::sys::fs::Path, mcld::sys::fs::Path, bool> {
161 bool operator()(const mcld::sys::fs::Path& pX,
162 const mcld::sys::fs::Path& pY) const {
/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/
DLowStorageTest.java83 FileOutputStream fs = in fillupdisk() local
87 fs.write(buf); in fillupdisk()
88 fs.flush(); in fillupdisk()
93 fs.write(buf); in fillupdisk()
94 fs.flush(); in fillupdisk()
95 fs.close(); in fillupdisk()
/frameworks/compile/slang/tests/F_fs_ptr/
Dstderr.txt.expect1 fs_ptr.fs:4:6: error: Pointers are forbidden in Filterscript: 'i'
2 fs_ptr.fs:16:9: error: Pointers are forbidden in Filterscript: 'c'
3 fs_ptr.fs:33:17: error: Pointers are forbidden in Filterscript: 'ain'
/frameworks/compile/slang/tests/F_fs_oldkernel/
Dstderr.txt.expect1 fs_oldkernel.fs:4:17: error: Pointers are forbidden in Filterscript: 'ain'
2 fs_oldkernel.fs:7:1: error: Pointers are forbidden in Filterscript: 'bad_kernel'
3 fs_oldkernel.fs:7:22: error: Pointers are forbidden in Filterscript: 'ain'
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerStressTest.java157 StatFs fs = new StatFs(CACHE_DIR); in testDownloadToCacheWithAlmostFullCache() local
158 int blockSize = fs.getBlockSize(); in testDownloadToCacheWithAlmostFullCache()
159 int availableBlocks = fs.getAvailableBlocks(); in testDownloadToCacheWithAlmostFullCache()
177 while (fs.getAvailableBlocks() >= remainderSizeBlocks) { in testDownloadToCacheWithAlmostFullCache()
179 fs.restat(CACHE_DIR); in testDownloadToCacheWithAlmostFullCache()
192 long spaceAvailable = fs.getAvailableBlocks() * blockSize; in testDownloadToCacheWithAlmostFullCache()
/frameworks/av/cmds/screenrecord/
DProgram.cpp114 GLuint vs, fs; in createProgram() local
121 err = compileShader(GL_FRAGMENT_SHADER, fragmentShader, &fs); in createProgram()
128 err = linkShaderProgram(vs, fs, &program); in createProgram()
130 glDeleteShader(fs); in createProgram()
169 status_t Program::linkShaderProgram(GLuint vs, GLuint fs, GLuint* outPgm) { in linkShaderProgram() argument
177 glAttachShader(program, fs); in linkShaderProgram()
/frameworks/compile/mclinker/lib/Script/
DGroupCmd.cpp95 sys::fs::Path path; in activate()
106 if (!sys::fs::exists(path)) { in activate()
108 sys::fs::Path* p = in activate()
115 if (!sys::fs::exists(path)) in activate()
123 const sys::fs::Path* path = NULL; in activate()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DFeatureAssembly.java104 String fs = s; in augmentFeatureInputString() local
108 fs = fs + "+" + mAggregatorManager.getDataMap(f).get(f); in augmentFeatureInputString()
110 return fs; in augmentFeatureInputString()

12345