/external/libvpx/libvpx/vpx/src/ |
H A D | vpx_encoder.c | 196 vpx_codec_err_t vpx_codec_encode(vpx_codec_ctx_t *ctx, const vpx_image_t *img, argument 202 if (!ctx || (img && !duration)) 217 res = ctx->iface->enc.encode(get_alg_priv(ctx), img, pts, duration, flags, 228 if (img) img += num_enc - 1; 231 if ((res = ctx->iface->enc.encode(get_alg_priv(ctx), img, pts, duration, 236 if (img) img--; 314 vpx_image_t *img = NULL; local 324 img [all...] |
/external/libvpx/libvpx/vpx/ |
H A D | vp8.h | 112 vpx_image_t img; /**< reference frame data in image format */ member in struct:vpx_ref_frame 121 vpx_image_t img; /**< img structure to populate (output) */ member in struct:vp9_ref_frame
|
/external/mesa3d/src/gallium/drivers/ilo/core/ |
H A D | ilo_state_zs.c | 65 const struct ilo_image *img = (info->z_img) ? info->z_img : info->s_img; local 101 if (info->type != img->type) { 103 img->type == GEN6_SURFTYPE_CUBE); 135 assert(info->level < img->level_count); 136 assert(img->bo_stride); 144 assert(img->width0 == img->height0); 182 const struct ilo_image *img, 212 switch (img->sample_count) { 246 const struct ilo_image *img local 181 get_gen6_hiz_alignments(const struct ilo_dev *dev, const struct ilo_image *img, uint16_t *align_w, uint16_t *align_h) argument 285 const struct ilo_image *img = (info->z_img) ? info->z_img : info->s_img; local 508 const struct ilo_image *img = info->s_img; local 575 const struct ilo_image *img = info->z_img; local [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_image.c | 793 struct sp_tgsi_image *img = CALLOC_STRUCT(sp_tgsi_image); local 794 if (!img) 797 img->base.load = sp_tgsi_load; 798 img->base.store = sp_tgsi_store; 799 img->base.op = sp_tgsi_op; 800 img->base.get_dims = sp_tgsi_get_dims; 801 return img;
|
/external/mesa3d/src/gallium/state_trackers/clover/api/ |
H A D | memory.cpp | 325 auto &img = obj<image>(d_mem); local 329 buf.as_scalar<cl_image_format>() = img.format(); 337 buf.as_scalar<size_t>() = img.row_pitch(); 341 buf.as_scalar<size_t>() = img.slice_pitch(); 345 buf.as_scalar<size_t>() = img.width(); 349 buf.as_scalar<size_t>() = img.height(); 353 buf.as_scalar<size_t>() = img.depth();
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
H A D | kernel.cpp | 192 auto img = dynamic_cast<image_argument &>(**(explicit_arg - 1)).get(); local 194 static_cast<cl_uint>(img->width()), 195 static_cast<cl_uint>(img->height()), 196 static_cast<cl_uint>(img->depth())}; 206 auto img = dynamic_cast<image_argument &>(**(explicit_arg - 1)).get(); local 207 cl_image_format fmt = img->format(); 516 img = &obj<image>(*(cl_mem *)value); 530 st = img->resource(*ctx.q).bind_sampler_view(*ctx.q); 536 img->resource(*ctx.q).unbind_sampler_view(*ctx.q, st); 547 img [all...] |
H A D | kernel.hpp | 196 return img; 199 image *img; member in class:clover::kernel::image_argument
|
/external/mesa3d/src/gallium/state_trackers/dri/ |
H A D | dri_screen.c | 326 __DRIimage *img = NULL; local 329 img = screen->lookup_egl_image(screen, egl_image); 332 if (!img) 336 pipe_resource_reference(&stimg->texture, img->texture); 337 switch (img->dri_components) { 345 stimg->format = img->texture->format; 348 stimg->level = img->level; 349 stimg->layer = img->layer;
|
/external/mesa3d/src/gallium/state_trackers/va/ |
H A D | image.c | 103 VAImage *img; local 114 img = CALLOC(1, sizeof(VAImage)); 115 if (!img) 118 img->image_id = handle_table_add(drv->htab, img); 121 img->format = *format; 122 img->width = width; 123 img->height = height; 129 img->num_planes = 2; 130 img 187 VAImage *img; local [all...] |
H A D | subpicture.c | 70 VAImage *img; local 77 img = handle_table_get(drv->htab, image); 78 if (!img) { 89 sub->image = img; 126 VAImage *img; local 134 img = handle_table_get(drv->htab, image); 135 if (!img) { 145 sub->image = img;
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_wm.c | 314 const struct gl_texture_image *img = t->Image[0][t->BaseLevel]; local 318 (img->_BaseFormat == GL_DEPTH_COMPONENT || 319 img->_BaseFormat == GL_DEPTH_STENCIL); 340 switch (img->InternalFormat) { 378 key->gen6_gather_wa[s] = gen6_gather_workaround(img->InternalFormat);
|
H A D | intel_tex.c | 25 intelDeleteTextureImage(struct gl_context * ctx, struct gl_texture_image *img) argument 28 _mesa_delete_texture_image(ctx, img);
|
/external/mesa3d/src/mesa/main/ |
H A D | shaderimage.c | 496 struct gl_texture_image *img = (t->Target == GL_TEXTURE_CUBE_MAP ? local 500 if (!img || img->Border || img->NumSamples > ctx->Const.MaxImageSamples) 503 tex_format = _mesa_get_shader_image_format(img->InternalFormat);
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_drawtex.c | 208 const struct gl_texture_image *img = _mesa_base_tex_image(obj); local 209 const GLfloat wt = (GLfloat) img->Width; 210 const GLfloat ht = (GLfloat) img->Height;
|
/external/opencv/cv/src/ |
H A D | cvfeatureselect.cpp | 80 CvMat stub, *img = (CvMat*)image; local 91 CV_CALL( img = cvGetMat( img, &stub, &coi1 )); 98 CV_CALL( _eigImg = cvCreateMat( img->rows, img->cols, CV_32FC1 )); 108 CV_CALL( _tmpImg = cvCreateMat( img->rows, img->cols, CV_32FC1 )); 124 if( CV_MAT_CN(img->type) != 1 || 144 CV_CALL( cvCornerHarris( img, eig, block_size, 3, harris_k )); 148 CV_CALL( cvCornerMinEigenVal( img, ei [all...] |
/external/opencv/cvaux/src/ |
H A D | cvfacedetection.cpp | 239 }// void FaceDetection::DrawResult(IplImage* img) 287 void FaceDetection::FindFace(IplImage *img) argument 290 FindContours(img); 295 PostBoostingFindCandidats(img); 299 }// void FaceDetection::FindFace(IplImage *img)
|
H A D | cvhmmobs.cpp | 49 // Parameters: img - pointer to the original image ROI 117 icvImgToObs_DCT_8u32f_C1R( uchar * img, int imgStep, CvSize roi, argument 139 if( !img || !obs ) 170 for( y = 0; y < Ny; y++, img += delta.height * imgStep ) 184 is = img[x + m1 * imgStep]; 191 float t0 = img[x + j * imgStep]; 192 float t1 = img[x + (n1 - 1 - j) * imgStep]; 312 icvImgToObs_DCT_32f_C1R( float * img, int imgStep, CvSize roi, argument 334 if( !img || !obs ) 365 imgStep /= sizeof(img[ [all...] |
/external/opencv/cxcore/src/ |
H A D | cxmean.cpp | 382 cvAvg( const void* img, const void* maskarr ) argument 399 CV_CALL( mean = cvSum(img)); 400 size = cvGetSize( img ); 414 CvMat stub, maskstub, *mat = (CvMat*)img, *mask = (CvMat*)maskarr;
|
H A D | cxminmaxloc.cpp | 287 cvMinMaxLoc( const void* img, double* _minVal, double* _maxVal, argument 301 CvMat stub, maskstub, *mat = (CvMat*)img, *matmask = (CvMat*)mask;
|
/external/opencv/otherlibs/highgui/ |
H A D | cvcap_socket.cpp | 190 IplImage *img = cvCreateImage(cvSize(width, height), IPL_DEPTH_8U, 3); local 196 IMAGE( img, x, y, 0 ) = pixels[pos + 3] & 0xFF; 198 IMAGE( img, x, y, 1 ) = pixels[pos + 2] & 0xFF; 200 IMAGE( img, x, y, 2 ) = pixels[pos + 1] & 0xFF; 204 return img;
|
H A D | grfmt_jpeg2000.cpp | 179 jas_image_t *img = jas_image_chclrspc( m_image, clrprof, JAS_CMXFORM_INTENT_RELCLR ); local 180 if( img ) 183 m_image = img; 420 jas_image_t *img = jas_image_create( channels, component_info, (channels == 1) ? JAS_CLRSPC_SGRAY : JAS_CLRSPC_SRGB ); local 421 if( !img ) 425 jas_image_setcmpttype( img, 0, JAS_IMAGE_CT_GRAY_Y ); 428 jas_image_setcmpttype( img, 0, JAS_IMAGE_CT_RGB_B ); 429 jas_image_setcmpttype( img, 1, JAS_IMAGE_CT_RGB_G ); 430 jas_image_setcmpttype( img, 2, JAS_IMAGE_CT_RGB_R ); 435 result = WriteComponent8u( img, dat 455 WriteComponent8u( jas_image_t *img, const uchar *data, int step, int ncmpts, int w, int h ) argument 478 WriteComponent16u( jas_image_t *img, const unsigned short *data, int step, int ncmpts, int w, int h ) argument [all...] |
/external/skia/bench/ |
H A D | ImageCacheBudgetBench.cpp | 35 static void draw_image(SkCanvas* canvas, SkImage* img) { argument 40 canvas->drawImage(img, 0, 0, &paint);
|
/external/skia/gm/ |
H A D | tilemodes.cpp | 270 auto img = GetResourceAsImage("images/mandrill_128.png"); local 274 SkRect r = { -20, -20, img->width() + 20.0f, img->height() + 20.0f }; 278 [img](SkPaint* paint, SkShader::TileMode tx, SkShader::TileMode ty) { 279 paint->setShader(img->makeShader(tx, ty)); 281 [img](SkPaint* paint, SkShader::TileMode tx, SkShader::TileMode ty) { 283 const SkPoint pts[] = {{ 0, 0 }, {img->width()*1.0f, img->height()*1.0f }}; 288 [img](SkPaint* paint, SkShader::TileMode tx, SkShader::TileMode ty) { 292 paint->setShader(SkGradientShader::MakeRadial({ img [all...] |
/external/skia/src/core/ |
H A D | SkSpecialImage.cpp | 381 sk_sp<SkImage> img = sk_sp<SkImage>(new SkImage_Gpu(canvas->getGrContext(), variable 386 canvas->drawImageRect(img, this->subset(),
|
/external/skia/src/effects/ |
H A D | SkXfermodeImageFilter.cpp | 235 void SkXfermodeImageFilter_Base::drawForeground(SkCanvas* canvas, SkSpecialImage* img, argument 239 if (img) { 240 img->draw(canvas, SkIntToScalar(fgBounds.fLeft), SkIntToScalar(fgBounds.fTop), &paint);
|