Home
last modified time | relevance | path

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

12345678910>>...23

/hardware/google/gfxstream/guest/mesa/src/util/
Du_worklist.c29 u_worklist_init(u_worklist *w, unsigned num_entries, void *mem_ctx) in u_worklist_init() argument
31 w->size = num_entries; in u_worklist_init()
32 w->count = 0; in u_worklist_init()
33 w->start = 0; in u_worklist_init()
35 w->present = rzalloc_array(mem_ctx, BITSET_WORD, BITSET_WORDS(num_entries)); in u_worklist_init()
36 w->entries = rzalloc_array(mem_ctx, unsigned *, num_entries); in u_worklist_init()
40 u_worklist_fini(u_worklist *w) in u_worklist_fini() argument
42 ralloc_free(w->present); in u_worklist_fini()
43 ralloc_free(w->entries); in u_worklist_fini()
47 u_worklist_push_head_index(u_worklist *w, unsigned *index) in u_worklist_push_head_index() argument
[all …]
Du_worklist.h63 void u_worklist_init(u_worklist *w, unsigned num_entries, void *mem_ctx);
65 void u_worklist_fini(u_worklist *w);
68 u_worklist_is_empty(const u_worklist *w) in u_worklist_is_empty() argument
70 return w->count == 0; in u_worklist_is_empty()
73 void u_worklist_push_head_index(u_worklist *w, unsigned *block);
75 unsigned *u_worklist_peek_head_index(const u_worklist *w);
77 unsigned *u_worklist_pop_head_index(u_worklist *w);
79 unsigned *u_worklist_peek_tail_index(const u_worklist *w);
81 void u_worklist_push_tail_index(u_worklist *w, unsigned *block);
83 unsigned *u_worklist_pop_tail_index(u_worklist *w);
[all …]
Drb_tree.c269 struct rb_node *w = x_p->right; in rb_tree_remove() local
270 if (rb_node_is_red(w)) { in rb_tree_remove()
271 rb_node_set_black(w); in rb_tree_remove()
275 w = x_p->right; in rb_tree_remove()
277 if (rb_node_is_black(w->left) && rb_node_is_black(w->right)) { in rb_tree_remove()
278 rb_node_set_red(w); in rb_tree_remove()
281 if (rb_node_is_black(w->right)) { in rb_tree_remove()
282 rb_node_set_black(w->left); in rb_tree_remove()
283 rb_node_set_red(w); in rb_tree_remove()
284 rb_tree_rotate_right(T, w); in rb_tree_remove()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/config/spec-macros/
Dextension.rb90 match /can:(\w*)/
99 match /cannot:(\w*)/
108 match /may:(\w*)/
117 match /must:(\w*)/
126 match /optional:(\w*)/
135 match /optionally:(\w*)/
144 match /required:(\w*)/
153 match /should:(\w*)/
163 match /reflink:([-\w]+)/
169 match /apiext:(\w+)/
[all …]
/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()
/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/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 …]
/hardware/libhardware/include_all/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 …]
/hardware/google/aemu/host-common/testing/
DMockAndroidMultiDisplayAgent.cpp27 uint32_t w,
37 uint32_t* w,
48 uint32_t* w,
73 if (w) { in __anonb4c49c2f0302()
74 *w = i->second.width; in __anonb4c49c2f0302()
97 uint32_t w,
108 .setGpuMode = [](bool isGuestMode, uint32_t w, uint32_t h) { }, in __anonb4c49c2f0802()
120 uint32_t w,
125 mMultiDisplay[displayId].width = w; in __anonb4c49c2f0b02()
133 uint32_t* w,
[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/gfxstream/host/
DGfxStreamAgents.cpp43 uint32_t w,
53 uint32_t* w,
70 if (w) { in __anon6361db8d0202()
71 *w = mMultiDisplay[id].width; in __anon6361db8d0202()
91 uint32_t* w,
116 if (w) { in __anon6361db8d0302()
117 *w = i->second.width; in __anon6361db8d0302()
139 uint32_t w,
147 .setGpuMode = [](bool isGuestMode, uint32_t w, uint32_t h) {}, in __anon6361db8d0802()
186 uint32_t w,
[all …]
/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/google/gfxstream/third-party/glm/include/glm/gtc/
Dnoise.inl18 pXYZ = pXYZ + (tvec3<T, P>(s) * T(2) - T(1)) * s.w;
31 tvec4<T, P> iy(Pi.y, Pi.y, Pi.w, Pi.w);
33 tvec4<T, P> fy(Pf.y, Pf.y, Pf.w, Pf.w);
45 tvec2<T, P> g11(gx.w, gy.w);
51 g11 *= norm.w;
56 T n11 = dot(g11, tvec2<T, P>(fx.w, fy.w));
102 tvec3<T, P> g110(gx0.w, gy0.w, gz0.w);
106 tvec3<T, P> g111(gx1.w, gy1.w, gz1.w);
112 g110 *= norm0.w;
117 g111 *= norm1.w;
[all …]
Dquaternion.inl17 tvec4<T, P> tmp(x.x * y.x, x.y * y.y, x.z * y.z, x.w * y.w);
18 return (tmp.x + tmp.y) + (tmp.z + tmp.w);
27 return tquat<T, P>(q.w + p.w, q.x + p.x, q.y + p.y, q.z + p.z);
36 return tquat<T, P>(q.w - p.w, q.x - p.x, q.y - p.y, q.z - p.z);
45 return tquat<T, P>(q.w * s, q.x * s, q.y * s, q.z * s);
54 return tquat<T, P>(q.w / s, q.x / s, q.y / s, q.z / s);
63 return tvec4<T, P>(q * tvec3<T, P>(v), v.w);
90 : x(0), y(0), z(0), w(1)
98 : x(q.x), y(q.y), z(q.z), w(q.w)
105 : x(q.x), y(q.y), z(q.z), w(q.w)
[all …]
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Ddual_quaternion.inl67 T(+0.5) * ( p.x*q.w + p.y*q.z - p.z*q.y),
68 T(+0.5) * (-p.x*q.z + p.y*q.w + p.z*q.x),
69 T(+0.5) * ( p.x*q.y - p.y*q.x + p.z*q.w))
170 …rn (cross(real_v3, cross(real_v3,v) + v * q.real.w + dual_v3) + dual_v3 * q.real.w - real_v3 * q.d…
182 return tvec4<T, P>(q * tvec3<T, P>(v), v.w);
254 return tmat2x4<T, P>( x[0].x, x[0].y, x[0].z, x[0].w, x[1].x, x[1].y, x[1].z, x[1].w );
262 tquat<T, P> const rr(r.w * x.real.w, r.x * x.real.x, r.y * x.real.y, r.z * x.real.z);
268 T const wx = r.w * x.real.x;
269 T const wy = r.w * x.real.y;
270 T const wz = r.w * x.real.z;
[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/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.h45 MultiDisplayInfo(int32_t x, int32_t y, uint32_t w, uint32_t h,
47 pos_x(x), pos_y(y), width(w), height(h), originalWidth(w), in pos_x()
75 uint32_t w,
94 uint32_t* w,
99 bool multiDisplayParamValidate(uint32_t id, uint32_t w, uint32_t h,
102 void setGpuMode(bool isGuestMode, uint32_t w, uint32_t h);
107 uint32_t w,
115 uint32_t* w,
120 void getCombinedDisplaySize(uint32_t* w, uint32_t* h);
150 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/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/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/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/google/gfxstream/guest/mesa/src/util/sha1/
Dsha1.c40 #define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30); argument
41 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30); argument
42 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30); argument
43 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30); argument
44 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30); argument

12345678910>>...23