Home
last modified time | relevance | path

Searched refs:format (Results 2401 - 2425 of 9951) sorted by relevance

1...<<919293949596979899100>>...399

/third_party/mesa3d/src/amd/vulkan/
H A Dradv_meta_blit.c35 enum glsl_sampler_dim tex_dim, VkFormat format,
268 VkFormat format = VK_FORMAT_UNDEFINED; in meta_emit_blit() local
272 fs_key = radv_format_meta_fs_key(device, dest_image->vk.format); in meta_emit_blit()
273 format = radv_fs_key_format_exemplars[fs_key]; in meta_emit_blit()
291 format = VK_FORMAT_D32_SFLOAT; in meta_emit_blit()
309 format = VK_FORMAT_S8_UINT; in meta_emit_blit()
333 format, pipeline); in meta_emit_blit()
579 .format = dst_image->vk.format, in blit_image()
592 .format in blit_image()
662 build_pipeline(struct radv_device *device, VkImageAspectFlagBits aspect, enum glsl_sampler_dim tex_dim, VkFormat format, VkPipeline *pipeline) build_pipeline() argument
835 VkFormat format = radv_fs_key_format_exemplars[i]; radv_device_init_meta_blit_color() local
[all...]
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3dx_state.c26 #include "util/format/u_format.h"
401 "format %s unsupported\n", in v3d_vertex_state_create()
410 "format %s unsupported\n", in v3d_vertex_state_create()
502 util_format_description(cbuf->format); in v3d_set_framebuffer_state()
504 /* For BGRA8 formats (DRI window system default format), we in v3d_set_framebuffer_state()
505 * need to swap R and B, since the HW's format is RGBA8. On in v3d_set_framebuffer_state()
843 enum pipe_format format, in v3d_setup_texture_shader_state_from_buffer()
850 tex->image_width = size / util_format_get_blocksize(format); in v3d_setup_texture_shader_state_from_buffer()
967 cso->format, in create_texture_shader_state_bo()
972 tex.srgb = util_format_is_srgb(cso->format); in create_texture_shader_state_bo()
841 v3d_setup_texture_shader_state_from_buffer(struct V3DX(TEXTURE_SHADER_STATE) *tex, struct pipe_resource *prsc, enum pipe_format format, unsigned offset, unsigned size) v3d_setup_texture_shader_state_from_buffer() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_resource.c27 #include "util/format/u_format.h"
109 enum pipe_format format = prsc->format; in vc4_resource_transfer_map() local
189 u_box_pixels_to_blocks(&ptrans->box, &ptrans->box, format); in vc4_resource_transfer_map()
210 ptrans->box.y / util_format_get_blockheight(format) * ptrans->stride + in vc4_resource_transfer_map()
211 ptrans->box.x / util_format_get_blockwidth(format) * rsc->cpp + in vc4_resource_transfer_map()
359 if (prsc->format == PIPE_FORMAT_ETC1_RGB8) { in vc4_setup_slices()
420 "rsc %s %p (format %s: vc4 %d), %dx%d: " in vc4_setup_slices()
423 util_format_short_name(prsc->format), in vc4_setup_slices()
467 rsc->cpp = util_format_get_blocksize(tmpl->format); in vc4_resource_setup()
480 uint8_t format = vc4_get_tex_format(prsc->format); get_resource_texture_format() local
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_gmem.c28 #include "util/format/u_format.h"
68 enum a3xx_color_fmt format = 0; in emit_mrt() local
86 pformat = psurf->format; in emit_mrt()
92 pformat = rsc->b.b.format; in emit_mrt()
96 format = fd3_pipe2color(pformat); in emit_mrt()
123 OUT_RING(ring, A3XX_RB_MRT_BUF_INFO_COLOR_FORMAT(format) | in emit_mrt()
339 enum pipe_format format = psurf->format; in emit_gmem2mem_surf() local
346 format = rsc->b.b.format; in emit_gmem2mem_surf()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiBufferViewAccessTests.cpp75 VkFormat format; member
96 , format(format_) in BufferViewCaseParams()
229 m_colorFormat, // VkFormat format; in BufferViewTestInstance()
305 m_colorFormat, // VkFormat format; in BufferViewTestInstance()
568 VkFormat format,
609 void BufferViewAllFormatsTestInstance::checkTexelBufferSupport (Context& context, VkFormat format, BufferViewCaseParams testCase) in checkTexelBufferSupport() argument
615 properties = getPhysicalDeviceFormatProperties(vki, physicalDevice, format); in checkTexelBufferSupport()
663 , m_bufferFormat (testCase.format) in BufferViewAllFormatsTestInstance()
726 m_bufferFormat, // VkFormat format; in BufferViewAllFormatsTestInstance()
1009 if ((m_bufferViewTestInfo.format in checkSupport()
1034 strLayoutFormat(VkFormat format) strLayoutFormat() argument
1096 isSupportedImageLoadStore(const tcu::TextureFormat& format) isSupportedImageLoadStore() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrStorageImageWriteTests.cpp21 * \brief Testing compute shader writing to separate planes of a multiplanar format
51 VkFormat format; member
58 : format (format_) in TestParameters()
65 : format (VK_FORMAT_UNDEFINED) in TestParameters()
119 params.format, // format;
141 // Check for plane compatible format support when the disjoint flag is being used
144 const PlanarFormatDescription formatDescription = getPlanarFormatDescription(params.format);
157 planeCompatibleFormat, // format;
167 TCU_THROW(NotSupportedError, "Plane compatibile format no
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DContext_gl_4_autogen.h128 void clearBufferData(GLenum target, GLenum internalformat, GLenum format, GLenum type, \
131 GLsizeiptr size, GLenum format, GLenum type, const void *data); \
155 void clearTexImage(TextureID texturePacked, GLint level, GLenum format, GLenum type, \
159 GLenum format, GLenum type, const void *data); \
165 void clearNamedBufferData(BufferID bufferPacked, GLenum internalformat, GLenum format, \
168 GLsizeiptr size, GLenum format, GLenum type, const void *data); \
178 GLsizei width, GLenum format, GLsizei imageSize, \
181 GLint yoffset, GLsizei width, GLsizei height, GLenum format, \
185 GLsizei depth, GLenum format, GLsizei imageSize, \
230 void getTextureImage(TextureID texturePacked, GLint level, GLenum format, GLenu
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DCreatePipelineAsyncTests.cpp76 textureDescriptor.format = kRenderAttachmentFormat; in ValidateCreateRenderPipelineAsync()
251 renderPipelineDescriptor.cTargets[0].format = kRenderAttachmentFormat; in TEST_P()
275 renderPipelineDescriptor.cTargets[0].format = kRenderAttachmentFormat; in TEST_P()
290 textureDescriptor.format = kRenderAttachmentFormat; in TEST_P()
340 renderPipelineDescriptor.cTargets[0].format = kRenderAttachmentFormat; in TEST_P()
402 renderPipelineDescriptor.cTargets[0].format = wgpu::TextureFormat::RGBA8Unorm; in TEST_P()
460 renderPipelineDescriptor.cTargets[0].format = wgpu::TextureFormat::RGBA8Unorm; in TEST_P()
595 renderPipelineDescriptor.cTargets[0].format = kRenderAttachmentFormat; in TEST_P()
628 textureDescriptor.format = wgpu::TextureFormat::RGBA8Unorm; in TEST_P()
666 renderPipelineDescriptor.cTargets[0].format in TEST_P()
[all...]
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/InnerAPI/
H A Dvideodec_ndk_inner_sample.cpp74 void VDecInnerCallback::OnOutputFormatChanged(const Format& format) in OnOutputFormatChanged() argument
134 Format format; in Configure() local
135 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH); in Configure()
136 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT); in Configure()
137 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in Configure()
138 format.PutDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, DEFAULT_FRAME_RATE); in Configure()
140 return vdec_->Configure(format); in Configure()
205 int32_t VDecNdkInnerSample::GetOutputFormat(Format &format) in GetOutputFormat() argument
207 return vdec_->GetOutputFormat(format); in GetOutputFormat()
215 int32_t VDecNdkInnerSample::SetParameter(const Format &format) in SetParameter() argument
[all...]
/foundation/multimedia/av_codec/services/services/codec/ipc/
H A Dcodec_service_proxy.cpp89 int32_t CodecServiceProxy::Configure(const Format &format) in Configure() argument
98 bool parcelRet = AVCodecParcel::Marshalling(data, format); in Configure()
272 std::string format = surface->GetUserData(surfaceFormat); in SetOutputSurface() local
273 AVCODEC_LOGD("Surface format is %{public}s!", format.c_str()); in SetOutputSurface()
279 parcelRet = parcelRet && data.WriteString(format); in SetOutputSurface()
355 int32_t CodecServiceProxy::GetOutputFormat(Format &format) in GetOutputFormat() argument
368 (void)AVCodecParcel::Unmarshalling(reply, format); in GetOutputFormat()
414 int32_t CodecServiceProxy::SetParameter(const Format &format) in SetParameter() argument
423 bool parcelRet = AVCodecParcel::Marshalling(data, format); in SetParameter()
433 GetInputFormat(Format &format) GetInputFormat() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Daudiotoolboxdec.c164 AudioStreamBasicDescription format; in ffat_update_ctx() local
165 UInt32 size = sizeof(format); in ffat_update_ctx()
168 &size, &format)) { in ffat_update_ctx()
169 if (format.mSampleRate) in ffat_update_ctx()
170 avctx->sample_rate = format.mSampleRate; in ffat_update_ctx()
172 av_channel_layout_default(&avctx->ch_layout, format.mChannelsPerFrame); in ffat_update_ctx()
173 avctx->frame_size = format.mFramesPerPacket; in ffat_update_ctx()
178 &size, &format)) { in ffat_update_ctx()
179 format.mSampleRate = avctx->sample_rate; in ffat_update_ctx()
180 format in ffat_update_ctx()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DNFSubstitution.java36 * The rule set this substitution uses to format its result, or null.
42 * The DecimalFormat this substitution uses to format its result,
181 // format its result in NFSubstitution()
188 // set we use to format the result: get a reference to the in NFSubstitution()
302 // rule set's format() method to format the result in doSubstitution()
305 ruleSet.format(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
310 // to show it), then use that formatter's format() method in doSubstitution()
311 // to format the result in doSubstitution()
317 toInsertInto.insert(position + pos, numberFormat.format(numberToForma in doSubstitution()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DNFSubstitution.java37 * The rule set this substitution uses to format its result, or null.
43 * The DecimalFormat this substitution uses to format its result,
182 // format its result in NFSubstitution()
189 // set we use to format the result: get a reference to the in NFSubstitution()
303 // rule set's format() method to format the result in doSubstitution()
306 ruleSet.format(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
311 // to show it), then use that formatter's format() method in doSubstitution()
312 // to format the result in doSubstitution()
318 toInsertInto.insert(position + pos, numberFormat.format(numberToForma in doSubstitution()
[all...]
/third_party/mesa3d/src/gallium/drivers/tegra/
H A Dtegra_screen.c38 #include "util/format/u_format.h"
134 enum pipe_format format, in tegra_screen_is_format_supported()
142 return screen->gpu->is_format_supported(screen->gpu, format, target, in tegra_screen_is_format_supported()
149 enum pipe_format format, in tegra_screen_is_video_format_supported()
155 return screen->gpu->is_video_format_supported(screen->gpu, format, profile, in tegra_screen_is_video_format_supported()
517 enum pipe_format format, in tegra_screen_query_dmabuf_modifiers()
524 screen->gpu->query_dmabuf_modifiers(screen->gpu, format, max, modifiers, in tegra_screen_query_dmabuf_modifiers()
531 enum pipe_format format, in tegra_screen_is_dmabuf_modifier_supported()
537 format, external_only); in tegra_screen_is_dmabuf_modifier_supported()
543 enum pipe_format format) in tegra_screen_get_dmabuf_modifier_planes()
133 tegra_screen_is_format_supported(struct pipe_screen *pscreen, enum pipe_format format, enum pipe_texture_target target, unsigned sample_count, unsigned storage_sample_count, unsigned usage) tegra_screen_is_format_supported() argument
148 tegra_screen_is_video_format_supported(struct pipe_screen *pscreen, enum pipe_format format, enum pipe_video_profile profile, enum pipe_video_entrypoint entrypoint) tegra_screen_is_video_format_supported() argument
516 tegra_screen_query_dmabuf_modifiers(struct pipe_screen *pscreen, enum pipe_format format, int max, uint64_t *modifiers, unsigned int *external_only, int *count) tegra_screen_query_dmabuf_modifiers() argument
529 tegra_screen_is_dmabuf_modifier_supported(struct pipe_screen *pscreen, uint64_t modifier, enum pipe_format format, bool *external_only) tegra_screen_is_dmabuf_modifier_supported() argument
541 tegra_screen_get_dmabuf_modifier_planes(struct pipe_screen *pscreen, uint64_t modifier, enum pipe_format format) tegra_screen_get_dmabuf_modifier_planes() argument
[all...]
/third_party/node/deps/v8/src/wasm/
H A Ddecoder.h259 void V8_NOINLINE PRINTF_FORMAT(2, 3) errorf(const char* format, ...) { in errorf() argument
261 va_start(args, format); in errorf()
262 verrorf(pc_offset(), format, args); in errorf() local
267 errorf(uint32_t offset, const char* format, ...) { in errorf() argument
269 va_start(args, format); in errorf()
270 verrorf(offset, format, args); in errorf()
275 errorf(const uint8_t* pc, const char* format, ...) { in errorf() argument
277 va_start(args, format); in errorf()
278 verrorf(pc_offset(pc), format, args); in errorf() local
364 void verrorf(uint32_t offset, const char* format, va_lis argument
[all...]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_texture_state.c168 const uint32_t format = translate_texture_format(so->format); in etna_create_sampler_view_state() local
169 const bool ext = !!(format & EXT_FORMAT); in etna_create_sampler_view_state()
170 const bool astc = !!(format & ASTC_FORMAT); in etna_create_sampler_view_state()
171 const bool srgb = util_format_is_srgb(so->format); in etna_create_sampler_view_state()
172 const uint32_t swiz = get_texture_swiz(so->format, so->swizzle_r, in etna_create_sampler_view_state()
194 COND(!ext && !astc, VIVS_TE_SAMPLER_CONFIG0_FORMAT(format)); in etna_create_sampler_view_state()
224 if (res->layout == ETNA_LAYOUT_LINEAR && !util_format_is_compressed(so->format)) { in etna_create_sampler_view_state()
234 sv->config1 |= COND(ext, VIVS_TE_SAMPLER_CONFIG1_FORMAT_EXT(format)) | in etna_create_sampler_view_state()
238 sv->astc0 = COND(astc, VIVS_NTE_SAMPLER_ASTC0_ASTC_FORMAT(format)) | in etna_create_sampler_view_state()
[all...]
/third_party/python/PC/layout/
H A Dmain.py122 yield "tcl/{}".format(dest), src
147 yield from in_build("python_uwp.exe", new_name="python{}".format(VER_DOT))
148 yield from in_build("pythonw_uwp.exe", new_name="pythonw{}".format(VER_DOT))
160 yield from in_build("python_uwp.exe", new_name="pip{}".format(VER_DOT))
162 yield from in_build("pythonw_uwp.exe", new_name="idle{}".format(VER_DOT))
193 yield "Lib/{}".format(dest), src
207 yield "Tools/{}".format(dest), src
215 yield "include/{}".format(dest), src
232 yield "Doc/{}".format(dest), src
236 yield "Doc/html/{}".format(des
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fASTCDecompressionCases.cpp234 CompressedTexFormat format,
271 CompressedTexFormat format, in ASTCRenderer2D()
275 , m_format (format) in ASTCRenderer2D()
276 , m_blockSize (tcu::getBlockPixelSize(format).xy()) in ASTCRenderer2D()
283 DE_ASSERT(tcu::getBlockPixelSize(format).z() == 1); in ASTCRenderer2D()
373 CompressedTexFormat format) in ASTCBlockCase2D()
376 , m_format (format) in ASTCBlockCase2D()
379 , m_renderer (new ASTCRenderer2D(context, format, deStringHash(getName()))) in ASTCBlockCase2D()
527 CompressedTexFormat format)
529 , m_format (format)
270 ASTCRenderer2D(Context& context, CompressedTexFormat format, deUint32 randomSeed) ASTCRenderer2D() argument
369 ASTCBlockCase2D(Context& context, const char* name, const char* description, BlockTestType testType, CompressedTexFormat format) ASTCBlockCase2D() argument
[all...]
/applications/sample/camera/communication/wpa_cli/src/
H A Dwpa_cli_sample.c28 #define SAMPLE_INFO(format, args...) \
30 fprintf(stderr, "\033[1;32m WpaCliSample(%s:%d):\t\033[0m" format, __func__, __LINE__, ##args); \
34 #define SAMPLE_ERROR(format, args...) \
36 fprintf(stderr, "\033[1;31m WpaCliSample(%s:%d):\t\033[0m" format, __func__, __LINE__, ##args); \
/base/startup/init/scripts/
H A Dparam_cfg_to_code.py101 tmp_str = " PARAM_MAP({0}, {1})".format(name, value)
104 tmp_str = " PARAM_MAP({0}, \"{1}\")".format(name, value)
150 print("out_dir {}".format(out_dir))
153 print("source {}".format(out_dir))
/drivers/peripheral/audio/test/unittest/common/render/
H A Daudio_render_multchannel_test.cpp55 attrs.format = AUDIO_FORMAT_TYPE_PCM_16_BIT; in InitRenderAttrs()
64 attrs.startThreshold = DEEP_BUFFER_RENDER_PERIOD_SIZE / (attrs.format * attrs.channelCount); in InitRenderAttrs()
124 attrsRender_.format = AUDIO_FORMAT_TYPE_PCM_16_BIT; in SetUp()
129 attrsRender_.format = AUDIO_FORMAT_TYPE_PCM_32_BIT; in SetUp()
/drivers/peripheral/camera/hal_c/hdi_cif/src/
H A Dbuffer_producer_wrapper.cpp42 requestConfig.format = buffer->format; in BufferProducerRequestBuffer()
61 buffer->format = handle->format; in BufferProducerRequestBuffer()
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/buffer_adapter/standard/
H A Dbuffer_adapter.cpp36 int32_t format = static_cast<int32_t>(PixelFormatToCameraFormat(static_cast<PixelFormat>(bufHandle->format))); in SurfaceBufferToCameraBuffer() local
37 buffer->SetFormat(format); in SurfaceBufferToCameraBuffer()
64 pHandle->format = CameraFormatToPixelFormat(buffer->GetFormat()); in CameraBufferToSurfaceBuffer()
/drivers/peripheral/camera/vdi_base/usb_camera/buffer_manager/src/buffer_adapter/standard/
H A Dbuffer_adapter.cpp37 int32_t format = static_cast<int32_t>(PixelFormatToCameraFormat(static_cast<PixelFormat>(bufHandle->format))); in SurfaceBufferToCameraBuffer() local
38 buffer->SetFormat(format); in SurfaceBufferToCameraBuffer()
66 pHandle->format = CameraFormatToPixelFormat(buffer->GetFormat()); in CameraBufferToSurfaceBuffer()
/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Daudio_common_converter.cpp32 void AudioCommonConverter::ConvertBufferTo32Bit(const uint8_t *buffer, int32_t format, int32_t *dst, size_t count, in ConvertBufferTo32Bit() argument
35 switch (format) { in ConvertBufferTo32Bit()
83 void AudioCommonConverter::ConvertBufferTo16Bit(const uint8_t *buffer, int32_t format, int16_t *dst, size_t count, in ConvertBufferTo16Bit() argument
86 switch (format) { in ConvertBufferTo16Bit()

Completed in 22 milliseconds

1...<<919293949596979899100>>...399