Home
last modified time | relevance | path

Searched refs:private_handle_t (Results 1 – 25 of 258) sorted by relevance

1234567891011

/hardware/qcom/display/msm8996/libgralloc/
Dmapper.cpp59 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_metadata()
64 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map_metadata()
86 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
94 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map()
95 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map()
131 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
171 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
185 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
198 private_handle_t* hnd) in terminateBuffer()
217 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
[all …]
Dgpu.cpp95 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer()
99 flags |= private_handle_t::PRIV_FLAGS_INTERNAL_ONLY; in gralloc_alloc_buffer()
103 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer()
107 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer()
111 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer()
115 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer()
119 flags |= private_handle_t::PRIV_FLAGS_HW_TEXTURE; in gralloc_alloc_buffer()
123 flags |= private_handle_t::PRIV_FLAGS_SECURE_DISPLAY; in gralloc_alloc_buffer()
127 flags |= private_handle_t::PRIV_FLAGS_TILE_RENDERED; in gralloc_alloc_buffer()
131 flags |= private_handle_t::PRIV_FLAGS_UBWC_ALIGNED; in gralloc_alloc_buffer()
[all …]
/hardware/qcom/display/msm8226/libgralloc/
Dmapper.cpp61 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
63 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map()
64 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map()
98 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
99 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap()
133 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
145 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer()
160 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
169 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer()
180 private_handle_t* hnd) in terminateBuffer()
[all …]
Dgpu.cpp98 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer()
102 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601; in gralloc_alloc_buffer()
107 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
116 flags |= private_handle_t::PRIV_FLAGS_ITU_R_709; in gralloc_alloc_buffer()
119 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
128 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer()
132 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer()
136 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer()
140 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer()
144 flags |= private_handle_t::PRIV_FLAGS_HW_TEXTURE; in gralloc_alloc_buffer()
[all …]
/hardware/qcom/display/msm8084/libgralloc/
Dmapper.cpp61 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
63 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map()
64 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map()
98 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
99 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap()
133 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
145 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer()
160 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
169 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer()
180 private_handle_t* hnd) in terminateBuffer()
[all …]
Dgpu.cpp99 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer()
103 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601; in gralloc_alloc_buffer()
108 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
117 flags |= private_handle_t::PRIV_FLAGS_ITU_R_709; in gralloc_alloc_buffer()
120 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
129 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer()
133 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer()
137 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer()
141 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer()
145 flags |= private_handle_t::PRIV_FLAGS_HW_TEXTURE; in gralloc_alloc_buffer()
[all …]
/hardware/qcom/display/msm8998/libgralloc/
Dmapper.cpp59 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_metadata()
64 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map_metadata()
86 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
94 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map()
95 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map()
131 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
171 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
185 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
198 private_handle_t* hnd) in terminateBuffer()
217 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
[all …]
Dgpu.cpp106 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer()
110 flags |= private_handle_t::PRIV_FLAGS_INTERNAL_ONLY; in gralloc_alloc_buffer()
114 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer()
118 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer()
122 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer()
126 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer()
130 flags |= private_handle_t::PRIV_FLAGS_HW_TEXTURE; in gralloc_alloc_buffer()
134 flags |= private_handle_t::PRIV_FLAGS_SECURE_DISPLAY; in gralloc_alloc_buffer()
138 flags |= private_handle_t::PRIV_FLAGS_TILE_RENDERED; in gralloc_alloc_buffer()
142 flags |= private_handle_t::PRIV_FLAGS_UBWC_ALIGNED; in gralloc_alloc_buffer()
[all …]
Dgralloc_priv.h191 struct private_handle_t : public native_handle { struct
193 struct private_handle_t {
252 return ((sizeof(private_handle_t) - sizeof(native_handle_t)) / in sNumInts() argument
257 private_handle_t(int fd, unsigned int size, int flags, int bufferType, in private_handle_t() argument
271 private_handle_t(int fd, unsigned int size, int flags, int bufferType, in private_handle_t() function
274 private_handle_t(fd, size, flags, bufferType, format, width, height) in private_handle_t()
281 private_handle_t(int fd, unsigned int size, int flags, int bufferType, in private_handle_t() argument
285 private_handle_t(fd, size, flags, bufferType, format, width, height, in private_handle_t()
292 ~private_handle_t() { in ~private_handle_t() argument
297 const private_handle_t* hnd = (const private_handle_t*)h; in validate() argument
[all …]
Dgr.h36 struct private_handle_t;
51 int terminateBuffer(gralloc_module_t const* module, private_handle_t* hnd);
72 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage);
73 void free_buffer(private_handle_t *hnd);
74 int getYUVPlaneInfo(private_handle_t* pHnd, struct android_ycbcr* ycbcr);
75 int getRgbDataAddress(private_handle_t* pHnd, void** rgb_data);
132 void getAlignedWidthAndHeight(const private_handle_t *hnd, int& aligned_w, int& aligned_h);
149 void getUnalignedWidthAndHeight(const private_handle_t *hnd, int& unaligned_w,
/hardware/qcom/display/msm8909/libgralloc/
Dmapper.cpp65 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
71 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map()
72 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map()
87 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map()
110 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
111 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap()
146 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
158 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer()
174 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
183 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer()
[all …]
Dgpu.cpp95 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer()
98 flags |= private_handle_t::PRIV_FLAGS_INTERNAL_ONLY; in gralloc_alloc_buffer()
102 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601; in gralloc_alloc_buffer()
107 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
116 flags |= private_handle_t::PRIV_FLAGS_ITU_R_709; in gralloc_alloc_buffer()
119 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
128 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer()
132 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer()
136 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer()
140 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer()
[all …]
/hardware/libhardware/modules/gralloc/
Dmapper.cpp42 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
43 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map()
62 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
63 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap()
80 if (private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
118 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer()
130 if (private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
133 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer()
141 private_handle_t* hnd) in mapBuffer()
148 private_handle_t* hnd) in terminateBuffer()
[all …]
Dgralloc_priv.h35 struct private_handle_t;
40 private_handle_t* framebuffer;
59 struct private_handle_t : public native_handle { struct
61 struct private_handle_t {
83 return (((sizeof(private_handle_t) - sizeof(native_handle_t))/sizeof(int)) - sNumFds); in sNumInts() argument
88 private_handle_t(int fd, int size, int flags) : in private_handle_t() function
96 ~private_handle_t() { in ~private_handle_t() argument
101 const private_handle_t* hnd = (const private_handle_t*)h; in validate() argument
/hardware/qcom/display/msm8994/libgralloc/
Dmapper.cpp59 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_metadata()
64 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map_metadata()
86 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
94 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map()
95 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map()
131 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
171 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
185 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
198 private_handle_t* hnd) in terminateBuffer()
217 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
[all …]
Dgpu.cpp94 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer()
98 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601; in gralloc_alloc_buffer()
103 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
112 flags |= private_handle_t::PRIV_FLAGS_ITU_R_709; in gralloc_alloc_buffer()
115 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
124 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer()
128 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer()
132 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer()
136 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer()
140 flags |= private_handle_t::PRIV_FLAGS_HW_TEXTURE; in gralloc_alloc_buffer()
[all …]
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_buf_mgr.cpp99 handles_map_.insert(std::pair<private_handle_t const *, int>( in AllocateBuffers()
100 reinterpret_cast<private_handle_t const *>(out_buffers[i]), 1)); in AllocateBuffers()
124 private_handle_t const *input = reinterpret_cast<private_handle_t const *>(inbuffer); in CreateSharedHandle()
136 private_handle_t *out_hnd = new private_handle_t( in CreateSharedHandle()
145 gralloc1_error_t BufferManager::FreeBuffer(private_handle_t const *hnd) { in FreeBuffer()
158 private_handle_t *handle = const_cast<private_handle_t *>(hnd); in FreeBuffer()
164 gralloc1_error_t BufferManager::MapBuffer(private_handle_t const *handle) { in MapBuffer()
165 private_handle_t *hnd = const_cast<private_handle_t *>(handle); in MapBuffer()
183 gralloc1_error_t BufferManager::RetainBuffer(private_handle_t const *hnd) { in RetainBuffer()
195 handles_map_.insert(std::pair<private_handle_t const *, int>(hnd, 1)); in RetainBuffer()
[all …]
Dgr_buf_mgr.h39 gralloc1_error_t RetainBuffer(private_handle_t const *hnd);
40 gralloc1_error_t ReleaseBuffer(private_handle_t const *hnd);
41 gralloc1_error_t LockBuffer(const private_handle_t *hnd, gralloc1_producer_usage_t prod_usage,
43 gralloc1_error_t UnlockBuffer(const private_handle_t *hnd);
47 gralloc1_error_t MapBuffer(private_handle_t const *hnd);
48 gralloc1_error_t FreeBuffer(private_handle_t const *hnd);
67 std::unordered_map<private_handle_t const *, int> handles_map_ = {};
Dgr_priv_handle.h34 #define PRIV_HANDLE_CONST(exp) static_cast<const private_handle_t *>(exp)
36 struct private_handle_t : public native_handle_t { struct
98 return ((sizeof(private_handle_t) - sizeof(native_handle_t)) / sizeof(int)) - kNumFds; in NumInts() argument
101 private_handle_t(int fd, unsigned int size, int flags, int buf_type, int format, int width, in private_handle_t() argument
126 private_handle_t(int fd, unsigned int size, int flags, int buf_type, int format, int width, in private_handle_t() function
128 : private_handle_t(fd, size, flags, buf_type, format, width, height) { in private_handle_t()
134 private_handle_t(int fd, unsigned int size, int flags, int buf_type, int format, int width, in private_handle_t() argument
138 : private_handle_t(fd, size, flags, buf_type, format, width, height, meta_fd, meta_offset in private_handle_t()
146 ~private_handle_t() { in ~private_handle_t() argument
152 const private_handle_t *hnd = (const private_handle_t *)h; in validate() argument
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_buf_mgr.cpp99 handles_map_.insert(std::pair<private_handle_t const *, int>( in AllocateBuffers()
100 reinterpret_cast<private_handle_t const *>(out_buffers[i]), 1)); in AllocateBuffers()
124 private_handle_t const *input = reinterpret_cast<private_handle_t const *>(inbuffer); in CreateSharedHandle()
136 private_handle_t *out_hnd = new private_handle_t( in CreateSharedHandle()
145 gralloc1_error_t BufferManager::FreeBuffer(private_handle_t const *hnd) { in FreeBuffer()
158 private_handle_t *handle = const_cast<private_handle_t *>(hnd); in FreeBuffer()
164 gralloc1_error_t BufferManager::MapBuffer(private_handle_t const *handle) { in MapBuffer()
165 private_handle_t *hnd = const_cast<private_handle_t *>(handle); in MapBuffer()
183 gralloc1_error_t BufferManager::RetainBuffer(private_handle_t const *hnd) { in RetainBuffer()
195 handles_map_.insert(std::pair<private_handle_t const *, int>(hnd, 1)); in RetainBuffer()
[all …]
Dgr_buf_mgr.h39 gralloc1_error_t RetainBuffer(private_handle_t const *hnd);
40 gralloc1_error_t ReleaseBuffer(private_handle_t const *hnd);
41 gralloc1_error_t LockBuffer(const private_handle_t *hnd, gralloc1_producer_usage_t prod_usage,
43 gralloc1_error_t UnlockBuffer(const private_handle_t *hnd);
47 gralloc1_error_t MapBuffer(private_handle_t const *hnd);
48 gralloc1_error_t FreeBuffer(private_handle_t const *hnd);
66 std::unordered_map<private_handle_t const *, int> handles_map_ = {};
/hardware/qcom/display/msm8960/libgralloc/
Dmapper.cpp60 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
62 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map()
63 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map()
94 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
95 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap()
129 if (private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
141 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer()
156 if (private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
165 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer()
176 private_handle_t* hnd) in terminateBuffer()
[all …]
Dgpu.cpp96 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer()
99 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_BLOCK; in gralloc_alloc_buffer()
102 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_CC; in gralloc_alloc_buffer()
110 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
114 flags |= private_handle_t::PRIV_FLAGS_ITU_R_709; in gralloc_alloc_buffer()
116 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
119 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601; in gralloc_alloc_buffer()
124 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer()
128 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer()
132 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer()
[all …]
/hardware/qcom/display/msm8960/libgenlock/
Dgenlock.cpp71 if (private_handle_t::validate(buffer_handle)) { in perform_lock_unlock_operation()
76 private_handle_t *hnd = reinterpret_cast<private_handle_t*> in perform_lock_unlock_operation()
78 if ((hnd->flags & private_handle_t::PRIV_FLAGS_UNSYNCHRONIZED) == 0) { in perform_lock_unlock_operation()
146 if (private_handle_t::validate(buffer_handle)) { in genlock_create_lock()
151 private_handle_t *hnd = reinterpret_cast<private_handle_t*>(buffer_handle); in genlock_create_lock()
152 if ((hnd->flags & private_handle_t::PRIV_FLAGS_UNSYNCHRONIZED) == 0) { in genlock_create_lock()
201 if (private_handle_t::validate(buffer_handle)) { in genlock_release_lock()
206 private_handle_t *hnd = reinterpret_cast<private_handle_t*>(buffer_handle); in genlock_release_lock()
207 if ((hnd->flags & private_handle_t::PRIV_FLAGS_UNSYNCHRONIZED) == 0) { in genlock_release_lock()
231 if (private_handle_t::validate(buffer_handle)) { in genlock_attach_lock()
[all …]
/hardware/qcom/display/msm8998/libqdutils/
DqdMetaData.h138 struct private_handle_t;
139 int setMetaData(struct private_handle_t *handle, enum DispParamType paramType,
142 int getMetaData(struct private_handle_t *handle, enum DispFetchParamType paramType,
145 int copyMetaData(struct private_handle_t *src, struct private_handle_t *dst);
147 int clearMetaData(struct private_handle_t *handle, enum DispParamType paramType);

1234567891011