/third_party/ffmpeg/libavfilter/dnn/ |
H A D | dnn_backend_tf.c | 286 int64_t dims[4]; in get_input_tf() local 300 TF_GraphGetTensorShape(tf_model->graph, tf_output, dims, 4, status); in get_input_tf() 309 av_assert0(dims[0] == 1 || dims[0] == -1); in get_input_tf() 310 input->height = dims[1]; in get_input_tf() 311 input->width = dims[2]; in get_input_tf() 312 input->channels = dims[3]; in get_input_tf() 504 int64_t dims[4]; in add_conv_layer() local 515 dims[0] = params->output_num; in add_conv_layer() 516 dims[ in add_conv_layer() [all...] |
H A D | dnn_backend_native_layer_maximum.c | 62 output->dims[i] = input->dims[i]; in ff_dnn_execute_layer_maximum()
|
H A D | dnn_backend_native_layer_mathunary.c | 65 output->dims[i] = input->dims[i]; in ff_dnn_execute_layer_math_unary()
|
H A D | dnn_backend_native_layer_mathbinary.c | 156 output->dims[i] = input->dims[i]; in ff_dnn_execute_layer_math_binary()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_sample_soa.c | 92 const unsigned dims = bld->dims; in lp_build_sample_texel_soa() local 109 if (dims >= 2 && in lp_build_sample_texel_soa() 125 if (dims == 3 && in lp_build_sample_texel_soa() 874 const unsigned dims = bld->dims; in lp_build_sample_image_nearest() local 907 if (dims >= 2) { in lp_build_sample_image_nearest() 914 if (dims == 3) { in lp_build_sample_image_nearest() 1025 const unsigned dims = bld->dims; in lp_build_sample_image_linear() local 3106 unsigned dims = bld->dims, chan; lp_build_fetch_texel() local 3314 const unsigned dims = texture_dims(target); lp_build_sample_soa_code() local 3934 unsigned dims = texture_dims(target); get_target_info() local 4407 const unsigned dims = texture_dims(target); lp_build_size_query_soa() local 4676 const unsigned dims = texture_dims(target); lp_build_img_op_soa() local [all...] |
H A D | lp_bld_tgsi_soa.c | 2474 unsigned dims, i; in emit_fetch_texels() local 2500 dims = 1; in emit_fetch_texels() 2504 dims = 1; in emit_fetch_texels() 2509 dims = 2; in emit_fetch_texels() 2514 dims = 2; in emit_fetch_texels() 2517 dims = 3; in emit_fetch_texels() 2545 for (i = 0; i < dims; i++) { in emit_fetch_texels() 2549 for (i = dims; i < 5; i++) { in emit_fetch_texels() 2558 for (dim = 0; dim < dims; dim++) { in emit_fetch_texels() 3377 unsigned *dims, in target_to_dims_layer() 3376 target_to_dims_layer(enum tgsi_texture_type target, unsigned *dims, unsigned *layer_coord) target_to_dims_layer() argument 3420 unsigned dims; img_load_emit() local 3569 unsigned dims; img_store_emit() local 3718 unsigned dims; img_atomic_emit() local [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_opt_uniform_atomics.c | 164 unsigned dims = 0; in is_atomic_already_optimized() local 175 dims |= match_invocation_comparison(cond); in is_atomic_already_optimized() 184 if ((dims & dims_needed) == dims_needed) in is_atomic_already_optimized() 188 return dims & 0x8; in is_atomic_already_optimized()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_texture.c | 195 unsigned dims; in copy_to_staging_dest() local 209 dims = _mesa_get_texture_dimensions(gl_target); in copy_to_staging_dest() 222 void *dest = _mesa_image_address(dims, &ctx->Pack, pixels, in copy_to_staging_dest() 255 void *dest = _mesa_image_address(dims, &ctx->Pack, pixels, in copy_to_staging_dest() 1587 try_pbo_upload(struct gl_context *ctx, GLuint dims, in try_pbo_upload() argument 1670 if (!st_pbo_addresses_pixelstore(st, gl_target, dims == 3, unpack, pixels, in try_pbo_upload() 1718 GLuint dims; in try_pbo_download() local 1732 dims = _mesa_get_texture_dimensions(gl_target); in try_pbo_download() 1760 if (!st_pbo_addresses_pixelstore(st, gl_target, dims == 3, pack, pixels, &addr)) in try_pbo_download() 1879 st_TexSubImage(struct gl_context *ctx, GLuint dims, in st_TexSubImage() argument 2158 st_TexImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *unpack) st_TexImage() argument 2213 st_CompressedTexSubImage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *texImage, GLint x, GLint y, GLint z, GLsizei w, GLsizei h, GLsizei d, GLenum format, GLsizei imageSize, const void *data) st_CompressedTexSubImage() argument 2352 st_CompressedTexImage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *texImage, GLsizei imageSize, const void *data) st_CompressedTexImage() argument 2655 const GLint dims = 2; fallback_copy_texsubimage() local 2742 st_CopyTexSubImage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *texImage, GLint destX, GLint destY, GLint slice, struct gl_renderbuffer *rb, GLint srcX, GLint srcY, GLsizei width, GLsizei height) st_CopyTexSubImage() argument [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | teximage.h | 231 _mesa_texture_sub_image(struct gl_context *ctx, GLuint dims, 241 _mesa_texture_storage_ms_memory(struct gl_context *ctx, GLuint dims, 254 _mesa_sparse_texture_error_check(struct gl_context *ctx, GLuint dims,
|
H A D | pack.h | 101 _mesa_unpack_color_index_to_rgba_float(struct gl_context *ctx, GLuint dims, 108 _mesa_unpack_color_index_to_rgba_ubyte(struct gl_context *ctx, GLuint dims,
|
H A D | texobj.c | 942 GLuint dims, face, numFaces = 1; in _mesa_get_fallback_texture() local 954 dims = 3; in _mesa_get_fallback_texture() 958 dims = 2; in _mesa_get_fallback_texture() 962 dims = 2; in _mesa_get_fallback_texture() 967 dims = 3; in _mesa_get_fallback_texture() 971 dims = 2; in _mesa_get_fallback_texture() 975 dims = 2; in _mesa_get_fallback_texture() 979 dims = 1; in _mesa_get_fallback_texture() 983 dims = 0; in _mesa_get_fallback_texture() 987 dims in _mesa_get_fallback_texture() [all...] |
H A D | externalobjects.c | 331 texstorage_memory(GLuint dims, GLenum target, GLsizei levels, in texstorage_memory() argument 346 if (!_mesa_is_legal_tex_storage_target(ctx, dims, target)) { in texstorage_memory() 369 _mesa_texture_storage_memory(ctx, dims, texObj, memObj, target, in texstorage_memory() 375 texstorage_memory_ms(GLuint dims, GLenum target, GLsizei samples, in texstorage_memory_ms() argument 398 _mesa_texture_storage_ms_memory(ctx, dims, texObj, memObj, target, samples, in texstorage_memory_ms() 407 texturestorage_memory(GLuint dims, GLuint texture, GLsizei levels, in texturestorage_memory() argument 434 if (!_mesa_is_legal_tex_storage_target(ctx, dims, texObj->Target)) { in texturestorage_memory() 445 _mesa_texture_storage_memory(ctx, dims, texObj, memObj, texObj->Target, in texturestorage_memory() 451 texturestorage_memory_ms(GLuint dims, GLuint texture, GLsizei samples, in texturestorage_memory_ms() argument 474 _mesa_texture_storage_ms_memory(ctx, dims, texOb in texturestorage_memory_ms() [all...] |
H A D | texcompress_rgtc.c | 98 _mesa_texstore(ctx, dims, in _mesa_texstore_red_rgtc1() 151 _mesa_texstore(ctx, dims, in _mesa_texstore_signed_red_rgtc1() 210 _mesa_texstore(ctx, dims, in _mesa_texstore_rg_rgtc2() 275 _mesa_texstore(ctx, dims, in _mesa_texstore_signed_rg_rgtc2()
|
H A D | texcompress_s3tc.c | 72 _mesa_texstore(ctx, dims, in _mesa_texstore_rgb_dxt1() 125 _mesa_texstore(ctx, dims, in _mesa_texstore_rgba_dxt1() 180 _mesa_texstore(ctx, dims, in _mesa_texstore_rgba_dxt3() 234 _mesa_texstore(ctx, dims, in _mesa_texstore_rgba_dxt5()
|
/kernel/linux/linux-6.6/include/media/ |
H A D | v4l2-ctrls.h | 213 * @dims: The size of each dimension. 214 * @nr_of_dims:The number of dimensions in @dims. 287 u32 dims[V4L2_CTRL_MAX_DIMS]; member 426 * @dims: The size of each dimension. 455 u32 dims[V4L2_CTRL_MAX_DIMS]; member 970 * @dims: The control's new dimensions. 976 * An error is returned if @dims is invalid for this control. 986 u32 dims[V4L2_CTRL_MAX_DIMS]); 992 * @dims: The control's new dimensions. 998 * An error is returned if @dims i 1007 v4l2_ctrl_modify_dimensions(struct v4l2_ctrl *ctrl, u32 dims[V4L2_CTRL_MAX_DIMS]) v4l2_ctrl_modify_dimensions() argument [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_convolution_opencl.c | 48 cl_int dims[4]; member 133 ctx->dims[i] = 3; in convolution_opencl_make_filter_params() 135 ctx->dims[i] = 5; in convolution_opencl_make_filter_params() 137 ctx->dims[i] = 7; in convolution_opencl_make_filter_params() 225 CL_SET_KERNEL_ARG(ctx->kernel, 2, cl_int, &ctx->dims[p]); in convolution_opencl_filter_frame()
|
/third_party/ffmpeg/tools/python/ |
H A D | convert_from_tensorflow.py | 34 def __init__(self, name, dtype, dims): 37 self.dims = dims 51 return "{}: (name: {}, iotype: {}, dtype: {}, dims: {}, used_count: {})".format(self.index, 53 self.dims, self.used_count) 93 dims = [-1,-1,-1,-1] 95 dims[0] = node.attr['shape'].shape.dim[0].size 96 dims[1] = node.attr['shape'].shape.dim[1].size 97 dims[2] = node.attr['shape'].shape.dim[2].size 98 dims[ [all...] |
/third_party/skia/third_party/externals/tint/src/ |
H A D | program_builder.h | 835 /// @param dims the dimensionality of the texture 837 const ast::DepthTexture* depth_texture(ast::TextureDimension dims) const { in depth_texture() 838 return builder->create<ast::DepthTexture>(dims); in depth_texture() 842 /// @param dims the dimensionality of the texture 845 ast::TextureDimension dims) const { in depth_texture() 846 return builder->create<ast::DepthTexture>(source, dims); in depth_texture() 849 /// @param dims the dimensionality of the texture 852 ast::TextureDimension dims) const { in depth_multisampled_texture() 853 return builder->create<ast::DepthMultisampledTexture>(dims); in depth_multisampled_texture() 857 /// @param dims th 868 sampled_texture(ast::TextureDimension dims, const ast::Type* subtype) const sampled_texture() argument 877 sampled_texture(const Source& source, ast::TextureDimension dims, const ast::Type* subtype) const sampled_texture() argument 886 multisampled_texture( ast::TextureDimension dims, const ast::Type* subtype) const multisampled_texture() argument 896 multisampled_texture( const Source& source, ast::TextureDimension dims, const ast::Type* subtype) const multisampled_texture() argument 907 storage_texture(ast::TextureDimension dims, ast::ImageFormat format, ast::Access access) const storage_texture() argument 920 storage_texture(const Source& source, ast::TextureDimension dims, ast::ImageFormat format, ast::Access access) const storage_texture() argument [all...] |
/third_party/skia/third_party/externals/tint/src/writer/glsl/ |
H A D | generator_impl.cc | 954 uint32_t dims = 2; 959 dims = 4; 974 l << (is_signed ? "" : "u") << "int" << dims 975 << " i = " << (is_signed ? "" : "u") << "int" << dims 980 l << " & " << (dims == 4 ? "0xff" : "0xffff"); 990 l << "(i.x | i.y << " << (32 / dims); 991 if (dims == 4) { 1020 uint32_t dims = 2; 1025 dims = 4; 1039 l << "int" << dims << " [all...] |
/third_party/skia/third_party/externals/tint/src/writer/hlsl/ |
H A D | generator_impl.cc | 1805 uint32_t dims = 2; in EmitDataPackingCall() 1810 dims = 4; in EmitDataPackingCall() 1825 l << (is_signed ? "" : "u") << "int" << dims in EmitDataPackingCall() 1826 << " i = " << (is_signed ? "" : "u") << "int" << dims in EmitDataPackingCall() 1831 l << " & " << (dims == 4 ? "0xff" : "0xffff"); in EmitDataPackingCall() 1841 l << "(i.x | i.y << " << (32 / dims); in EmitDataPackingCall() 1842 if (dims == 4) { in EmitDataPackingCall() 1871 uint32_t dims = 2; 1876 dims = 4; 1890 l << "int" << dims << " [all...] |
/third_party/skia/tests/ |
H A D | YUVTest.cpp | 84 auto setExpectations = [](SkISize dims, SkYUVAInfo::Subsampling subsampling) { in DEF_TEST() 85 return SkYUVAInfo(dims, in DEF_TEST()
|
H A D | LazyProxyTest.cpp | 348 SkISize dims = {kSize, kSize}; in LazyFailedInstantiationTestOp() local 370 format, dims, GrMipmapped::kNo, GrMipmapStatus::kNotAllocated, in LazyFailedInstantiationTestOp() 376 this->setBounds(SkRect::Make(dims), HasAABloat::kNo, IsHairline::kNo); in LazyFailedInstantiationTestOp()
|
/third_party/skia/tools/ |
H A D | MSKPPlayer.cpp | 401 SkISize dims = {SkScalarCeilToInt(page.fSize.width()), in Make() local 404 result->fRootLayers.back().fDimensions = dims; in Make() 405 result->fMaxDimensions.fWidth = std::max(dims.width() , result->fMaxDimensions.width() ); in Make() 406 result->fMaxDimensions.fHeight = std::max(dims.height(), result->fMaxDimensions.height()); in Make()
|
/third_party/skia/tools/gpu/ |
H A D | YUVUtils.cpp | 150 SkISize dims[SkYUVAInfo::kMaxPlanes]; in MakeYUVAPlanesAsA8() local 155 dims); in MakeYUVAPlanesAsA8() 158 SkImageInfo info = SkImageInfo::MakeA8(dims[i]); in MakeYUVAPlanesAsA8() 177 SkRect::Make(dims[i]), in MakeYUVAPlanesAsA8()
|
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls-api.c | 267 unsigned int max_size = ctrl->dims[0] * ctrl->elem_size; in prepare_ext_ctrls() 984 u32 dims[V4L2_CTRL_MAX_DIMS]) in __v4l2_ctrl_modify_dimensions() 996 elems *= dims[i]; in __v4l2_ctrl_modify_dimensions() 1010 ctrl->dims[i] = dims[i]; in __v4l2_ctrl_modify_dimensions() 1103 memcpy(qc->dims, ctrl->dims, qc->nr_of_dims * sizeof(qc->dims[0])); in v4l2_query_ext_ctrl() 983 __v4l2_ctrl_modify_dimensions(struct v4l2_ctrl *ctrl, u32 dims[V4L2_CTRL_MAX_DIMS]) __v4l2_ctrl_modify_dimensions() argument
|