/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_pixel_buffer.cpp | 365 uint32 plane, in dng_pixel_buffer() 372 , fPlane (plane) in dng_pixel_buffer() 543 uint32 plane, in SetConstant() 553 plane); in SetConstant() 669 uint32 plane, in SetZero() 702 plane, in SetZero() 1513 uint32 plane, in EqualArea() 1522 plane); in EqualArea() 1526 plane); in EqualArea() 1645 for (uint32 plane in MaxDiff() 364 dng_pixel_buffer(const dng_rect &area, uint32 plane, uint32 planes, uint32 pixelType, uint32 planarConfiguration, void *data) dng_pixel_buffer() argument 542 SetConstant(const dng_rect &area, uint32 plane, uint32 planes, uint32 value) SetConstant() argument 668 SetZero(const dng_rect &area, uint32 plane, uint32 planes) SetZero() argument 1511 EqualArea(const dng_pixel_buffer &src, const dng_rect &area, uint32 plane, uint32 planes) const EqualArea() argument 1739 MaximumDifference(const dng_pixel_buffer &rhs, const dng_rect &area, uint32 plane, uint32 planes) const MaximumDifference() argument [all...] |
H A D | dng_resample.cpp | 737 for (uint32 plane = 0; plane < dstBuffer.fPlanes; plane++) in ProcessArea() 742 plane); in ProcessArea() 753 plane); in ProcessArea() 791 for (uint32 plane = 0; plane < dstBuffer.fPlanes; plane++) in ProcessArea() 796 plane); in ProcessArea() 808 plane); in ProcessArea() [all...] |
H A D | dng_linearization_info.h | 92 /// Single white level (maximum sensor value) for each sample plane. 115 /// Compute the maximum black level for a given sample plane taking into account base 118 real64 MaxBlackLevel (uint32 plane) const; 129 /// Compute black level for one coordinate and sample plane in the image. 132 /// \param plane Sample plane to compute black level for. 136 uint32 plane) const;
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_program_opencl.c | 94 int err, input, plane; in program_opencl_run() local 108 for (plane = 0; plane < FF_ARRAY_ELEMS(output->data); plane++) { in program_opencl_run() 109 dst = (cl_mem)output->data[plane]; in program_opencl_run() 131 src = (cl_mem)ctx->frames[input]->data[plane]; in program_opencl_run() 144 output, plane, 0); in program_opencl_run() 148 av_log(avctx, AV_LOG_DEBUG, "Run kernel on plane %d " in program_opencl_run() 150 plane, global_work[0], global_work[1]); in program_opencl_run()
|
H A D | vf_w3fdif.c | 40 int linesize[4]; ///< bytes of pixel data per line for each plane 41 int planeheight[4]; ///< height of each plane 360 int jobnr, int nb_jobs, int plane) in deinterlace_plane_slice() 371 uint8_t *cur_data = cur->data[plane]; in deinterlace_plane_slice() 372 uint8_t *adj_data = adj->data[plane]; in deinterlace_plane_slice() 373 uint8_t *dst_data = out->data[plane]; in deinterlace_plane_slice() 374 const int linesize = s->linesize[plane]; in deinterlace_plane_slice() 375 const int height = s->planeheight[plane]; in deinterlace_plane_slice() 376 const int cur_line_stride = cur->linesize[plane]; in deinterlace_plane_slice() 377 const int adj_line_stride = adj->linesize[plane]; in deinterlace_plane_slice() 359 deinterlace_plane_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs, int plane) deinterlace_plane_slice() argument [all...] |
H A D | vf_minterpolate.c | 910 int x, y, plane; in set_frame_data() local 912 for (plane = 0; plane < mi_ctx->nb_planes; plane++) { in set_frame_data() 915 int chroma = plane == 1 || plane == 2; in set_frame_data() 953 val += pixel_weights->weights[i] * frame->avf->data[plane][x_mv + y_mv * frame->avf->linesize[plane]]; in set_frame_data() 959 avf_out->data[plane][(x >> mi_ctx->log2_chroma_w) + (y >> mi_ctx->log2_chroma_h) * avf_out->linesize[plane]] in set_frame_data() 1075 int plane, alpha; interpolate() local [all...] |
H A D | vf_convolution.c | 40 { "0m", "set matrix for 1st plane", OFFSET(matrix_str[0]), AV_OPT_TYPE_STRING, {.str="0 0 0 0 1 0 0 0 0"}, 0, 0, FLAGS }, 41 { "1m", "set matrix for 2nd plane", OFFSET(matrix_str[1]), AV_OPT_TYPE_STRING, {.str="0 0 0 0 1 0 0 0 0"}, 0, 0, FLAGS }, 42 { "2m", "set matrix for 3rd plane", OFFSET(matrix_str[2]), AV_OPT_TYPE_STRING, {.str="0 0 0 0 1 0 0 0 0"}, 0, 0, FLAGS }, 43 { "3m", "set matrix for 4th plane", OFFSET(matrix_str[3]), AV_OPT_TYPE_STRING, {.str="0 0 0 0 1 0 0 0 0"}, 0, 0, FLAGS }, 44 { "0rdiv", "set rdiv for 1st plane", OFFSET(rdiv[0]), AV_OPT_TYPE_FLOAT, {.dbl=0.0}, 0.0, INT_MAX, FLAGS}, 45 { "1rdiv", "set rdiv for 2nd plane", OFFSET(rdiv[1]), AV_OPT_TYPE_FLOAT, {.dbl=0.0}, 0.0, INT_MAX, FLAGS}, 46 { "2rdiv", "set rdiv for 3rd plane", OFFSET(rdiv[2]), AV_OPT_TYPE_FLOAT, {.dbl=0.0}, 0.0, INT_MAX, FLAGS}, 47 { "3rdiv", "set rdiv for 4th plane", OFFSET(rdiv[3]), AV_OPT_TYPE_FLOAT, {.dbl=0.0}, 0.0, INT_MAX, FLAGS}, 48 { "0bias", "set bias for 1st plane", OFFSET(bias[0]), AV_OPT_TYPE_FLOAT, {.dbl=0.0}, 0.0, INT_MAX, FLAGS}, 49 { "1bias", "set bias for 2nd plane", OFFSE 637 int plane; filter_slice() local [all...] |
H A D | vf_estdif.c | 42 int linesize[4]; ///< bytes of pixel data per line for each plane 43 int planewidth[4]; ///< width of each plane 44 int planeheight[4]; ///< height of each plane 353 for (int plane = 0; plane < s->nb_planes; plane++) { in deinterlace_slice() 354 const uint8_t *src_data = in->data[plane]; in deinterlace_slice() 355 uint8_t *dst_data = out->data[plane]; in deinterlace_slice() 356 const int linesize = s->linesize[plane]; in deinterlace_slice() 357 const int width = s->planewidth[plane]; in deinterlace_slice() [all...] |
H A D | vf_zscale.c | 648 int ret = 0, plane, planes; in realign_frame() local 652 for (plane = 0; plane < planes; plane++) { in realign_frame() 653 int p = desc->comp[plane].plane; in realign_frame() 731 p = td->desc->comp[i].plane; in filter_slice() 733 src_buf.plane[i].data = td->in->data[p]; in filter_slice() 734 src_buf.plane[i].stride = td->in->linesize[p]; in filter_slice() 735 src_buf.plane[ in filter_slice() [all...] |
/third_party/mesa3d/src/gbm/main/ |
H A D | gbm.c | 184 /** Get the stride for the given plane 187 * \param plane for which you want the stride 192 gbm_bo_get_stride_for_plane(struct gbm_bo *bo, int plane) in gbm_bo_get_stride_for_plane() argument 194 return bo->gbm->v0.bo_get_stride(bo, plane); in gbm_bo_get_stride_for_plane() 284 /** Get the offset for the data of the specified plane 286 * Extra planes, and even the first plane, may have an offset from the start of 287 * the buffer object. This function will provide the offset for the given plane 294 gbm_bo_get_offset(struct gbm_bo *bo, int plane) in gbm_bo_get_offset() argument 296 return bo->gbm->v0.bo_get_offset(bo, plane); in gbm_bo_get_offset() 352 /** Get the handle for the specified plane o 365 gbm_bo_get_handle_for_plane(struct gbm_bo *bo, int plane) gbm_bo_get_handle_for_plane() argument 385 gbm_bo_get_fd_for_plane(struct gbm_bo *bo, int plane) gbm_bo_get_fd_for_plane() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | snowdec.c | 33 Plane *p= &s->plane[plane_index]; in predict_slice_buffered() 282 if (plane_index==2) q= s->plane[1].band[level][orientation].qlog; in decode_qlogs() 283 else if(orientation==2) q= s->plane[plane_index].band[level][1].qlog; in decode_qlogs() 285 s->plane[plane_index].band[level][orientation].qlog= q; in decode_qlogs() 361 Plane *p= &s->plane[plane_index]; in decode_header() 377 s->plane[2].diag_mc= s->plane[1].diag_mc; in decode_header() 378 s->plane[2].htaps = s->plane[1].htaps; in decode_header() 379 memcpy(s->plane[ in decode_header() [all...] |
H A D | vc1dec.c | 181 int i, plane, row, sprite; in vc1_draw_sprites() local 199 for (plane = 0; plane < (CONFIG_GRAY && s->avctx->flags & AV_CODEC_FLAG_GRAY ? 1 : 3); plane++) { in vc1_draw_sprites() 200 int width = v->output_width>>!!plane; in vc1_draw_sprites() 202 for (row = 0; row < v->output_height>>!!plane; row++) { in vc1_draw_sprites() 203 uint8_t *dst = v->sprite_output_frame->data[plane] + in vc1_draw_sprites() 204 v->sprite_output_frame->linesize[plane] * row; in vc1_draw_sprites() 207 uint8_t *iplane = s->current_picture.f->data[plane]; in vc1_draw_sprites() 208 int iline = s->current_picture.f->linesize[plane]; in vc1_draw_sprites() 313 int plane, i; vc1_sprite_flush() local [all...] |
H A D | vble.c | 86 GetBitContext *gb, int plane, in vble_restore_plane() 89 uint8_t *dst = pic->data[plane]; in vble_restore_plane() 91 int stride = pic->linesize[plane]; in vble_restore_plane() 85 vble_restore_plane(VBLEContext *ctx, AVFrame *pic, GetBitContext *gb, int plane, int offset, int width, int height) vble_restore_plane() argument
|
H A D | hq_hqa.c | 52 int plane, int x, int y, int ilace, in put_blocks() 55 uint8_t *p = pic->data[plane] + x; in put_blocks() 57 c->hqhqadsp.idct_put(p + y * pic->linesize[plane], in put_blocks() 58 pic->linesize[plane] << ilace, block0); in put_blocks() 59 c->hqhqadsp.idct_put(p + (y + (ilace ? 1 : 8)) * pic->linesize[plane], in put_blocks() 60 pic->linesize[plane] << ilace, block1); in put_blocks() 51 put_blocks(HQContext *c, AVFrame *pic, int plane, int x, int y, int ilace, int16_t *block0, int16_t *block1) put_blocks() argument
|
H A D | cinepakenc.c | 703 int x, y, i, j, k, x2, y2, x3, y3, plane, shift, mbn; in quantize() local 727 plane = y2 < 4 ? 0 : 1 + (x2 >> 1); in quantize() 731 base[j] = (data[plane][((x + x3) >> shift) + ((y + y3) >> shift) * linesize[plane]] + in quantize() 732 data[plane][((x + x3) >> shift) + 1 + ((y + y3) >> shift) * linesize[plane]] + in quantize() 733 data[plane][((x + x3) >> shift) + (((y + y3) >> shift) + 1) * linesize[plane]] + in quantize() 734 data[plane][((x + x3) >> shift) + 1 + (((y + y3) >> shift) + 1) * linesize[plane]]) >> in quantize() [all...] |
H A D | vc2enc.c | 119 Plane *plane; member 129 Plane plane[3]; member 578 SubBand *b = &s->plane[p].band[level][orientation]; in count_hq_slice() 754 &s->plane[p].band[level][orientation], in encode_hq_slice() 846 const Plane *p = transform_dat->plane; in dwt_plane() 908 s->transform_args[i].plane = &s->plane[i]; in encode_frame() 1015 av_freep(&s->plane[i].coef_buf); in vc2_encode_end() 1129 p = &s->plane[i]; in vc2_encode_init() 1155 s->plane[ in vc2_encode_init() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLIOSurfaceClientBufferTest.cpp | 95 for (const IOSurfacePlaneInfo &plane : planes) in CreateIOSurface() 100 AddIntegerValue(planeInfo, kIOSurfacePlaneWidth, plane.width); in CreateIOSurface() 101 AddIntegerValue(planeInfo, kIOSurfacePlaneHeight, plane.height); in CreateIOSurface() 102 AddIntegerValue(planeInfo, kIOSurfacePlaneBytesPerElement, plane.bytesPerElement); in CreateIOSurface() 173 EGLint plane, in createIOSurfacePbuffer() 182 EGL_IOSURFACE_PLANE_ANGLE, plane, in createIOSurfacePbuffer() 200 EGLint plane, in bindIOSurfaceToTexture() 206 createIOSurfacePbuffer(ioSurface, width, height, plane, internalFormat, type, pbuffer); in bindIOSurfaceToTexture() 218 EGLint plane, in doClearTest() 224 doClearTest(ioSurface, width, height, plane, internalForma in doClearTest() 170 createIOSurfacePbuffer(const ScopedIOSurfaceRef &ioSurface, EGLint width, EGLint height, EGLint plane, GLenum internalFormat, GLenum type, EGLSurface *pbuffer) const createIOSurfacePbuffer() argument 197 bindIOSurfaceToTexture(const ScopedIOSurfaceRef &ioSurface, EGLint width, EGLint height, EGLint plane, GLenum internalFormat, GLenum type, EGLSurface *pbuffer, GLTexture *texture) const bindIOSurfaceToTexture() argument 215 doClearTest(const ScopedIOSurfaceRef &ioSurface, EGLint width, EGLint height, EGLint plane, GLenum internalFormat, GLenum type, const GLColor &data) doClearTest() argument 228 doClearTest(const ScopedIOSurfaceRef &ioSurface, EGLint width, EGLint height, EGLint plane, GLenum internalFormat, GLenum type, const std::array<T, dataSize> &data) doClearTest() argument 296 doSampleTest(const ScopedIOSurfaceRef &ioSurface, EGLint width, EGLint height, EGLint plane, GLenum internalFormat, GLenum type, void *data, size_t dataSize, int mask) doSampleTest() argument [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_clip_disable.c | 34 * value if the plane is disabled 38 * then overwrite it if that plane isn't enabled 44 /* store the original value again if the clip plane is enabled */ in recursive_if_chain() 67 unsigned plane; in lower_clip_plane_store() local 99 plane = nir_src_as_uint(deref->arr.index); in lower_clip_plane_store() 100 /* no need to make changes if the clip plane is enabled */ in lower_clip_plane_store() 101 if (clip_plane_enable & (1 << plane)) in lower_clip_plane_store()
|
/third_party/skia/src/gpu/ |
H A D | GrYUVATextureProxies.cpp | 104 int plane = fYUVALocations[i].fPlane; in GrYUVATextureProxies() local 105 if (plane >= 0) { in GrYUVATextureProxies() 107 switch (views[plane].swizzle()[chanAsIdx]) { in GrYUVATextureProxies()
|
/third_party/skia/src/core/ |
H A D | SkYUVAInfo.cpp | 194 struct PlaneAndIndex {int plane, chanIdx;}; in GetYUVALocations() member 264 auto [plane, chanIdx] = planesAndIndices[i]; in GetYUVALocations() 266 if (plane >= 0) { in GetYUVALocations() 267 if (!channel_index_to_channel(planeChannelFlags[plane], chanIdx, &channel)) { in GetYUVALocations() 270 yuvaLocations[i] = {plane, channel}; in GetYUVALocations()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_clip.c | 71 float (*plane)[4]; member 307 * this function extracts the clip distance for the current plane, 315 const float *plane; in getclipdist() local 319 plane = clipper->plane[plane_idx]; in getclipdist() 320 dp = dot4(vert->clip_pos, plane); in getclipdist() 332 plane = clipper->plane[plane_idx]; in getclipdist() 334 dp = dot4(vert->data[clipper->cv_attr], plane); in getclipdist() 337 dp = dot4(vert->clip_pos, plane); in getclipdist() [all...] |
H A D | draw_cliptest_tmp.h | 36 /* const */ float (*plane)[4] = pvs->draw->plane; in do_cliptest() 66 * that means we're expected to do 'user plane clipping' */ in do_cliptest() 143 * to decide when the plane is clipping. in do_cliptest() 156 if (!(dot4(clipvertex, plane[plane_idx]) >= 0)) in do_cliptest()
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
H A D | rrRenderer.cpp | 157 * Calculate the intersection of line segment v0-v1 and a given plane. Line 165 const ClipFloat plane) in getSegmentVolumeEdgeClip() 169 return (plane*w0 - v0) / ((v1 - v0) - plane*(w1 - w0) + std::numeric_limits<ClipFloat>::epsilon()); in getSegmentVolumeEdgeClip() 250 // even if the another point is not on the plane. Prevent clipping ratio from saturating by using points on line in getLineIntersectionPoint() 251 // that are (nearly) on this and (nearly) on the opposite plane. in getLineIntersectionPoint() 257 // Find intersection point of line from v0 to v1 and the current plane. Avoid ratios near 1.0 in getLineIntersectionPoint() 278 void clipTriangleOneVertex (std::vector<TriangleVertex>& clippedEdges, const ClipVolumePlane& plane, const TriangleVertex& clipped, const TriangleVertex& v1, const TriangleVertex& v2) in clipTriangleOneVertex() argument 292 const ClipFloat hitDist = plane.clipLineSegmentEnd(inside.position, outside.position); in clipTriangleOneVertex() 304 middle.position = plane in clipTriangleOneVertex() 161 getSegmentVolumeEdgeClip(const ClipFloat v0, const ClipFloat w0, const ClipFloat v1, const ClipFloat w1, const ClipFloat plane) getSegmentVolumeEdgeClip() argument 352 clipTriangleTwoVertices(std::vector<TriangleVertex>& clippedEdges, const ClipVolumePlane& plane, const TriangleVertex& v0, const TriangleVertex& clipped1, const TriangleVertex& clipped2) clipTriangleTwoVertices() argument 440 clipTriangleToPlane(std::vector<TriangleVertex>& clippedEdges, const TriangleVertex* vertices, const ClipVolumePlane& plane) clipTriangleToPlane() argument 555 const ClipVolumePlane* plane = planes[planeNdx]; clipPrimitives() local [all...] |
/third_party/ffmpeg/libswscale/ |
H A D | gamma.c | 38 uint8_t ** src = desc->src->plane[0].line; in gamma_convert() 39 int src_pos = sliceY+i - desc->src->plane[0].sliceY; in gamma_convert()
|
/third_party/skia/third_party/externals/angle2/include/CL/ |
H A D | cl_dx9_media_sharing.h | 94 cl_uint plane, 179 UINT plane, 187 UINT plane,
|