/hardware/libhardware/include/hardware/ |
D | camera.h | 74 int (*dequeue_buffer)(struct preview_stream_ops* w, 76 int (*enqueue_buffer)(struct preview_stream_ops* w, 78 int (*cancel_buffer)(struct preview_stream_ops* w, 80 int (*set_buffer_count)(struct preview_stream_ops* w, int count); 82 int w, int h, int format); 83 int (*set_crop)(struct preview_stream_ops *w, 85 int (*set_usage)(struct preview_stream_ops* w, int usage); 86 int (*set_swap_interval)(struct preview_stream_ops *w, int interval); 87 int (*get_min_undequeued_buffer_count)(const struct preview_stream_ops *w, 89 int (*lock_buffer)(struct preview_stream_ops* w, [all …]
|
D | gralloc.h | 230 int l, int t, int w, int h, 269 int l, int t, int w, int h, 284 int l, int t, int w, int h, 314 int l, int t, int w, int h, 343 uint32_t w, uint32_t h, int32_t format, int usage, 376 int w, int h, int format, int usage,
|
D | camera2.h | 81 int (*dequeue_buffer)(const struct camera2_stream_ops* w, 96 int (*enqueue_buffer)(const struct camera2_stream_ops* w, 102 int (*cancel_buffer)(const struct camera2_stream_ops* w, 108 int (*set_crop)(const struct camera2_stream_ops *w, 167 int (*acquire_buffer)(const struct camera2_stream_in_ops *w, 172 int (*release_buffer)(const struct camera2_stream_in_ops *w,
|
/hardware/qcom/display/msm8960/libtilerenderer/ |
D | tilerenderer.cpp | 59 int l = left, t = (height - bottom), w = (right - left), h = (bottom - top), preserve = 0; in startTileRendering() local 67 if (w > width || h > height) { in startTileRendering() 68 w = (w > width) ? width : w; in startTileRendering() 77 glStartTilingQCOM(l, t, w, h, GL_COLOR_BUFFER_BIT0_QCOM); in startTileRendering() 79 glStartTilingQCOM(l, t, w, h, GL_NONE); in startTileRendering()
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | overlayUtils.h | 158 w(0), h(0), in Dim() 162 w(_w), h(_h) {} in Dim() 165 w(_w), h(_h), in Dim() 168 return (x+w <= _w && y+h <= _h); in check() 174 d.w == w && d.h == h && 185 uint32_t w; member 193 Whf() : w(0), h(0), format(0), size(0) {} in Whf() 195 w(wi), h(he), format(f), size(0) {} in Whf() 197 w(wi), h(he), format(f), size(s) {} in Whf() 200 return whf.w == w && whf.h == h && [all …]
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_buf_descriptor.h | 40 BufferDescriptor(int w, int h, int f) in BufferDescriptor() argument 41 : width_(w), in BufferDescriptor() 48 BufferDescriptor(int w, int h, int f, gralloc1_producer_usage_t prod_usage, in BufferDescriptor() argument 50 : width_(w), in BufferDescriptor() 61 void SetDimensions(int w, int h) { in SetDimensions() argument 62 width_ = w; in SetDimensions()
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_buf_descriptor.h | 41 BufferDescriptor(int w, int h, int f) in BufferDescriptor() argument 42 : width_(w), in BufferDescriptor() 49 BufferDescriptor(int w, int h, int f, gralloc1_producer_usage_t prod_usage, in BufferDescriptor() argument 51 : width_(w), in BufferDescriptor() 62 void SetDimensions(int w, int h) { in SetDimensions() argument 63 width_ = w; in SetDimensions()
|
/hardware/qcom/display/msm8909/gralloc/ |
D | gr_buf_descriptor.h | 41 BufferDescriptor(int w, int h, int f) in BufferDescriptor() argument 42 : width_(w), in BufferDescriptor() 49 BufferDescriptor(int w, int h, int f, gralloc1_producer_usage_t prod_usage, in BufferDescriptor() argument 51 : width_(w), in BufferDescriptor() 62 void SetDimensions(int w, int h) { in SetDimensions() argument 63 width_ = w; in SetDimensions()
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_buf_descriptor.h | 40 BufferDescriptor(int w, int h, int f) in BufferDescriptor() argument 41 : width_(w), in BufferDescriptor() 48 BufferDescriptor(int w, int h, int f, gralloc1_producer_usage_t prod_usage, in BufferDescriptor() argument 50 : width_(w), in BufferDescriptor() 61 void SetDimensions(int w, int h) { in SetDimensions() argument 62 width_ = w; in SetDimensions()
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayMdssRot.cpp | 81 return utils::Whf(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h, in getDstWhf() 87 mRotInfo.dst_rect.w, mRotInfo.dst_rect.h); in getDstDimensions() 117 mRotInfo.src.width = whf.w; in setSource() 124 mRotInfo.src_rect.w = crop.w; in setCrop() 150 utils::swap(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h); in doTransform() 155 mRotInfo.src_rect.w,mRotInfo.src_rect.h); in commit() 162 mRotInfo.src_rect.w = adjCrop.w; in commit() 167 mRotInfo.dst_rect.w = mDownscale ? in commit() 168 mRotInfo.src_rect.w / mDownscale : mRotInfo.src_rect.w; in commit() 311 ovutils::Whf destWhf(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h, in calcOutputBufSize() [all …]
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_IfaceManager.cpp | 437 IPACM_Wan *w; in create_iface_instance() local 440 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, param->mac_addr); in create_iface_instance() 441 if (w->rx_prop == NULL && w->tx_prop == NULL) in create_iface_instance() 446 w->delete_iface(); in create_iface_instance() 452 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, NULL); in create_iface_instance() 454 IPACM_EvtDispatcher::registr(IPA_ADDR_ADD_EVENT, w); in create_iface_instance() 456 IPACM_EvtDispatcher::registr(IPA_WAN_UPSTREAM_ROUTE_ADD_EVENT, w); in create_iface_instance() 457 IPACM_EvtDispatcher::registr(IPA_WAN_UPSTREAM_ROUTE_DEL_EVENT, w); in create_iface_instance() 460 IPACM_EvtDispatcher::registr(IPA_NETWORK_STATS_UPDATE_EVENT, w); in create_iface_instance() 463 IPACM_EvtDispatcher::registr(IPA_ROUTE_ADD_EVENT, w); in create_iface_instance() [all …]
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlayUtils.h | 162 w(0), h(0), in Dim() 166 w(_w), h(_h) {} in Dim() 169 w(_w), h(_h), in Dim() 172 return (x+w <= _w && y+h <= _h); in check() 178 d.w == w && d.h == h && 189 uint32_t w; member 197 Whf() : w(0), h(0), format(0), size(0) {} in Whf() 199 w(wi), h(he), format(f), size(0) {} in Whf() 201 w(wi), h(he), format(f), size(s) {} in Whf() 204 return whf.w == w && whf.h == h && [all …]
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
D | main.c | 61 #define PRINT_3ELM_ARRAY_FLOAT(w, p, data) \ argument 62 PRINT_FLOAT(w, p, data[0]); \ 64 PRINT_FLOAT(w, p, data[1]); \ 66 PRINT_FLOAT(w, p, data[2]); \ 68 #define PRINT_4ELM_ARRAY_FLOAT(w, p, data) \ argument 69 PRINT_3ELM_ARRAY_FLOAT(w, p, data); \ 70 PRINT_FLOAT(w, p, data[3]); \ 73 #define PRINT_3ELM_ARRAY_LONG(w, data) \ argument 74 PRINT_LONG(w, data[0]); \ 76 PRINT_LONG(w, data[1]); \ [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_IfaceManager.cpp | 419 IPACM_Wan *w; in create_iface_instance() local 422 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, param->mac_addr); in create_iface_instance() 426 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, NULL); in create_iface_instance() 428 IPACM_EvtDispatcher::registr(IPA_ADDR_ADD_EVENT, w); in create_iface_instance() 430 IPACM_EvtDispatcher::registr(IPA_WAN_UPSTREAM_ROUTE_ADD_EVENT, w); in create_iface_instance() 431 IPACM_EvtDispatcher::registr(IPA_WAN_UPSTREAM_ROUTE_DEL_EVENT, w); in create_iface_instance() 434 IPACM_EvtDispatcher::registr(IPA_NETWORK_STATS_UPDATE_EVENT, w); in create_iface_instance() 437 IPACM_EvtDispatcher::registr(IPA_ROUTE_ADD_EVENT, w); in create_iface_instance() 438 IPACM_EvtDispatcher::registr(IPA_ROUTE_DEL_EVENT, w); in create_iface_instance() 440 IPACM_EvtDispatcher::registr(IPA_FIREWALL_CHANGE_EVENT, w); in create_iface_instance() [all …]
|
/hardware/qcom/display/msm8960/libcopybit/ |
D | copybit.cpp | 148 img->width = rhs->w; in set_image() 167 e->dst_rect.w = clip.r - clip.l; in set_rects() 174 e->src_rect.w = (clip.b - clip.t); in set_rects() 181 e->src_rect.w = (clip.r - clip.l); in set_rects() 187 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects() 195 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 205 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 249 l->req[i].src_rect.w, in msm_copybit() 256 l->req[i].dst_rect.w, in msm_copybit() 408 if (src_rect->l < 0 || (uint32_t)src_rect->r > src->w || in stretch_copybit() [all …]
|
/hardware/interfaces/camera/device/1.0/default/ |
D | CameraDevice_1_0.h | 198 static int sDequeueBuffer(struct preview_stream_ops* w, 201 static int sLockBuffer(struct preview_stream_ops* w, buffer_handle_t* buffer); 203 static int sEnqueueBuffer(struct preview_stream_ops* w, buffer_handle_t* buffer); 205 static int sCancelBuffer(struct preview_stream_ops* w, buffer_handle_t* buffer); 207 static int sSetBufferCount(struct preview_stream_ops* w, int count); 209 static int sSetBuffersGeometry(struct preview_stream_ops* w, 212 static int sSetCrop(struct preview_stream_ops *w, int left, int top, int right, int bottom); 214 static int sSetTimestamp(struct preview_stream_ops *w, int64_t timestamp); 216 static int sSetUsage(struct preview_stream_ops* w, int usage); 218 static int sSetSwapInterval(struct preview_stream_ops *w, int interval); [all …]
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlayMdssRot.cpp | 72 return utils::Whf(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h, in getDstWhf() 78 mRotInfo.dst_rect.w, mRotInfo.dst_rect.h); in getDstDimensions() 95 mRotInfo.src.width = whf.w; in setSource() 102 mRotInfo.src_rect.w = crop.w; in setCrop() 127 utils::swap(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h); in doTransform() 132 utils::normalizeCrop(mRotInfo.src_rect.x, mRotInfo.src_rect.w); in commit() 142 mRotInfo.dst_rect.w = mRotInfo.src_rect.w; in commit() 274 ovutils::Whf destWhf(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h, in calcOutputBufSize() 295 int aWidth = ovutils::align(destWhf.w, 64); in calcCompressedBufSize()
|
/hardware/qcom/display/msm8996/libcopybit/ |
D | copybit.cpp | 163 img->width = rhs->w; in set_image() 183 e->dst_rect.w = clip.r - clip.l; in set_rects() 190 e->src_rect.w = (clip.b - clip.t); in set_rects() 197 e->src_rect.w = (clip.r - clip.l); in set_rects() 203 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects() 211 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 221 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 272 l->req[i].src_rect.w, in msm_copybit() 279 l->req[i].dst_rect.w, in msm_copybit() 468 if (src_rect->l < 0 || (uint32_t)src_rect->r > src->w || in stretch_copybit() [all …]
|
/hardware/qcom/sdm845/display/libcopybit/ |
D | copybit.cpp | 165 img->width = rhs->w; in set_image() 185 e->dst_rect.w = clip.r - clip.l; in set_rects() 192 e->src_rect.w = (clip.b - clip.t); in set_rects() 199 e->src_rect.w = (clip.r - clip.l); in set_rects() 205 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects() 213 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 223 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 274 l->req[i].src_rect.w, in msm_copybit() 281 l->req[i].dst_rect.w, in msm_copybit() 470 if (src_rect->l < 0 || (uint32_t)src_rect->r > src->w || in stretch_copybit() [all …]
|
/hardware/qcom/display/msm8994/libcopybit/ |
D | copybit.cpp | 157 img->width = rhs->w; in set_image() 174 e->dst_rect.w = clip.r - clip.l; in set_rects() 181 e->src_rect.w = (clip.b - clip.t); in set_rects() 188 e->src_rect.w = (clip.r - clip.l); in set_rects() 194 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects() 202 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 212 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 261 l->req[i].src_rect.w, in msm_copybit() 268 l->req[i].dst_rect.w, in msm_copybit() 453 if (src_rect->l < 0 || (uint32_t)src_rect->r > src->w || in stretch_copybit() [all …]
|
/hardware/qcom/display/msm8909/libcopybit/ |
D | copybit.cpp | 165 img->width = rhs->w; in set_image() 185 e->dst_rect.w = clip.r - clip.l; in set_rects() 192 e->src_rect.w = (clip.b - clip.t); in set_rects() 199 e->src_rect.w = (clip.r - clip.l); in set_rects() 205 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects() 213 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 223 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 274 l->req[i].src_rect.w, in msm_copybit() 281 l->req[i].dst_rect.w, in msm_copybit() 470 if (src_rect->l < 0 || (uint32_t)src_rect->r > src->w || in stretch_copybit() [all …]
|
/hardware/qcom/display/msm8909w_3100/libcopybit/ |
D | copybit.cpp | 165 img->width = rhs->w; in set_image() 185 e->dst_rect.w = clip.r - clip.l; in set_rects() 192 e->src_rect.w = (clip.b - clip.t); in set_rects() 199 e->src_rect.w = (clip.r - clip.l); in set_rects() 205 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects() 213 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 223 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 274 l->req[i].src_rect.w, in msm_copybit() 281 l->req[i].dst_rect.w, in msm_copybit() 470 if (src_rect->l < 0 || (uint32_t)src_rect->r > src->w || in stretch_copybit() [all …]
|
/hardware/qcom/display/msm8998/libcopybit/ |
D | copybit.cpp | 163 img->width = rhs->w; in set_image() 183 e->dst_rect.w = clip.r - clip.l; in set_rects() 190 e->src_rect.w = (clip.b - clip.t); in set_rects() 197 e->src_rect.w = (clip.r - clip.l); in set_rects() 203 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects() 211 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 221 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 272 l->req[i].src_rect.w, in msm_copybit() 279 l->req[i].dst_rect.w, in msm_copybit() 468 if (src_rect->l < 0 || (uint32_t)src_rect->r > src->w || in stretch_copybit() [all …]
|
/hardware/qcom/display/msm8226/libcopybit/ |
D | copybit.cpp | 154 img->width = rhs->w; in set_image() 171 e->dst_rect.w = clip.r - clip.l; in set_rects() 178 e->src_rect.w = (clip.b - clip.t); in set_rects() 185 e->src_rect.w = (clip.r - clip.l); in set_rects() 191 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects() 199 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 209 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 258 l->req[i].src_rect.w, in msm_copybit() 265 l->req[i].dst_rect.w, in msm_copybit() 448 if (src_rect->l < 0 || (uint32_t)src_rect->r > src->w || in stretch_copybit() [all …]
|
/hardware/qcom/display/msm8084/libcopybit/ |
D | copybit.cpp | 154 img->width = rhs->w; in set_image() 171 e->dst_rect.w = clip.r - clip.l; in set_rects() 178 e->src_rect.w = (clip.b - clip.t); in set_rects() 185 e->src_rect.w = (clip.r - clip.l); in set_rects() 191 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects() 199 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 209 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 258 l->req[i].src_rect.w, in msm_copybit() 265 l->req[i].dst_rect.w, in msm_copybit() 448 if (src_rect->l < 0 || (uint32_t)src_rect->r > src->w || in stretch_copybit() [all …]
|