Home
last modified time | relevance | path

Searched refs:buffers (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES11IdImpl.java38 public void glGenBuffers(int n, int[] buffers, int offset) { in glGenBuffers() argument
41 buffers[offset + n] = sNextId++; in glGenBuffers()
54 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { in glDeleteBuffers() argument
56 gl.glDeleteBuffers(n, buffers, offset); in glDeleteBuffers()
61 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { in glDeleteFramebuffers() argument
63 gl11ep.glDeleteFramebuffersOES(n, buffers, offset); in glDeleteFramebuffers()
DGLES20IdImpl.java19 public void glGenBuffers(int n, int[] buffers, int offset) { in glGenBuffers() argument
20 GLES20.glGenBuffers(n, buffers, offset); in glGenBuffers()
32 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { in glDeleteBuffers() argument
33 GLES20.glDeleteBuffers(n, buffers, offset); in glDeleteBuffers()
38 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { in glDeleteFramebuffers() argument
39 GLES20.glDeleteFramebuffers(n, buffers, offset); in glDeleteFramebuffers()
DGLId.java26 public void glGenBuffers(int n, int[] buffers, int offset); in glGenBuffers() argument
30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); in glDeleteBuffers() argument
32 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset); in glDeleteFramebuffers() argument
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20IdImpl.java19 public void glGenBuffers(int n, int[] buffers, int offset) { in glGenBuffers() argument
20 GLES20.glGenBuffers(n, buffers, offset); in glGenBuffers()
32 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { in glDeleteBuffers() argument
33 GLES20.glDeleteBuffers(n, buffers, offset); in glDeleteBuffers()
38 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { in glDeleteFramebuffers() argument
39 GLES20.glDeleteFramebuffers(n, buffers, offset); in glDeleteFramebuffers()
DGLId.java26 public void glGenBuffers(int n, int[] buffers, int offset); in glGenBuffers() argument
30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); in glDeleteBuffers() argument
32 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset); in glDeleteFramebuffers() argument
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dsparse_table_dict_content.h33 AK_FORCE_INLINE SparseTableDictContent(const ReadWriteByteArrayView *const buffers, in SparseTableDictContent() argument
35 : mExpandableLookupTableBuffer(buffers[LOOKUP_TABLE_BUFFER_INDEX], in SparseTableDictContent()
37 mExpandableAddressTableBuffer(buffers[ADDRESS_TABLE_BUFFER_INDEX], in SparseTableDictContent()
39 mExpandableContentBuffer(buffers[CONTENT_BUFFER_INDEX], in SparseTableDictContent()
Dlanguage_model_dict_content.h135 LanguageModelDictContent(const ReadWriteByteArrayView *const buffers, in LanguageModelDictContent() argument
137 : mTrieMap(buffers[TRIE_MAP_BUFFER_INDEX]), in LanguageModelDictContent()
138 mGlobalCounters(buffers[GLOBAL_COUNTERS_BUFFER_INDEX]), in LanguageModelDictContent()
Dshortcut_dict_content.h33 ShortcutDictContent(const ReadWriteByteArrayView *const buffers) in ShortcutDictContent() argument
34 : SparseTableDictContent(buffers, Ver4DictConstants::SHORTCUT_ADDRESS_TABLE_BLOCK_SIZE, in ShortcutDictContent()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_dict_buffers.cpp48 std::vector<ReadWriteByteArrayView> buffers; in openVer4DictBuffers() local
54 buffers.push_back(buffer.subView(position, bufferSize)); in openVer4DictBuffers()
61 if (buffers.size() != Ver4DictConstants::NUM_OF_CONTENT_BUFFERS_IN_BODY_FILE) { in openVer4DictBuffers()
66 formatVersion, buffers)); in openVer4DictBuffers()
Dver4_patricia_trie_writing_helper.h34 Ver4PatriciaTrieWritingHelper(Ver4DictBuffers *const buffers) in Ver4PatriciaTrieWritingHelper() argument
35 : mBuffers(buffers) {} in Ver4PatriciaTrieWritingHelper()
Dver4_patricia_trie_node_writer.h41 Ver4DictBuffers *const buffers, const PtNodeReader *const ptNodeReader, in Ver4PatriciaTrieNodeWriter() argument
44 : mTrieBuffer(trieBuffer), mBuffers(buffers), in Ver4PatriciaTrieNodeWriter()
Dver4_patricia_trie_policy.h44 Ver4PatriciaTriePolicy(Ver4DictBuffers::Ver4DictBuffersPtr buffers) in Ver4PatriciaTriePolicy() argument
45 : mBuffers(std::move(buffers)), mHeaderPolicy(mBuffers->getHeaderPolicy()), in Ver4PatriciaTriePolicy()
/packages/services/Car/surround_view/service-impl/
DSurroundView2dSession.cpp73 const hidl_vec<BufferDesc_1_1>& buffers) { in deliverFrame_1_1() argument
74 LOG(INFO) << "Received " << buffers.size() << " frames from the camera"; in deliverFrame_1_1()
81 mCamera->doneWithFrame_1_1(buffers); in deliverFrame_1_1()
86 if (buffers.size() != kNumFrames) { in deliverFrame_1_1()
87 LOG(ERROR) << "The number of incoming frames is " << buffers.size() in deliverFrame_1_1()
98 mSession->copyFromBufferToPointers(buffers[i], in deliverFrame_1_1()
103 mCamera->doneWithFrame_1_1(buffers); in deliverFrame_1_1()
DSurroundView3dSession.cpp77 const hidl_vec<BufferDesc_1_1>& buffers) { in deliverFrame_1_1() argument
78 LOG(INFO) << "Received " << buffers.size() << " frames from the camera"; in deliverFrame_1_1()
86 mCamera->doneWithFrame_1_1(buffers); in deliverFrame_1_1()
91 if (buffers.size() != kNumFrames) { in deliverFrame_1_1()
92 LOG(ERROR) << "The number of incoming frames is " << buffers.size() in deliverFrame_1_1()
103 mSession->copyFromBufferToPointers(buffers[i], in deliverFrame_1_1()
108 mCamera->doneWithFrame_1_1(buffers); in deliverFrame_1_1()
/packages/services/Car/evs/sampleDriver/
DEvsV4lCamera.cpp309 Return<EvsResult> EvsV4lCamera::doneWithFrame_1_1(const hidl_vec<BufferDesc_1_1>& buffers) { in doneWithFrame_1_1() argument
312 for (auto&& buffer : buffers) { in doneWithFrame_1_1()
453 EvsV4lCamera::importExternalBuffers(const hidl_vec<BufferDesc_1_1>& buffers, in importExternalBuffers() argument
465 auto numBuffersToAdd = buffers.size(); in importExternalBuffers()
485 auto& b = buffers[i]; in importExternalBuffers()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_writing_helper.h47 Ver4PatriciaTrieWritingHelper(Ver4DictBuffers *const buffers) in Ver4PatriciaTrieWritingHelper() argument
48 : mBuffers(buffers) {} in Ver4PatriciaTrieWritingHelper()
Dver4_patricia_trie_node_writer.h60 Ver4DictBuffers *const buffers, const HeaderPolicy *const headerPolicy, in Ver4PatriciaTrieNodeWriter() argument
64 : mTrieBuffer(trieBuffer), mBuffers(buffers), mHeaderPolicy(headerPolicy), in Ver4PatriciaTrieNodeWriter()
Dver4_patricia_trie_policy.h66 Ver4PatriciaTriePolicy(Ver4DictBuffers::Ver4DictBuffersPtr buffers) in Ver4PatriciaTriePolicy() argument
67 : mBuffers(std::move(buffers)), mHeaderPolicy(mBuffers->getHeaderPolicy()), in Ver4PatriciaTriePolicy()
/packages/services/BuiltInPrintService/jni/plugins/
Dplugin_pcl.c65 char *buffers[MAX_SEND_BUFFS]; member
139 if (msg.param.end_page.buffers[i] != NULL) { in _send_thread()
140 free(msg.param.end_page.buffers[i]); in _send_thread()
466 msg.param.end_page.buffers[i] = buff_pool[i]; in _print_page()
/packages/services/Car/surround_view/service-impl/mock-evs/
DMockEvsCamera.cpp189 const hidl_vec<BufferDesc_1_1>& buffers, in importExternalBuffers() argument
193 (void)buffers; in importExternalBuffers()
/packages/services/Car/evs/manager/1.1/
DVirtualCamera.cpp592 const hardware::hidl_vec<BufferDesc_1_1>& buffers) { in doneWithFrame_1_1() argument
594 for (auto&& buffer : buffers) { in doneWithFrame_1_1()
873 VirtualCamera::importExternalBuffers(const hidl_vec<BufferDesc_1_1>& buffers, in importExternalBuffers() argument
889 if (!pHwCamera->changeFramesInFlight(buffers, &delta)) { in importExternalBuffers()
DHalCamera.cpp171 bool HalCamera::changeFramesInFlight(const hidl_vec<BufferDesc_1_1>& buffers, in changeFramesInFlight() argument
174 if (buffers.size() < 1) { in changeFramesInFlight()
190 mHwCamera->importExternalBuffers(buffers, in changeFramesInFlight()
/packages/services/Car/evs/apps/default/
DStreamHandler.cpp211 Return<void> StreamHandler::deliverFrame_1_1(const hidl_vec<BufferDesc_1_1>& buffers) { in deliverFrame_1_1() argument
216 BufferDesc_1_1 bufDesc = buffers[0]; in deliverFrame_1_1()
/packages/services/Car/evs/sepolicy/
Devs_app.te17 # Allow use of gralloc buffers and EGL
Devs_driver.te11 # Allow use of USB devices, gralloc buffers, and surface flinger

12