Home
last modified time | relevance | path

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

/hardware/ti/omap3/liboverlay/
Dv4l2_utils.c127 LOGI("window l: %d ", win->w.left); in dump_window()
128 LOGI("window t: %d ", win->w.top); in dump_window()
129 LOGI("window w: %d ", win->w.width); in dump_window()
130 LOGI("window h: %d\n", win->w.height); in dump_window()
189 uint32_t w, uint32_t h) in configure_pixfmt() argument
220 pix->width = w; in configure_pixfmt()
225 static void configure_window(struct v4l2_window *win, int32_t w, in configure_window() argument
230 win->w.left = x; in configure_window()
231 win->w.top = y; in configure_window()
232 win->w.width = w; in configure_window()
[all …]
Dv4l2_utils.h17 int v4l2_overlay_init(int fd, uint32_t w, uint32_t h, uint32_t fmt);
18 int v4l2_overlay_get_input_size(int fd, uint32_t *w, uint32_t *h, uint32_t *fmt);
19 int v4l2_overlay_set_position(int fd, int32_t x, int32_t y, int32_t w,
21 int v4l2_overlay_get_position(int fd, int32_t *x, int32_t *y, int32_t *w,
23 int v4l2_overlay_set_crop(int fd, uint32_t x, uint32_t y, uint32_t w,
25 int v4l2_overlay_get_crop(int fd, uint32_t *x, uint32_t *y, uint32_t *w,
Doverlay.cpp210 overlay_object(int ctl_fd, int shared_fd, int shared_size, int w, int h, in overlay_object() argument
218 mHandle.width = w; in overlay_object()
223 this->w = w; in overlay_object()
408 uint32_t w, uint32_t h, int32_t format) in overlay_createOverlay() argument
410 LOGD("overlay_createOverlay:IN w=%d h=%d format=%d\n", w, h, format); in overlay_createOverlay()
444 if (v4l2_overlay_init(fd, w, h, format)) { in overlay_createOverlay()
449 if (v4l2_overlay_set_crop(fd, 0, 0, w, h)) { in overlay_createOverlay()
464 overlay = new overlay_object(fd, shared_fd, shared->size, w, h, format, num); in overlay_createOverlay()
536 overlay_t* overlay, int x, int y, uint32_t w, in overlay_setPosition() argument
558 if (w < 16 || h < 16) { in overlay_setPosition()
[all …]
/hardware/libhardware/include/hardware/
Doverlay.h114 uint32_t w; member
156 uint32_t w, uint32_t h, int32_t format);
167 int x, int y, uint32_t w, uint32_t h);
172 int* x, int* y, uint32_t* w, uint32_t* h);
194 uint32_t w, uint32_t h);
197 uint32_t x, uint32_t y, uint32_t w, uint32_t h) ;
200 uint32_t* x, uint32_t* y, uint32_t* w, uint32_t* h) ;
Dgralloc.h160 int l, int t, int w, int h,
202 int w, int h, int format, int usage,
Dcopybit.h103 uint32_t w; member
/hardware/msm7k/libcopybit/
Dcopybit.cpp137 img->width = rhs->w; in set_image()
166 e->dst_rect.w = clip.r - clip.l; in set_rects()
173 e->src_rect.w = (clip.b - clip.t); in set_rects()
180 e->src_rect.w = (clip.r - clip.l); in set_rects()
185 MULDIV(&e->src_rect.x, &e->src_rect.w, src->r - src->l, W); in set_rects()
191 e->src_rect.x = e->src.width - (e->src_rect.x + e->src_rect.w); in set_rects()
224 l->req[i].src_rect.w, in msm_copybit()
231 l->req[i].dst_rect.w, in msm_copybit()
365 if (src_rect->l < 0 || src_rect->r > src->w || in stretch_copybit()
371 if (src->w > MAX_DIMENSION || src->h > MAX_DIMENSION) in stretch_copybit()
[all …]
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/
DOMX_VPP_ImgConv.c181 OMX_U8 *y, *u, *v, *w; /* Pointers on Y U V buffers and Weight buffer */ in ConvertChromReduction() local
223 w = (v+(iWidth*iHeight)/4); in ConvertChromReduction()
435 *w = 0; in ConvertChromReduction()
436 (*w) += (*(pu1 )!=0 || *(pv1 )!=0)?0:1; in ConvertChromReduction()
437 (*w) += (*(pu1+1)!=0 || *(pv1+1)!=0)?0:2; in ConvertChromReduction()
438 (*w) += (*(pu1+2)!=0 || *(pv1+2)!=0)?0:1; in ConvertChromReduction()
439 (*w) += (*(pu2 )!=0 || *(pv2 )!=0)?0:1; in ConvertChromReduction()
440 (*w) += (*(pu2+1)!=0 || *(pv2+1)!=0)?0:2; in ConvertChromReduction()
441 (*w) += (*(pu2+2)!=0 || *(pv2+2)!=0)?0:1; in ConvertChromReduction()
443 w++; in ConvertChromReduction()
[all …]
/hardware/broadcom/wlan/bcm4329/src/shared/
Dsbutils.c263 uint32 w; in sb_core_cflags_wo() local
271 w = (R_SBREG(sii, &sb->sbtmstatelow) & ~(mask << SBTML_SICF_SHIFT)) | in sb_core_cflags_wo()
273 W_SBREG(sii, &sb->sbtmstatelow, w); in sb_core_cflags_wo()
282 uint32 w; in sb_core_cflags() local
291 w = (R_SBREG(sii, &sb->sbtmstatelow) & ~(mask << SBTML_SICF_SHIFT)) | in sb_core_cflags()
293 W_SBREG(sii, &sb->sbtmstatelow, w); in sb_core_cflags()
308 uint32 w; in sb_core_sflags() local
318 w = (R_SBREG(sii, &sb->sbtmstatehigh) & ~(mask << SBTMH_SISF_SHIFT)) | in sb_core_sflags()
320 W_SBREG(sii, &sb->sbtmstatehigh, w); in sb_core_sflags()
355 uint w; in sb_corereg() local
[all …]
Daiutils.c488 uint w; in ai_corereg() local
549 w = (R_REG(sii->osh, r) & ~mask) | val; in ai_corereg()
550 W_REG(sii->osh, r, w); in ai_corereg()
554 w = R_REG(sii->osh, r); in ai_corereg()
564 return (w); in ai_corereg()
631 uint32 w; in ai_core_cflags_wo() local
640 w = ((R_REG(sii->osh, &ai->ioctrl) & ~mask) | val); in ai_core_cflags_wo()
641 W_REG(sii->osh, &ai->ioctrl, w); in ai_core_cflags_wo()
650 uint32 w; in ai_core_cflags() local
659 w = ((R_REG(sii->osh, &ai->ioctrl) & ~mask) | val); in ai_core_cflags()
[all …]
Dsiutils.c296 uint32 w, savewin; in si_doattach() local
357 w = R_REG(osh, &cc->chipid); in si_doattach()
358 sih->socitype = (w & CID_TYPE_MASK) >> CID_TYPE_SHIFT; in si_doattach()
360 sih->chip = w & CID_ID_MASK; in si_doattach()
361 sih->chiprev = (w & CID_REV_MASK) >> CID_REV_SHIFT; in si_doattach()
362 sih->chippkg = (w & CID_PKG_MASK) >> CID_PKG_SHIFT; in si_doattach()
369 SI_MSG(("Found chip type SB (0x%08x)\n", w)); in si_doattach()
372 SI_MSG(("Found chip type AI (0x%08x)\n", w)); in si_doattach()
376 SI_ERROR(("Found chip of unkown type (0x%08x)\n", w)); in si_doattach()
1510 uint32 w; in si_deviceremoved() local
[all …]
/hardware/ti/omap3/omx/ti_omx_config_parser/src/
Dti_video_config_parser.cpp25 #define GetUnalignedWord( pb, w ) \ argument
26 (w) = ((uint16) *(pb + 1) << 8) + *pb;
33 #define GetUnalignedWordEx( pb, w ) GetUnalignedWord( pb, w ); (pb) += sizeof(uint16); argument
39 #define LoadWORD( w, p ) GetUnalignedWordEx( p, w ) argument
/hardware/msm7k/libgralloc/
Dframebuffer.cpp61 int x, int y, int w, int h);
74 int l, int t, int w, int h) in fb_setUpdateRect() argument
76 if (((w|h) <= 0) || ((l|t)<0)) in fb_setUpdateRect()
84 m->info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16); in fb_setUpdateRect()
393 int x, int y, int w, int h) in msm_copy_buffer()
421 blit.req.src_rect.w = blit.req.dst_rect.w = w; in msm_copy_buffer()
Dgralloc.cpp71 int l, int t, int w, int h,
436 int w, int h, int format, int usage, in gralloc_alloc() argument
448 stride = (w + 1) & ~1; in gralloc_alloc()
455 size = (stride * vstride) + (w/2 * h/2) * 2; in gralloc_alloc()
480 size_t bpr = (w*bpp + (align-1)) & ~(align-1); in gralloc_alloc()
Dmapper.cpp190 int l, int t, int w, int h, in gralloc_lock() argument
/hardware/msm7k/libgralloc-qsd8k/
Dframebuffer.cpp63 int x, int y, int w, int h);
76 int l, int t, int w, int h) in fb_setUpdateRect() argument
78 if (((w|h) <= 0) || ((l|t)<0)) in fb_setUpdateRect()
86 m->info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16); in fb_setUpdateRect()
404 int x, int y, int w, int h) in msm_copy_buffer()
432 blit.req.src_rect.w = blit.req.dst_rect.w = w; in msm_copy_buffer()
Dgralloc.cpp68 int l, int t, int w, int h,
347 int w, int h, int format, int usage, in gralloc_alloc() argument
358 alignedw = (w + 1) & ~1; in gralloc_alloc()
365 size = (alignedw * alignedh) + (w/2 * h/2) * 2; in gralloc_alloc()
371 alignedw = (w + 31) & ~31; in gralloc_alloc()
Dmapper.cpp188 int l, int t, int w, int h, in gralloc_lock() argument
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/inc/
DOMX_WmaDec_Utils.h235 #define GetUnalignedWord( pb, w ) \ argument
236 (w) = ((OMX_U16) *(pb + 1) << 8) + *pb;
243 #define GetUnalignedWordEx( pb, w ) GetUnalignedWord( pb, w ); (pb) += sizeof(OMX_U16); argument
245 #define LoadWORD( w, p ) GetUnalignedWordEx( p, w ) argument
/hardware/libhardware/modules/gralloc/
Dgralloc.cpp68 int l, int t, int w, int h,
343 int w, int h, int format, int usage, in gralloc_alloc() argument
355 stride = (w + 1) & ~1; in gralloc_alloc()
362 size = (stride * vstride) + (w/2 * h/2) * 2; in gralloc_alloc()
387 size_t bpr = (w*bpp + (align-1)) & ~(align-1); in gralloc_alloc()
Dframebuffer.cpp71 int l, int t, int w, int h) in fb_setUpdateRect() argument
73 if (((w|h) <= 0) || ((l|t)<0)) in fb_setUpdateRect()
81 m->info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16); in fb_setUpdateRect()
Dmapper.cpp183 int l, int t, int w, int h, in gralloc_lock() argument
/hardware/libhardware/modules/overlay/
Doverlay.cpp128 uint32_t w, uint32_t h, int32_t format) in overlay_createOverlay() argument
163 int x, int y, uint32_t w, uint32_t h) { in overlay_setPosition() argument
170 int* x, int* y, uint32_t* w, uint32_t* h) { in overlay_getPosition() argument
/hardware/broadcom/wlan/bcm4329/src/
DMakerules421 TCFLAGS = -w asm=$(GASFLAGS) +c -Vcdv -w cc=+reginfo
DGNUmakefile.inc539 $(SHELL) -ec 'gcc -MM -w -D_M_IX86=500 $(C_DEFINES) $(CPPFLAGS) $< \