Home
last modified time | relevance | path

Searched refs:w (Results 1 – 25 of 264) sorted by relevance

1234567891011

/hardware/libhardware/include/hardware/
Dcamera.h74 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 …]
Dcamera2.h81 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/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/
Dviddec_h264_workload.c16 #define PUT_BSD_PP1_IMG_DISPOSABLE_FLAG_BIT(w) (((uint32_t)w)&0x1) argument
17 #define PUT_BSD_PP1_SLICE_TYPE_BITS(w) ((((uint32_t)w)&0x7)<<1) argument
18 #define PUT_BSD_PP1_WEIGHTED_BIPRED_IDC_BITS(w) ((((uint32_t)w)&0x3)<<4) argument
19 #define PUT_BSD_PP1_WEIGHTED_PRED_FLAG_BIT(w) ((((uint32_t)w)&0x1)<<6) argument
20 #define PUT_BSD_PP1_NUM_REF_IDX_L0_BITS(w) ((((uint32_t)w)&0x3F)<<8) argument
21 #define PUT_BSD_PP1_NUM_REF_IDX_L1_BITS(w) ((((uint32_t)w)&0x3F)<<16) argument
24 #define PUT_BSD_PP2_CABAC_INIT_IDC_BITS(w) (((uint32_t)w)&0x3) argument
25 #define PUT_BSD_PP2_QP_BITS(w) ((((uint32_t)w)&0x3F)<<2) argument
26 #define PUT_BSD_PP2_DISABLE_DBF_IDC_BITS(w) ((((uint32_t)w)&0x3)<<8) argument
27 #define PUT_BSD_PP2_ALPHA_C0_OFFSET_DIV2_BITS(w) ((((uint32_t)w)&0xF)<<10) argument
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/planes/
DDisplayPlane.cpp93 void DisplayPlane::checkPosition(int& x, int& y, int& w, int& h) in checkPosition() argument
104 if ((x + w) > mode->hdisplay) in checkPosition()
105 w = mode->hdisplay - x; in checkPosition()
110 void DisplayPlane::setPosition(int x, int y, int w, int h) in setPosition() argument
112 ALOGTRACE("Position = %d, %d - %dx%d", x, y, w, h); in setPosition()
118 mPosition.w = (int) (((float)w/DEFAULT_DRM_FB_WIDTH)*mDisplayWidth); in setPosition()
123 mDisplayCrop.w = mDisplayWidth; in setPosition()
130 mPosition.w != w || mPosition.h != h) { in setPosition()
134 mPosition.w = w; in setPosition()
139 void DisplayPlane::setSourceCrop(int x, int y, int w, int h) in setSourceCrop() argument
[all …]
/hardware/intel/img/hwcomposer/merrifield/common/planes/
DDisplayPlane.cpp87 void DisplayPlane::checkPosition(int& x, int& y, int& w, int& h) in checkPosition() argument
98 if ((x + w) > mode->hdisplay) in checkPosition()
99 w = mode->hdisplay - x; in checkPosition()
104 void DisplayPlane::setPosition(int x, int y, int w, int h) in setPosition() argument
106 ATRACE("Position = %d, %d - %dx%d", x, y, w, h); in setPosition()
109 mPosition.w != w || mPosition.h != h) { in setPosition()
113 mPosition.w = w; in setPosition()
118 void DisplayPlane::setSourceCrop(int x, int y, int w, int h) in setSourceCrop() argument
120 ATRACE("Source crop = %d, %d - %dx%d", x, y, w, h); in setSourceCrop()
123 mSrcCrop.w != w || mSrcCrop.h != h) { in setSourceCrop()
[all …]
/hardware/qcom/display/msm8960/libtilerenderer/
Dtilerenderer.cpp59 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/
DoverlayUtils.h158 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/
Dgr_buf_descriptor.h40 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/intel/img/hwcomposer/merrifield/test/
Dnv12_ved_test.cpp32 void fillYUVBuffer(uint8_t* buf, int w, int h, int stride) { in fillYUVBuffer() argument
33 const int blockWidth = w > 16 ? w / 16 : 1; in fillYUVBuffer()
41 for (int x = 0; x < w; x++) { in fillYUVBuffer()
47 if (x < w / 2 && y < h / 2) { in fillYUVBuffer()
49 if (x * 2 < w / 2 && y * 2 < h / 2) { in fillYUVBuffer()
64 void loadYUVBufferFromFile(uint8_t* buf, int w, int h, int stride) { in loadYUVBufferFromFile() argument
75 printf("buf=%p, w=%d,h=%d,stride=%d\n", buf, w, h, stride); in loadYUVBufferFromFile()
80 fread(buf + offset, w, 1, fp); in loadYUVBufferFromFile()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_buf_descriptor.h40 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/
DoverlayMdssRot.cpp81 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/display/msm8909/liboverlay/
DoverlayMdssRot.cpp81 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/display/msm8084/liboverlay/
DoverlayUtils.h162 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/
Dmain.c61 #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/display/msm8960/libcopybit/
Dcopybit.cpp148 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/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
DAnnOverlayPlane.cpp351 backBuffer->SWIDTH = mapper.getCrop().w; in coordinateSetup()
373 int x, y, w, h; in scalingSetup() local
385 x = mode->hdisplay - mPosition.x - mPosition.w; in scalingSetup()
397 w = mPosition.w; in scalingSetup()
401 checkPosition(x, y, w, h); in scalingSetup()
402 VLOGTRACE("final position (%d, %d, %d, %d)", x, y, w, h); in scalingSetup()
404 if ((w <= 0) || (h <= 0)) { in scalingSetup()
411 backBuffer->DWINSZ = (h << 16) | w; in scalingSetup()
413 uint32_t srcWidth = mapper.getCrop().w; in scalingSetup()
415 uint32_t dstWidth = w; in scalingSetup()
[all …]
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/
DThermalUtils.java53 Log.w(TAG, "caught UnsatisfiedLinkError in readSysfs"); in readSysfs()
71 Log.w(TAG, "caught UnsatisfiedLinkError in writeSysfs"); in writeSysfs()
80 Log.w(TAG, "caught UnsatisfiedLinkError in getThermalZoneIndex"); in getThermalZoneIndex()
89 Log.w(TAG, "caught UnsatisfiedLinkError in getThermalZoneIndexContains"); in getThermalZoneIndexContains()
98 Log.w(TAG, "caught UnsatisfiedLinkError in getCoolingDeviceIndex"); in getCoolingDeviceIndex()
107 Log.w(TAG, "caught UnsatisfiedLinkError in getCoolingDeviceIndexContains"); in getCoolingDeviceIndexContains()
116 Log.w(TAG, "caught UnsatisfiedLinkError in isFileExists"); in isFileExists()
/hardware/interfaces/camera/device/1.0/default/
DCameraDevice_1_0.h196 static int sDequeueBuffer(struct preview_stream_ops* w,
199 static int sLockBuffer(struct preview_stream_ops* w, buffer_handle_t* buffer);
201 static int sEnqueueBuffer(struct preview_stream_ops* w, buffer_handle_t* buffer);
203 static int sCancelBuffer(struct preview_stream_ops* w, buffer_handle_t* buffer);
205 static int sSetBufferCount(struct preview_stream_ops* w, int count);
207 static int sSetBuffersGeometry(struct preview_stream_ops* w,
210 static int sSetCrop(struct preview_stream_ops *w, int left, int top, int right, int bottom);
212 static int sSetTimestamp(struct preview_stream_ops *w, int64_t timestamp);
214 static int sSetUsage(struct preview_stream_ops* w, int usage);
216 static int sSetSwapInterval(struct preview_stream_ops *w, int interval);
[all …]
/hardware/qcom/display/msm8226/liboverlay/
DoverlayMdssRot.cpp72 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/msm8998/libcopybit/
Dcopybit.cpp165 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/msm8226/libcopybit/
Dcopybit.cpp154 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/msm8909/libcopybit/
Dcopybit.cpp160 img->width = rhs->w; in set_image()
180 e->dst_rect.w = clip.r - clip.l; in set_rects()
187 e->src_rect.w = (clip.b - clip.t); in set_rects()
194 e->src_rect.w = (clip.r - clip.l); in set_rects()
200 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects()
208 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
218 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
269 l->req[i].src_rect.w, in msm_copybit()
276 l->req[i].dst_rect.w, in msm_copybit()
463 if (src_rect->l < 0 || (uint32_t)src_rect->r > src->w || in stretch_copybit()
[all …]
/hardware/qcom/display/msm8994/libcopybit/
Dcopybit.cpp157 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/msm8084/libcopybit/
Dcopybit.cpp154 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/msm8996/libcopybit/
Dcopybit.cpp163 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 …]

1234567891011