Home
last modified time | relevance | path

Searched refs:format (Results 2726 - 2750 of 12976) sorted by relevance

1...<<101102103104105106107108109110>>...520

/foundation/multimedia/av_codec/test/unittest/decoder_filter_test/
H A Dvideo_resize_filter_unit_test.cpp51 std::shared_ptr<Meta> format; in HWTEST_F() local
52 EXPECT_EQ(videoResize->SetCodecFormat(format), Status::OK); in HWTEST_F()
81 videoResize->OnLinkedResult(inputBufferQueueProducer, format); in HWTEST_F()
82 videoResize->OnUpdatedResult(format); in HWTEST_F()
83 videoResize->OnUnlinkedResult(format); in HWTEST_F()
90 EXPECT_EQ(videoResize->OnLinked(Pipeline::StreamType::STREAMTYPE_PACKED, format, filterLinkCallback), Status::OK); in HWTEST_F()
91 EXPECT_EQ(videoResize->OnUpdated(Pipeline::StreamType::STREAMTYPE_PACKED, format, filterLinkCallback), Status::OK); in HWTEST_F()
/kernel/linux/linux-5.10/drivers/ide/
H A Dsc1200.c66 * Here are the standard PIO mode 0-4 timings for each "format".
85 unsigned int basereg = hwif->channel ? 0x50 : 0x40, format = 0; in sc1200_tunepio() local
87 pci_read_config_dword(pdev, basereg + 4, &format); in sc1200_tunepio()
88 format = (format >> 31) & 1; in sc1200_tunepio()
89 if (format) in sc1200_tunepio()
90 format += sc1200_get_pci_clock(); in sc1200_tunepio()
92 sc1200_pio_timings[format][pio]); in sc1200_tunepio()
160 timings |= reg & 0x80000000; /* preserve PIO format bit */ in sc1200_set_dma_mode()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/info_packet/
H A Dinfo_packet.c277 * format to the DP Sink device with VSC SDP only when the DP Sink device supports it in mod_build_vsc_infopacket()
298 /* Set VSC SDP fields for pixel encoding and colorimetry format from DP 1.3 specs in mod_build_vsc_infopacket()
364 /* Set Colorimetry format based on pixel encoding */ in mod_build_vsc_infopacket()
461 enum dc_timing_3d_format format; in mod_build_hf_vsif_infopacket() local
464 format = stream->timing.timing_3d_format; in mod_build_hf_vsif_infopacket()
466 format = TIMING_3D_FORMAT_NONE; in mod_build_hf_vsif_infopacket()
471 && format == TIMING_3D_FORMAT_NONE) in mod_build_hf_vsif_infopacket()
474 if ((format == TIMING_3D_FORMAT_NONE) && !hdmi_vic_mode) in mod_build_hf_vsif_infopacket()
481 if (format != TIMING_3D_FORMAT_NONE) in mod_build_hf_vsif_infopacket()
487 switch (format) { in mod_build_hf_vsif_infopacket()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dlibwebpenc_common.c180 alt_frame->format = frame->format; in ff_libwebp_get_frame()
182 alt_frame->format = AV_PIX_FMT_YUVA420P; in ff_libwebp_get_frame()
186 alt_frame->format = frame->format; in ff_libwebp_get_frame()
201 alt_frame->format = AV_PIX_FMT_YUVA420P; in ff_libwebp_get_frame()
249 if (frame->format == AV_PIX_FMT_YUVA420P) { in ff_libwebp_get_frame()
261 in automatic pixel format conversion based on whether we're in ff_libwebp_get_frame()
/third_party/ffmpeg/libavfilter/
H A Dvf_dnn_processing.c79 "the frame's format %s does not match " \
87 enum AVPixelFormat fmt = inlink->format; in check_modelinput_inlink()
167 enum AVPixelFormat fmt = inlink->format; in prepare_uv_scale()
219 desc = av_pix_fmt_desc_get(in->format); in copy_uv_planes()
222 int bytewidth = av_image_get_linesize(in->format, in->width, i); in copy_uv_planes()
230 } else if (in->format == AV_PIX_FMT_NV12) { in copy_uv_planes()
259 if (isPlanarYUV(in_frame->format)) in flush_frame()
311 if (isPlanarYUV(in_frame->format)) in activate()
H A Daf_aresample.c138 &outlink->ch_layout, outlink->format, outlink->sample_rate, in config_output()
139 &inlink->ch_layout, inlink->format, inlink->sample_rate, in config_output()
155 av_assert0(outlink->format == out_format); in config_output()
165 inlink ->ch_layout.nb_channels, inchl_buf, av_get_sample_fmt_name(inlink->format), inlink->sample_rate, in config_output()
166 outlink->ch_layout.nb_channels, outchl_buf, av_get_sample_fmt_name(outlink->format), outlink->sample_rate); in config_output()
192 outsamplesref->format = outlink->format; in filter_frame()
/third_party/ffmpeg/libavdevice/
H A Dsdl2.c56 enum AVPixelFormat format; int texture_fmt; member
183 for (i = 0; sdl_texture_format_map[i].format != AV_PIX_FMT_NONE; i++) { in sdl2_write_header()
184 if (sdl_texture_format_map[i].format == codecpar->format) { in sdl2_write_header()
192 "Unsupported pixel format '%s'.\n", in sdl2_write_header()
193 av_get_pix_fmt_name(codecpar->format)); in sdl2_write_header()
231 codecpar->width, codecpar->height, av_get_pix_fmt_name(codecpar->format), in sdl2_write_header()
288 av_image_fill_arrays(data, linesize, pkt->data, codecpar->format, codecpar->width, codecpar->height, 1); in sdl2_write_packet()
327 av_log(NULL, AV_LOG_FATAL, "Unsupported pixel format\n"); in sdl2_write_packet()
/third_party/alsa-utils/axfer/test/
H A Dcontainer-test.c30 enum container_format format; member
37 enum container_format format, in test_builder()
53 err = container_builder_init(cntr, fd, format, verbose); in test_builder()
84 enum container_format format, in test_parser()
170 test_builder(&trial->cntr, fd, trial->format, access, in callback()
181 test_parser(&trial->cntr, fd, trial->format, access, in callback()
307 trial->format = i; in main()
36 test_builder(struct container_context *cntr, int fd, enum container_format format, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, bool verbose) test_builder() argument
83 test_parser(struct container_context *cntr, int fd, enum container_format format, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, bool verbose) test_parser() argument
/third_party/libsnd/src/
H A Dtxw.c83 * format 0x49 = looped, 0xC9 = non-looped
92 { unsigned char format, srate, sr2, sr3 ; member
140 /* Jump 6 bytes (dummp_aeg), read format, read sample rate. */ in txw_read_header()
141 psf_binheader_readf (psf, "j11", 6, &txwh.format, &txwh.srate) ; in txw_read_header()
150 switch (txwh.format) in txw_read_header()
160 psf_log_printf (psf, " Format : 0x%02x => ?????\n", txwh.format) ; in txw_read_header()
164 psf_log_printf (psf, " Format : 0x%02X => %s\n", txwh.format, strptr) ; in txw_read_header()
212 if (txwh.format == TXW_LOOPED) in txw_read_header()
229 psf->sf.format = SF_FORMAT_TXW | SF_FORMAT_PCM_16 ; in txw_read_header()
/third_party/mesa3d/bin/
H A Dgen_calendar_entries.py117 writer.writerow([None, date.isoformat(), f'{major}.{minor}.0-rc4', args.manager, OR_FINAL.format(f'{major}.{minor}')])
161 writer.writerow([None, date.isoformat(), f'{args.series}.3', args.manager, LAST_RELEASE.format(args.series)])
186 if in_wanted and len(row) >= 5 and row[4] in {LAST_RELEASE.format(args.series), OR_FINAL.format(args.series)}:
218 r = [None, date.isoformat(), template.format(args.series, i), row[3], None]
221 r[4] = LAST_RELEASE.format(args.series)
223 r[4] = OR_FINAL.format(args.series)
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_util.c19 __tu_finishme(const char *file, int line, const char *format, ...) in __tu_finishme() argument
24 va_start(ap, format); in __tu_finishme()
25 vsnprintf(buffer, sizeof(buffer), format, ap); in __tu_finishme()
37 const char *format, in __vk_startup_errorf()
50 if (format) { in __vk_startup_errorf()
51 va_start(ap, format); in __vk_startup_errorf()
52 vsnprintf(buffer, sizeof(buffer), format, ap); in __vk_startup_errorf()
32 __vk_startup_errorf(struct tu_instance *instance, VkResult error, bool always_print, const char *file, int line, const char *format, ...) __vk_startup_errorf() argument
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
H A Dxm_st.c145 enum pipe_format format; in xmesa_st_framebuffer_validate_textures() local
161 format = xstfb->stvis.color_format; in xmesa_st_framebuffer_validate_textures()
166 format = xstfb->stvis.depth_stencil_format; in xmesa_st_framebuffer_validate_textures()
170 format = PIPE_FORMAT_NONE; in xmesa_st_framebuffer_validate_textures()
174 if (format != PIPE_FORMAT_NONE) { in xmesa_st_framebuffer_validate_textures()
175 templ.format = format; in xmesa_st_framebuffer_validate_textures()
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_image.c48 assert(util_format_get_num_planes(image->pimage.layout.format) == 1); in panvk_image_get_total_size()
80 .format = vk_format_to_pipe_format(image->vk.format), in panvk_image_create()
104 enum pipe_format fmt = vk_format_to_pipe_format(pCreateInfo->format); in panvk_image_select_mod()
218 panvk_plane_index(VkFormat format, VkImageAspectFlags aspect_mask) in panvk_plane_index() argument
228 return format == VK_FORMAT_D32_SFLOAT_S8_UINT; in panvk_plane_index()
240 unsigned plane = panvk_plane_index(image->vk.format, pSubresource->aspectMask); in panvk_GetImageSubresourceLayout()
/third_party/icu/icu4c/source/tools/tzcode/
H A Dicuzdump.cpp57 UnicodeString& format(UDate time, int32_t offset, UBool isDst, UnicodeString& appendTo) { in format() function in DumpFormatter
60 UnicodeString str = sdf->format(time, appendTo); in format()
76 decf->format(hour, appendTo); in format()
77 decf->format(min, appendTo); in format()
78 decf->format(sec, appendTo); in format()
174 formatter->format(lot, rawOffset + dstOffset, (dstOffset == 0 ? false : true), str); in dump()
177 formatter->format(hit, newRawOffset + newDstOffset, (newDstOffset == 0 ? false : true), str); in dump()
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_debug_image.c28 #include "util/format/u_format.h"
42 * \param format PIPE_FORMAT_x
50 enum pipe_format format, UNUSED unsigned cpp, in debug_dump_image()
71 format, in debug_dump_image()
124 texture->format, in debug_dump_surface()
125 util_format_get_blocksize(texture->format), in debug_dump_surface()
126 util_format_get_nblocksx(texture->format, surface->width), in debug_dump_surface()
127 util_format_get_nblocksy(texture->format, surface->height), in debug_dump_surface()
223 transfer->resource->format, in debug_dump_transfer_bmp()
49 debug_dump_image(const char *prefix, enum pipe_format format, UNUSED unsigned cpp, unsigned width, unsigned height, unsigned stride, const void *data) debug_dump_image() argument
/third_party/mesa3d/src/gallium/auxiliary/postprocess/
H A Dpp_run.c55 blit.src.format = src_tex->format; in pp_blit()
65 blit.dst.format = dst->format; in pp_blit()
216 u_sampler_view_default_template(&v_tmp, in, in->format); in pp_filter_setup_in()
224 p->surf.format = out->format; in pp_filter_setup_out()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_image.c65 enum pipe_format format = pimg->format; in translate_image() local
74 img->pfmt = format; in translate_image()
75 img->fmt = fd4_pipe2color(format); in translate_image()
76 img->texfmt = fd4_pipe2tex(format); in translate_image()
78 img->srgb = util_format_is_srgb(format); in translate_image()
89 img->cpp = util_format_get_blocksize(format); in translate_image()
/third_party/rust/crates/env_logger/src/
H A Dlib.rs219 //! ## Tweaking the default format
221 //! Parts of the default format can be excluded from the log output using the [`Builder`].
230 //! ### Stability of the default format
232 //! The default format won't optimise for long-term stability, and explicitly makes no
237 //! then you should use a custom format.
239 //! ### Using a custom format
248 //! .format(|buf, record| {
350 format: FormatFn,
355 /// It can be used to customize the log format, change the environment variable used
369 /// .format(|bu
579 pub fn format<F: 'static>(&mut self, format: F) -> &mut Self format() functions
[all...]
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
H A Dtransfer_image.cc33 VK_FORMAT_R8G8B8A8_UNORM, /* format */
70 const Format& format, in TransferImage()
84 (format.SizeInBytes() + in TransferImage()
87 (format.GetFormatType() == FormatType::kD24_UNORM_S8_UINT ? 1 in TransferImage()
95 image_info_.format = device_->GetVkFormat(format); in TransferImage()
200 image_view_info.format = image_info_.format; in CreateVkImageView()
69 TransferImage(Device* device, const Format& format, VkImageAspectFlags aspect, VkImageType image_type, VkImageUsageFlags image_usage_flags, uint32_t x, uint32_t y, uint32_t z, uint32_t mip_levels, uint32_t base_mip_level, uint32_t used_mip_levels, uint32_t samples) TransferImage() argument
/third_party/skia/src/gpu/
H A DGrCaps.h221 bool isFormatCompressed(const GrBackendFormat& format) const;
227 // Returns whether a texture of the given format can be copied to a texture of the same format.
230 // Returns the maximum supported sample count for a format. 0 means the format is not renderable
231 // 1 means the format is renderable but doesn't support MSAA.
236 int internalMultisampleCount(const GrBackendFormat& format) const { in internalMultisampleCount()
237 return std::min(fInternalMultisampleCount, this->maxRenderTargetSampleCount(format)); in internalMultisampleCount()
240 virtual bool isFormatAsColorTypeRenderable(GrColorType ct, const GrBackendFormat& format,
243 virtual bool isFormatRenderable(const GrBackendFormat& format, in
[all...]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/
H A DFontInfoMain.java73 System.out.println(String.format("sfnt version: %s", FontInfo.sfntVersion(font))); in main()
84 System.out.println(String.format("sfnt version: %s", FontInfo.sfntVersion(font))); in main()
187 System.out.println(String.format( in main()
197 System.out.println(String.format("Total hinting size: %s", FontInfo.hintingSize(font))); in main()
198 System.out.println(String.format( in main()
213 System.out.println(String.format("Total hinting size: %s", FontInfo.hintingSize(font))); in main()
214 System.out.println(String.format( in main()
/third_party/skia/third_party/externals/libwebp/examples/
H A Danim_diff.c151 if ((img1->format == ANIM_GIF && img1->loop_count == 65536 && in CompareAnimatedImagePair()
152 img2->format == ANIM_WEBP && img2->loop_count == 65535) || in CompareAnimatedImagePair()
153 (img1->format == ANIM_WEBP && img1->loop_count == 65535 && in CompareAnimatedImagePair()
154 img2->format == ANIM_GIF && img2->loop_count == 65536)) { in CompareAnimatedImagePair()
171 const char format[] = "Frame #%d, duration mismatch"; in CompareAnimatedImagePair() local
172 char tmp[sizeof(format) + 8]; in CompareAnimatedImagePair()
173 ok = ok && (snprintf(tmp, sizeof(tmp), format, i) >= 0); in CompareAnimatedImagePair()
198 printf(" -dump_frames <folder> dump decoded frames in PAM format\n"); in Help()
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
H A Dicuzdump.cpp57 UnicodeString& format(UDate time, int32_t offset, UBool isDst, UnicodeString& appendTo) { in format() function in DumpFormatter
60 UnicodeString str = sdf->format(time, appendTo); in format()
76 decf->format(hour, appendTo); in format()
77 decf->format(min, appendTo); in format()
78 decf->format(sec, appendTo); in format()
174 formatter->format(lot, rawOffset + dstOffset, (dstOffset == 0 ? false : true), str); in dump()
177 formatter->format(hit, newRawOffset + newDstOffset, (newDstOffset == 0 ? false : true), str); in dump()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DRenderPassCache.cpp52 wgpu::TextureFormat format, in SetColor()
57 colorFormats[index] = format; in SetColor()
63 void RenderPassCacheQuery::SetDepthStencil(wgpu::TextureFormat format, in SetDepthStencil() argument
70 depthStencilFormat = format; in SetDepthStencil()
133 attachmentDesc.format = VulkanImageFormat(mDevice, query.colorFormats[i]); in CreateRenderPassForQuery()
156 attachmentDesc.format = VulkanImageFormat(mDevice, query.depthStencilFormat); in CreateRenderPassForQuery()
181 attachmentDesc.format = VulkanImageFormat(mDevice, query.colorFormats[i]); in CreateRenderPassForQuery()
51 SetColor(ColorAttachmentIndex index, wgpu::TextureFormat format, wgpu::LoadOp loadOp, wgpu::StoreOp storeOp, bool hasResolveTarget) SetColor() argument
/third_party/python/Lib/
H A Dimp.py99 not conform to PEP 3147 format, ValueError will be raised. If
211 raise ValueError('{!r} is not a package'.format(path))
230 raise ValueError('invalid file open mode {!r}'.format(mode))
232 msg = 'file object required for import (type code {})'.format(type_)
251 msg = "Don't know how to import {} (type code {})".format(name, type_)
267 raise TypeError("'name' must be a str, not {}".format(type(name)))
271 "not {}".format(type(path)))
297 raise ImportError(_ERR_MSG.format(name), name=name)

Completed in 19 milliseconds

1...<<101102103104105106107108109110>>...520