Searched defs:img (Results 151 - 175 of 299) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dtestutils.cc292 void DumpPlanarYuvTestImage(const std::string& prefix, const uint8* img, argument
299 fs.Write(img, I420_SIZE(w, h), NULL, NULL);
304 void DumpPlanarArgbTestImage(const std::string& prefix, const uint8* img, argument
311 fs.Write(img, ARGB_SIZE(w, h), NULL, NULL);
/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Dexternal_frame_buffer_test.cc114 void CheckXImageFrameBuffer(const vpx_image_t *img) { argument
115 if (img->fb_priv != NULL) {
117 reinterpret_cast<ExternalFrameBuffer*>(img->fb_priv);
119 ASSERT_TRUE(img->planes[0] >= ext_fb->data &&
120 img->planes[0] < (ext_fb->data + ext_fb->size));
227 virtual void DecompressedFrameHook(const vpx_image_t &img, argument
239 md5_res.Add(&img);
335 const vpx_image_t *img = NULL; local
338 while ((img = dec_iter.Next()) != NULL) {
339 fb_list_.CheckXImageFrameBuffer(img);
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/
H A Degl_g3d.c75 struct st_egl_image img; local
78 memset(&img, 0, sizeof(img));
79 if (gdpy->smapi->get_egl_image(gdpy->smapi, egl_image, &img))
80 resource = img.texture;
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
H A Dradeon_mipmap_tree.c491 radeon_texture_image *img = get_radeon_texture_image(texObj->base.Image[0][level]); local
494 if (!img)
497 if (!img->mt)
501 if (mts[i] == img->mt) {
503 mtSizes[i] += img->mt->levels[img->base.Base.Level].size;
508 if (!found && radeon_miptree_matches_texture(img->mt, &texObj->base)) {
509 mtSizes[mtCount] = img->mt->levels[img->base.Base.Level].size;
510 mts[mtCount] = img
574 radeon_texture_image *img; local
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
H A Dradeon_mipmap_tree.c491 radeon_texture_image *img = get_radeon_texture_image(texObj->base.Image[0][level]); local
494 if (!img)
497 if (!img->mt)
501 if (mts[i] == img->mt) {
503 mtSizes[i] += img->mt->levels[img->base.Base.Level].size;
508 if (!found && radeon_miptree_matches_texture(img->mt, &texObj->base)) {
509 mtSizes[mtCount] = img->mt->levels[img->base.Base.Level].size;
510 mts[mtCount] = img
574 radeon_texture_image *img; local
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Ddebug.c279 struct gl_texture_image *img = texObj->Image[face][level]; local
280 if (img) {
286 buffer = (GLubyte *) malloc(img->Width * img->Height
287 * img->Depth * 4);
292 ctx->Driver.GetTexImage(ctx, GL_RGBA, GL_UNSIGNED_BYTE, buffer, img);
298 write_ppm(s, buffer, img->Width, img->Height, 4, 0, 1, 2, GL_FALSE);
614 _mesa_print_texture(struct gl_context *ctx, struct gl_texture_image *img) argument
621 ctx->Driver.MapTextureImage(ctx, img, slic
[all...]
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Dscreen_capturer_x11.cc358 XFixesCursorImage* img = XFixesGetCursorImage(display()); local
359 if (!img) {
364 cursor->size = DesktopSize(img->width, img->height);
365 cursor->hotspot = DesktopVector(img->xhot, img->yhot);
372 unsigned long* src = img->pixels;
374 uint32_t* dst_end = dst + (img->width * img->height);
378 XFree(img);
[all...]
/external/libvpx/libvpx/test/
H A Dencode_test_driver.h221 virtual void DecompressedFrameHook(const vpx_image_t& img, argument
H A Dexternal_frame_buffer_test.cc110 void CheckXImageFrameBuffer(const vpx_image_t *img) { argument
111 if (img->fb_priv != NULL) {
113 reinterpret_cast<ExternalFrameBuffer*>(img->fb_priv);
115 ASSERT_TRUE(img->planes[0] >= ext_fb->data &&
116 img->planes[0] < (ext_fb->data + ext_fb->size));
223 virtual void DecompressedFrameHook(const vpx_image_t &img, argument
235 md5_res.Add(&img);
330 const vpx_image_t *img = NULL; local
333 while ((img = dec_iter.Next()) != NULL) {
334 fb_list_.CheckXImageFrameBuffer(img);
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/common/
H A Degl_g3d.c75 struct st_egl_image img; local
78 memset(&img, 0, sizeof(img));
79 if (gdpy->smapi->get_egl_image(gdpy->smapi, egl_image, &img))
80 resource = img.texture;
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dradeon_mipmap_tree.c491 radeon_texture_image *img = get_radeon_texture_image(texObj->base.Image[0][level]); local
494 if (!img)
497 if (!img->mt)
501 if (mts[i] == img->mt) {
503 mtSizes[i] += img->mt->levels[img->base.Base.Level].size;
508 if (!found && radeon_miptree_matches_texture(img->mt, &texObj->base)) {
509 mtSizes[mtCount] = img->mt->levels[img->base.Base.Level].size;
510 mts[mtCount] = img
574 radeon_texture_image *img; local
[all...]
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_mipmap_tree.c491 radeon_texture_image *img = get_radeon_texture_image(texObj->base.Image[0][level]); local
494 if (!img)
497 if (!img->mt)
501 if (mts[i] == img->mt) {
503 mtSizes[i] += img->mt->levels[img->base.Base.Level].size;
508 if (!found && radeon_miptree_matches_texture(img->mt, &texObj->base)) {
509 mtSizes[mtCount] = img->mt->levels[img->base.Base.Level].size;
510 mts[mtCount] = img
574 radeon_texture_image *img; local
[all...]
/external/mesa3d/src/mesa/main/
H A Ddebug.c279 struct gl_texture_image *img = texObj->Image[face][level]; local
280 if (img) {
286 buffer = (GLubyte *) malloc(img->Width * img->Height
287 * img->Depth * 4);
292 ctx->Driver.GetTexImage(ctx, GL_RGBA, GL_UNSIGNED_BYTE, buffer, img);
298 write_ppm(s, buffer, img->Width, img->Height, 4, 0, 1, 2, GL_FALSE);
614 _mesa_print_texture(struct gl_context *ctx, struct gl_texture_image *img) argument
621 ctx->Driver.MapTextureImage(ctx, img, slic
[all...]
/external/opencv/cv/src/
H A Dcvsamplers.cpp49 cvSampleLine( const void* img, CvPoint pt1, CvPoint pt2, argument
59 CvMat stub, *mat = (CvMat*)img;
/external/opencv/
H A Dcvjni.h149 IplImage *img = cvCreateImage(cvSize(width, height), IPL_DEPTH_8U, 3); local
154 IMAGE( img, x, y, 0 ) = pixels[x+y*width] & 0xFF;
156 IMAGE( img, x, y, 1 ) = pixels[x+y*width] >> 8 & 0xFF;
158 IMAGE( img, x, y, 2 ) = pixels[x+y*width] >> 16 & 0xFF;
162 return img;
/external/opencv/cxcore/include/
H A Dcxcore.hpp56 CvImage( IplImage* img ) : image(img)
61 CvImage( const CvImage& img ) : image(img.image), refcount(img.refcount)
97 void attach( IplImage* img, bool use_refcount=true ) argument
104 image = img;
193 CvImage& operator = (const CvImage& img) argument
195 if( img.refcount )
196 ++*img
[all...]
/external/opencv/cxcore/src/
H A Dcxmeansdv.cpp676 cvAvgSdv( const CvArr* img, CvScalar* _mean, CvScalar* _sdv, const void* mask ) argument
694 CvMat stub, maskstub, *mat = (CvMat*)img, *matmask = (CvMat*)mask;
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
H A DImage11.cpp42 Image11 *Image11::makeImage11(Image *img) argument
44 ASSERT(HAS_DYNAMIC_TYPE(rx::Image11*, img));
45 return static_cast<rx::Image11*>(img);
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
H A DImage9.cpp77 Image9 *Image9::makeImage9(Image *img) argument
79 ASSERT(HAS_DYNAMIC_TYPE(rx::Image9*, img));
80 return static_cast<rx::Image9*>(img);
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/
H A Dvp8_dx_iface.c62 vpx_image_t img; member in struct:vpx_codec_alg_priv
252 static void yuvconfig2image(vpx_image_t *img, argument
260 img->fmt = VPX_IMG_FMT_I420;
261 img->w = yv12->y_stride;
262 img->h = (yv12->y_height + 2 * VP8BORDERINPIXELS + 15) & ~15;
263 img->d_w = yv12->y_width;
264 img->d_h = yv12->y_height;
265 img->x_chroma_shift = 1;
266 img->y_chroma_shift = 1;
267 img
522 vpx_image_t *img = NULL; local
567 image2yuvconfig(const vpx_image_t *img, YV12_BUFFER_CONFIG *yv12) argument
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_resize.c488 static void fill_col_to_arr(uint8_t *img, int stride, int len, uint8_t *arr) { argument
490 uint8_t *iptr = img;
497 static void fill_arr_to_col(uint8_t *img, int stride, int len, uint8_t *arr) { argument
499 uint8_t *iptr = img;
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/
H A Dvp9_dx_iface.c41 vpx_image_t img; member in struct:vpx_codec_alg_priv
321 yuvconfig2image(&ctx->img, &sd, user_priv);
322 ctx->img.fb_priv = cm->frame_bufs[cm->new_fb_idx].raw_frame_buffer.priv;
433 vpx_image_t *img = NULL; local
439 img = &ctx->img;
440 img->bit_depth = (int)ctx->pbi->common.bit_depth;
441 *iter = img;
446 return img;
475 image2yuvconfig(&frame->img,
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
H A Di915_resource_texture.c159 unsigned level, unsigned img,
163 assert(!(img == 0 && level == 0) || (nblocksx == 0 && nblocksy == 0));
164 assert(img < tex->nr_images[level]);
166 tex->image_offset[level][img].nblocksx = nblocksx;
167 tex->image_offset[level][img].nblocksy = nblocksy;
170 debug_printf("%s: %p level %u, img %u (%u, %u)\n", __FUNCTION__,
171 tex, level, img, x, y);
158 i915_texture_set_image_offset(struct i915_texture *tex, unsigned level, unsigned img, unsigned nblocksx, unsigned nblocksy) argument
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/dri/drm/
H A Ddri2.c421 __DRIimage *img; local
426 img = loader->lookupEGLImage(screen->sPriv,
429 return img;
438 __DRIimage *img; local
466 img = CALLOC_STRUCT(__DRIimageRec);
467 if (!img)
484 img->texture = screen->base.screen->resource_from_handle(screen->base.screen,
486 if (!img->texture) {
487 FREE(img);
491 img
518 __DRIimage *img; local
629 __DRIimage *img; local
665 __DRIimage *img; local
713 __DRIimage *img; local
731 dri2_destroy_image(__DRIimage *img) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dimage.c207 static struct pipe_resource *image_texture(struct vg_image *img) argument
209 struct pipe_resource *tex = img->sampler_view->texture;
214 static void image_cleari(struct vg_image *img, VGint clear_colori, argument
225 dwidth = MIN2(width, img->width);
226 dheight = MIN2(height, img->height);
228 image_sub_data(img, clearbuf, width * sizeof(VGint),
296 void image_destroy(struct vg_image *img) argument
299 vg_context_remove_object(ctx, &img->base);
302 if (img->parent) {
303 /* remove img fro
358 image_clear(struct vg_image *img, VGint x, VGint y, VGint width, VGint height) argument
525 image_draw(struct vg_image *img, struct matrix *matrix) argument
627 image_bind_samplers(struct vg_image *img, struct pipe_sampler_state **samplers, struct pipe_sampler_view **sampler_views) argument
[all...]

Completed in 469 milliseconds

1234567891011>>