Home
last modified time | relevance | path

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

12345678910>>...14

/hardware/google/gchips/gralloc4/src/core/
Dexynos_format_allocation.h22 #define PLANE_SIZE(w, h) ((w) * (h)) argument
23 #define S2B_PLANE_SIZE(w, h) (GRALLOC_ALIGN((w) / 4, 16) * (GRALLOC_ALIGN(h, 16))) argument
31 static std::pair<size_t, size_t> sbwc_sizes(int w, int h) { in sbwc_sizes() argument
35 SBWC_8B_Y_SIZE(w, h) : SBWC_10B_Y_SIZE(w, h); in sbwc_sizes()
37 SBWC_8B_Y_HEADER_SIZE(w, h) : SBWC_10B_Y_HEADER_SIZE(w, h); in sbwc_sizes()
40 SBWC_8B_CBCR_SIZE(w, h) : SBWC_10B_CBCR_SIZE(w, h); in sbwc_sizes()
42 SBWC_8B_CBCR_HEADER_SIZE(w, h) : SBWC_10B_CBCR_HEADER_SIZE(w, h); in sbwc_sizes()
56 int setup_sbwc_420_sp(int w, int h, int fd_count, plane_info_t *plane) in setup_sbwc_420_sp() argument
58 std::tie(plane[0].size, plane[1].size) = sbwc_sizes<8>(w, h); in setup_sbwc_420_sp()
60 plane[0].alloc_width = GRALLOC_ALIGN(w, 32); in setup_sbwc_420_sp()
[all …]
Dmali_gralloc_bufferaccess.cpp113 const int t, const int w, const int h, in validate_lock_input_parameters() argument
124 if ((l < 0) || (t < 0) || (w < 0) || (h < 0)) in validate_lock_input_parameters()
127 "h = %d) in buffer lock request are invalid.", l, t, w, h); in validate_lock_input_parameters()
132 if (((l + w) < 0) || ((t + h) < 0)) in validate_lock_input_parameters()
135 " h = %d) in buffer lock request.", l, t, w, h); in validate_lock_input_parameters()
140 if (((t + h) > hnd->height) || ((l + w) > hnd->width)) in validate_lock_input_parameters()
144 l, t, w, h, hnd->width, hnd->height); in validate_lock_input_parameters()
189 uint64_t usage, int l, int t, int w, int h, void **vaddr) in mali_gralloc_lock() argument
200 status = validate_lock_input_parameters(buffer, l, t, w, h, usage); in mali_gralloc_lock()
Dmali_gralloc_bufferallocation.cpp247 const int w, const int h) in init_afbc() argument
252 const uint32_t n_headers = (w * h) / AFBC_PIXELS_PER_BLOCK; in init_afbc()
796 int w = bufDescriptor->width; in prepare_descriptor_exynos_formats() local
816 plane_count = setup_sbwc_420_sp(w, h, fd_count, bufDescriptor->plane_info); in prepare_descriptor_exynos_formats()
822 plane_count = setup_sbwc_420_sp_10bit(w, h, fd_count, bufDescriptor->plane_info); in prepare_descriptor_exynos_formats()
827 plane_count = setup_sbwc_420_sp_lossy(w, h, 50, fd_count, bufDescriptor->plane_info); in prepare_descriptor_exynos_formats()
832 plane_count = setup_sbwc_420_sp_lossy(w, h, 75, fd_count, bufDescriptor->plane_info); in prepare_descriptor_exynos_formats()
837 plane_count = setup_sbwc_420_sp_10bit_lossy(w, h, 40, fd_count, bufDescriptor->plane_info); in prepare_descriptor_exynos_formats()
842 plane_count = setup_sbwc_420_sp_10bit_lossy(w, h, 60, fd_count, bufDescriptor->plane_info); in prepare_descriptor_exynos_formats()
847 plane_count = setup_sbwc_420_sp_10bit_lossy(w, h, 80, fd_count, bufDescriptor->plane_info); in prepare_descriptor_exynos_formats()
[all …]
Dmali_gralloc_bufferaccess.h24 int mali_gralloc_lock(buffer_handle_t buffer, uint64_t usage, int l, int t, int w, int h,
26 int mali_gralloc_lock_ycbcr(buffer_handle_t buffer, uint64_t usage, int l, int t, int w,
32 int w, int h, struct android_flex_layout *flex_layout);
/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 …]
Dgralloc.h230 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,
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/google/aemu/host-common/
DMediaFfmpegVideoHelper.cpp124 int w = mFrame->width; in copyFrame() local
126 mDecodedFrame.resize(w * h * 3 / 2); in copyFrame()
127 MEDIA_DPRINT("w %d h %d Y line size %d U line size %d V line size %d", w, h, in copyFrame()
130 memcpy(mDecodedFrame.data() + i * w, in copyFrame()
131 mFrame->data[0] + i * mFrame->linesize[0], w); in copyFrame()
137 memcpy(w * h + mDecodedFrame.data() + i * w, in copyFrame()
138 mFrame->data[1] + i * mFrame->linesize[1], w); in copyFrame()
140 YuvConverter<uint8_t> convert8(w, h); in copyFrame()
144 memcpy(w * h + mDecodedFrame.data() + i * w / 2, in copyFrame()
145 mFrame->data[1] + i * mFrame->linesize[1], w / 2); in copyFrame()
[all …]
DMultiDisplay.cpp66 uint32_t w, in setMultiDisplay() argument
74 << x << " " << y << " " << w << " " << h << " " in setMultiDisplay()
90 if (add && !multiDisplayParamValidate(id, w, h, dpi, flag)) { in setMultiDisplay()
114 ret = setDisplayPose(id, x, y, w, h, dpi); in setMultiDisplay()
143 pipe->fillData(data, id, w, h, dpi, flag, add); in setMultiDisplay()
145 << " width " << w << " height " << h << " dpi " << dpi in setMultiDisplay()
155 uint32_t* w, in getMultiDisplay() argument
174 if (w) { in getMultiDisplay()
175 *w = mMultiDisplay[id].width; in getMultiDisplay()
203 uint32_t* w, in getNextMultiDisplay() argument
[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/google/aemu/host-common/testing/
DMockAndroidMultiDisplayAgent.cpp27 uint32_t w,
37 uint32_t* w,
48 uint32_t* w,
73 if (w) { in __anon20a3b1400302()
74 *w = i->second.width; in __anon20a3b1400302()
97 uint32_t w,
108 .setGpuMode = [](bool isGuestMode, uint32_t w, uint32_t h) { }, in __anon20a3b1400802()
120 uint32_t w,
125 mMultiDisplay[displayId].width = w; in __anon20a3b1400b02()
133 uint32_t* w,
[all …]
DMockAndroidEmulatorWindowAgent.cpp71 [](int x_offset, int y_offset, int w, int h, bool ignoreOrientation) { in __anoncf91a7600902()
74 x_offset, y_offset, w, h); in __anoncf91a7600902()
82 [](uint32_t* w, uint32_t* h) { in __anoncf91a7600d02()
83 if (w) in __anoncf91a7600d02()
84 *w = 2500; in __anoncf91a7600d02()
/hardware/google/aemu/host-common/include/host-common/
Dmulti_display_agent.h29 uint32_t w,
37 uint32_t* w,
46 uint32_t* w,
53 bool (*multiDisplayParamValidate)(uint32_t id, uint32_t w, uint32_t h,
56 void (*setGpuMode)(bool isGuestMode, uint32_t w, uint32_t h);
62 uint32_t w,
68 uint32_t* w,
DMultiDisplay.h41 MultiDisplayInfo(int32_t x, int32_t y, uint32_t w, uint32_t h,
43 pos_x(x), pos_y(y), width(w), height(h), dpi(d), flag(f), enabled(e), cb(c) {} in pos_x()
70 uint32_t w,
89 uint32_t* w,
94 bool multiDisplayParamValidate(uint32_t id, uint32_t w, uint32_t h,
97 void setGpuMode(bool isGuestMode, uint32_t w, uint32_t h);
102 uint32_t w,
110 uint32_t* w,
115 void getCombinedDisplaySize(uint32_t* w, uint32_t* h);
139 void getCombinedDisplaySizeLocked(uint32_t* w, uint32_t* h);
/hardware/qcom/display/msm8909/gralloc/
Dgr_buf_descriptor.h41 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/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/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/msm8909w_3100/libgralloc1/
Dgr_buf_descriptor.h41 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/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_IfaceManager.cpp443 IPACM_Wan *w; in create_iface_instance() local
446 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, param->mac_addr); in create_iface_instance()
447 if (w->rx_prop == NULL && w->tx_prop == NULL) in create_iface_instance()
452 w->delete_iface(); in create_iface_instance()
458 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, NULL); in create_iface_instance()
459 if (w->rx_prop == NULL && w->tx_prop == NULL) in create_iface_instance()
462 w->delete_iface(); in create_iface_instance()
466 IPACM_EvtDispatcher::registr(IPA_ADDR_ADD_EVENT, w); in create_iface_instance()
468 IPACM_EvtDispatcher::registr(IPA_WAN_UPSTREAM_ROUTE_ADD_EVENT, w); in create_iface_instance()
469 IPACM_EvtDispatcher::registr(IPA_WAN_UPSTREAM_ROUTE_DEL_EVENT, w); in create_iface_instance()
[all …]
/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/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/google/gchips/include/
Dexynos_format.h185 #define GET_32BPP_FRAME_SIZE(w, h) (((w) * (h)) << 2) argument
186 #define GET_24BPP_FRAME_SIZE(w, h) (((w) * (h)) * 3) argument
187 #define GET_16BPP_FRAME_SIZE(w, h) (((w) * (h)) << 1) argument
/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/google/graphics/gs101/libhwc2.1/libexternaldisplay/
DExynosExternalDisplayModule.cpp52 if ((config.src.w != config.dst.w) || in validateWinConfigData()
58 i, config.src.w, config.dst.w, config.src.h, config.dst.h, mppType); in validateWinConfigData()
/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 …]

12345678910>>...14