/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_wpf.c | 280 const struct v4l2_pix_format_mplane *format = &wpf->format; in wpf_configure_stream() local 297 format->plane_fmt[0].bytesperline); in wpf_configure_stream() 298 if (format->num_planes > 1) in wpf_configure_stream() 300 format->plane_fmt[1].bytesperline); in wpf_configure_stream() 400 const struct v4l2_pix_format_mplane *format = &wpf->format; in wpf_configure_partition() local 458 offset = format->width - left - width; in wpf_configure_partition() 460 offset = format->height - left - width; in wpf_configure_partition() 464 for (i = 0; i < format in wpf_configure_partition() [all...] |
H A D | vsp1_uif.c | 89 struct v4l2_mbus_framefmt *format; in uif_get_selection() local 106 format = vsp1_entity_get_pad_format(&uif->entity, config, in uif_get_selection() 110 sel->r.width = format->width; in uif_get_selection() 111 sel->r.height = format->height; in uif_get_selection() 135 struct v4l2_mbus_framefmt *format; in uif_set_selection() local 152 format = vsp1_entity_get_pad_format(&uif->entity, config, UIF_PAD_SINK); in uif_set_selection() 154 sel->r.left = clamp_t(unsigned int, sel->r.left, 0, format->width - 1); in uif_set_selection() 155 sel->r.top = clamp_t(unsigned int, sel->r.top, 0, format->height - 1); in uif_set_selection() 157 format->width - sel->r.left); in uif_set_selection() 159 format in uif_set_selection() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_wpf.c | 280 const struct v4l2_pix_format_mplane *format = &wpf->format; in wpf_configure_stream() local 297 format->plane_fmt[0].bytesperline); in wpf_configure_stream() 298 if (format->num_planes > 1) in wpf_configure_stream() 300 format->plane_fmt[1].bytesperline); in wpf_configure_stream() 400 const struct v4l2_pix_format_mplane *format = &wpf->format; in wpf_configure_partition() local 458 offset = format->width - left - width; in wpf_configure_partition() 460 offset = format->height - left - width; in wpf_configure_partition() 464 for (i = 0; i < format in wpf_configure_partition() [all...] |
H A D | vsp1_uif.c | 90 struct v4l2_mbus_framefmt *format; in uif_get_selection() local 108 format = vsp1_entity_get_pad_format(&uif->entity, config, in uif_get_selection() 112 sel->r.width = format->width; in uif_get_selection() 113 sel->r.height = format->height; in uif_get_selection() 137 struct v4l2_mbus_framefmt *format; in uif_set_selection() local 155 format = vsp1_entity_get_pad_format(&uif->entity, config, UIF_PAD_SINK); in uif_set_selection() 157 sel->r.left = clamp_t(unsigned int, sel->r.left, 0, format->width - 1); in uif_set_selection() 158 sel->r.top = clamp_t(unsigned int, sel->r.top, 0, format->height - 1); in uif_set_selection() 160 format->width - sel->r.left); in uif_set_selection() 162 format in uif_set_selection() [all...] |
/test/testfwk/developer_test/local_coverage/resident_service/ |
H A D | init_gcov.py | 193 f_dict["process"] = "{}".format(serv) 195 new_json = os.path.join(config_path, '{}.json'.format(serv)) 226 tree.write(os.path.join(config_path, '{}.xml'.format(serv)), encoding='utf-8', xml_declaration=True) 227 return os.path.join(config_path, '{}.xml'.format(serv)) 240 json_obj["jobs"][0]["name"] = "services:{}".format(serv) 242 json_obj["services"][0]["name"] = "{}".format(serv) 246 path_list.append("/system/profile/{}.json".format(serv)) 249 json_obj["services"][0]["jobs"]["on-start"] = "services:{}".format(serv) 251 cfg_path = os.path.join(config_path, "{}.cfg".format(serv)) 283 hdc_command(device_ip, hdc_port, device_sn, "file recv /system/profile/foundation.json {}".format(config_pat [all...] |
/test/xts/acts/kernel_lite/io_posix/src/ |
H A D | IoTestWchar.cpp | 26 int FormatVfwscanf(FILE *fp, const wchar_t *format, ...) in FormatVfwscanf() argument 29 va_start(args, format); in FormatVfwscanf() 30 int ret = vfwscanf(fp, format, args); in FormatVfwscanf() 35 int FormatVfwprintf(FILE *fp, const wchar_t *format, ...) in FormatVfwprintf() argument 38 va_start(args, format); in FormatVfwprintf() 39 int ret = vfwprintf(fp, format, args); in FormatVfwprintf() 344 int FormatVswscanf(const wchar_t *str, const wchar_t *format, ...) in FormatVswscanf() argument 347 va_start(args, format); in FormatVswscanf() 348 int ret = vswscanf(str, format, args); in FormatVswscanf() 353 int FormatVswprintf(const wchar_t *format, argument 477 FormatVwprintf(const wchar_t *format, ...) FormatVwprintf() argument 524 FormatVwscanf(const wchar_t *format, ...) FormatVwscanf() argument [all...] |
/third_party/mesa3d/src/gbm/main/ |
H A D | gbm.c | 69 /** Test if a format is supported for a given set of usage flags. 72 * \param format The format to test 73 * \param flags A bitmask of the usages to test the format against 74 * \return 1 if the format is supported otherwise 0 76 * \sa enum gbm_bo_flags for the list of flags that the format can be 83 uint32_t format, uint32_t flags) in gbm_device_is_format_supported() 85 return gbm->v0.is_format_supported(gbm, format, flags); in gbm_device_is_format_supported() 88 /** Get the number of planes that are required for a given format+modifier 91 * \param format Th 82 gbm_device_is_format_supported(struct gbm_device *gbm, uint32_t format, uint32_t flags) gbm_device_is_format_supported() argument 95 gbm_device_get_format_modifier_plane_count(struct gbm_device *gbm, uint32_t format, uint64_t modifier) gbm_device_get_format_modifier_plane_count() argument 489 gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, uint32_t flags) gbm_bo_create() argument 502 gbm_bo_create_with_modifiers(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, const uint64_t *modifiers, const unsigned int count) gbm_bo_create_with_modifiers() argument 527 gbm_bo_create_with_modifiers2(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, const uint64_t *modifiers, const unsigned int count, uint32_t flags) gbm_bo_create_with_modifiers2() argument 659 gbm_surface_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, uint32_t flags) gbm_surface_create() argument 667 gbm_surface_create_with_modifiers(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, const uint64_t *modifiers, const unsigned int count) gbm_surface_create_with_modifiers() argument 693 gbm_surface_create_with_modifiers2(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, const uint64_t *modifiers, const unsigned int count, uint32_t flags) gbm_surface_create_with_modifiers2() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiPhysicalDeviceFormatPropertiesMaint5Tests.cpp | 165 imageFormatInfo.format = VK_FORMAT_UNDEFINED; in iterate() 172 sparseFormatInfo.format = VK_FORMAT_UNDEFINED; in iterate() 185 const VkFormat format = VkFormat(VK_FORMAT_MAX_ENUM - i); in iterate() local 191 inst.getPhysicalDeviceFormatProperties(dev, format, &props1); in iterate() 197 inst.getPhysicalDeviceFormatProperties2(dev, format, &props2); in iterate() 203 res = inst.getPhysicalDeviceImageFormatProperties(dev, format, imageType, tiling, usage, createFlags, &imageProps1); in iterate() 209 imageFormatInfo.format = format; in iterate() 216 inst.getPhysicalDeviceSparseImageFormatProperties(dev, format, imageType, sampling, usage, tiling, &propsCount, nullptr); in iterate() 222 sparseFormatInfo.format in iterate() 241 const VkFormat format = VK_FORMAT_R8G8B8A8_UNORM; iterate() local [all...] |
H A D | vktApiImageClearingTests.cpp | 272 const TextureFormat format = getEffectiveDepthStencilTextureFormat(access.getFormat(), Sampler::MODE_DEPTH); in comparePixelToDepthClearValue() local 273 const TextureChannelClass channelClass = getTextureChannelClass(format.type); in comparePixelToDepthClearValue() 280 const int bitDepth = getTextureFormatBitDepth(format).x(); in comparePixelToDepthClearValue() 298 const int mantissaBits = getTextureFormatMantissaBitDepth(format).x(); in comparePixelToDepthClearValue() 555 Move<VkImage> createImage (VkImageType imageType, VkFormat format, VkImageTiling tiling, VkExtent3D extent, deUint32 arrayLayerCount, VkImageUsageFlags usage, VkSampleCountFlagBits sampleCount = VK_SAMPLE_COUNT_1_BIT) const; 556 Move<VkImageView> createImageView (VkImage image, VkImageViewType viewType, VkFormat format, VkImageAspectFlags aspectMask, LayerRange layerRange) const; 557 Move<VkRenderPass> createRenderPass (VkFormat format, VkSampleCountFlagBits sampleCount) const; 580 VkImageUsageFlags getImageUsageFlags (VkFormat format) const; 581 VkImageAspectFlags getImageAspectFlags (VkFormat format) const; 582 bool getIsAttachmentFormat (VkFormat format, VkImageTilin 751 getIs3DFormat(VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags) const getIs3DFormat() argument 758 getIsAttachmentFormat(VkFormat format, VkImageTiling tiling) const getIsAttachmentFormat() argument 827 createImage(VkImageType imageType, VkFormat format, VkImageTiling tiling, VkExtent3D extent, deUint32 arrayLayerCount, VkImageUsageFlags usage, VkSampleCountFlagBits sampleCount) const createImage() argument 857 createImageView(VkImage image, VkImageViewType viewType, VkFormat format, VkImageAspectFlags aspectMask, LayerRange layerRange) const createImageView() argument 885 createRenderPass(VkFormat format, VkSampleCountFlagBits sampleCount) const createRenderPass() argument 1391 const TextureFormat format = mapVkFormat(m_params.imageFormat); verifyResultImage() local 1981 makeClearColorValue(VkFormat format, float r, float g, float b, float a) makeClearColorValue() argument 2060 getFormatCaseName(VkFormat format) getFormatCaseName() argument 2479 const VkFormat format = colorImageFormatsToTest[imageFormatIndex]; createImageClearingTestsCommon() local 2682 const VkFormat format = depthStencilImageFormatsToTest[imageFormatIndex]; createImageClearingTestsCommon() local 2770 const VkFormat format = colorImageFormatsToTest[imageFormatIndex]; createImageClearingTestsCommon() local 2879 const VkFormat format = depthStencilImageFormatsToTest[imageFormatIndex]; createImageClearingTestsCommon() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineLogicOpTests.cpp | 57 VkFormat format) in isSupportedColorAttachmentFormat() 60 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedColorAttachmentFormat() 63 // color attachment format we only need to check that it is a valid color attachment in isSupportedColorAttachmentFormat() 64 // format here. in isSupportedColorAttachmentFormat() 74 VkFormat format; // Framebuffer format. member 157 DE_ASSERT(m_params.format != VK_FORMAT_UNDEFINED); in LogicOpTest() 173 if (!isSupportedColorAttachmentFormat(ctx.getInstanceInterface(), ctx.getPhysicalDevice(), m_params.format)) in checkSupport() 174 TCU_THROW(NotSupportedError, "Unsupported color attachment format: " + std::string(getFormatName(m_params.format))); in checkSupport() 55 isSupportedColorAttachmentFormat(const InstanceInterface& instanceInterface, VkPhysicalDevice device, VkFormat format) isSupportedColorAttachmentFormat() argument 482 getSimpleFormatName(VkFormat format) getSimpleFormatName() argument 552 const auto& format = formatList[formatIdx]; createLogicOpTests() local [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | ExternalTextureTests.cpp | 31 descriptor.format = kDefaultTextureFormat; in CreateDefaultTextureDescriptor() 63 externalDesc.format = kDefaultTextureFormat; in TEST_F() 68 // Creating an external texture with a mismatched texture view format should fail. in TEST_F() 71 textureDescriptor.format = wgpu::TextureFormat::RGBA8Uint; in TEST_F() 75 externalDesc.format = kDefaultTextureFormat; in TEST_F() 87 externalDesc.format = kDefaultTextureFormat; in TEST_F() 99 externalDesc.format = kDefaultTextureFormat; in TEST_F() 112 externalDesc.format = kDefaultTextureFormat; in TEST_F() 117 // Creating an external texture with an unsupported format should fail. in TEST_F() 120 textureDescriptor.format in TEST_F() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineLogicOpTests.cpp | 55 VkFormat format) in isSupportedColorAttachmentFormat() 58 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedColorAttachmentFormat() 61 // color attachment format we only need to check that it is a valid color attachment in isSupportedColorAttachmentFormat() 62 // format here. in isSupportedColorAttachmentFormat() 72 VkFormat format; // Framebuffer format. member 157 DE_ASSERT(m_params.format != VK_FORMAT_UNDEFINED); in LogicOpTest() 173 if (!isSupportedColorAttachmentFormat(ctx.getInstanceInterface(), ctx.getPhysicalDevice(), m_params.format)) in checkSupport() 174 TCU_THROW(NotSupportedError, "Unsupported color attachment format: " + std::string(getFormatName(m_params.format))); in checkSupport() 53 isSupportedColorAttachmentFormat(const InstanceInterface& instanceInterface, VkPhysicalDevice device, VkFormat format) isSupportedColorAttachmentFormat() argument 482 getSimpleFormatName(VkFormat format) getSimpleFormatName() argument 552 const auto& format = formatList[formatIdx]; createLogicOpTests() local [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_texture.c | 31 #include "util/format/u_format.h" 61 blit.src.format = src->format; in si_copy_region_with_blit() 65 blit.dst.format = dst->format; in si_copy_region_with_blit() 73 blit.mask = util_format_get_mask(dst->format); in si_copy_region_with_blit() 122 if (util_format_is_compressed(dst->format)) { in si_copy_from_staging_texture() 123 sbox.width = util_format_get_nblocksx(dst->format, sbox.width); in si_copy_from_staging_texture() 124 sbox.height = util_format_get_nblocksx(dst->format, sbox.height); in si_copy_from_staging_texture() 178 const struct util_format_description *desc = util_format_description(ptex->format); in si_init_surface() 1350 enum pipe_format format = res->b.b.format; si_texture_commit() local 1389 si_query_dmabuf_modifiers(struct pipe_screen *screen, enum pipe_format format, int max, uint64_t *modifiers, unsigned int *external_only, int *count) si_query_dmabuf_modifiers() argument 1414 si_is_dmabuf_modifier_supported(struct pipe_screen *screen, uint64_t modifier, enum pipe_format format, bool *external_only) si_is_dmabuf_modifier_supported() argument 1454 si_get_dmabuf_modifier_planes(struct pipe_screen *pscreen, uint64_t modifier, enum pipe_format format) si_get_dmabuf_modifier_planes() argument 2146 si_translate_colorswap(enum amd_gfx_level gfx_level, enum pipe_format format, bool do_endian_swap) si_translate_colorswap() argument 2289 si_get_sparse_texture_virtual_page_size(struct pipe_screen *screen, enum pipe_texture_target target, bool multi_sample, enum pipe_format format, unsigned offset, unsigned size, int *x, int *y, int *z) si_get_sparse_texture_virtual_page_size() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/shmobile/ |
H A D | shmob_drm_crtc.c | 157 const struct shmob_drm_format_info *format; in shmob_drm_crtc_start() local 166 format = shmob_drm_format_info(crtc->primary->fb->format->format); in shmob_drm_crtc_start() 167 if (WARN_ON(format == NULL)) in shmob_drm_crtc_start() 207 /* Setup geometry, format, frame buffer memory and operation mode. */ in shmob_drm_crtc_start() 211 lcdc_write(sdev, LDDFR, format->lddfr | LDDFR_CF1); in shmob_drm_crtc_start() 214 if (format->yuv) in shmob_drm_crtc_start() 219 switch (format->fourcc) { in shmob_drm_crtc_start() 294 bpp = scrtc->format in shmob_drm_crtc_compute_base() 352 const struct shmob_drm_format_info *format; shmob_drm_crtc_mode_set() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/renesas/shmobile/ |
H A D | shmob_drm_crtc.c | 160 const struct shmob_drm_format_info *format; in shmob_drm_crtc_start() local 169 format = shmob_drm_format_info(crtc->primary->fb->format->format); in shmob_drm_crtc_start() 170 if (WARN_ON(format == NULL)) in shmob_drm_crtc_start() 210 /* Setup geometry, format, frame buffer memory and operation mode. */ in shmob_drm_crtc_start() 214 lcdc_write(sdev, LDDFR, format->lddfr | LDDFR_CF1); in shmob_drm_crtc_start() 217 if (format->yuv) in shmob_drm_crtc_start() 222 switch (format->fourcc) { in shmob_drm_crtc_start() 298 bpp = scrtc->format in shmob_drm_crtc_compute_base() 356 const struct shmob_drm_format_info *format; shmob_drm_crtc_mode_set() local [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
H A D | c_driver_lite.py | 104 LOG.info("type:{}".format(self.kit_type)) 105 LOG.info("auto_deploy:{}".format(self.auto_deploy)) 106 LOG.info("run_third:{}".format(self.run_third)) 148 LOG.debug("java log file:{}".format(self.java_log_file)) 151 LOG.debug("jar file path:{}".format(jar_file_path)) 155 jar_params = "\"{}\" {}".format(jar_file_path, "".join(self.jar_params)) 156 LOG.debug("jar params:{}".format(jar_params)) 157 self.java_command = "java -jar {}".format(jar_params) 158 LOG.debug("jar execute command:{}".format(self.java_command)) 197 file_name.write("{}{}".format( [all...] |
/third_party/node/deps/v8/tools/gcmole/ |
H A D | gcmole.py | 74 def log(format, *args, **kwargs): 76 print(mark * 2, str(format).format(*list(map(str, args)))) 79 def fatal(format): 80 log(format) 126 "-I{}".format(options.v8_root_dir), 127 "-I{}".format(options.v8_root_dir / 'include'), 128 "-I{}".format(options.v8_build_dir / 'gen'), 129 "-I{}".format(icu_src_dir / 'common'), 130 "-I{}".format(icu_src_di [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugFrame.cpp | 231 OS << format(" Opcode %x", Opcode); in printOperand() 237 OS << format(" %" PRIx64, Operand); in printOperand() 243 OS << format(" %+" PRId64, int64_t(Operand)); in printOperand() 247 OS << format(" %" PRId64, Operand * CodeAlignmentFactor); in printOperand() 249 OS << format(" %" PRId64 "*code_alignment_factor" , Operand); in printOperand() 253 OS << format(" %" PRId64, int64_t(Operand) * DataAlignmentFactor); in printOperand() 255 OS << format(" %" PRId64 "*data_alignment_factor" , int64_t(Operand)); in printOperand() 259 OS << format(" %" PRId64, Operand * DataAlignmentFactor); in printOperand() 261 OS << format(" %" PRId64 "*data_alignment_factor" , Operand); in printOperand() 264 OS << format(" re in printOperand() [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_surface.c | 29 #include "util/format/u_format.h" 54 nv50_2d_format(enum pipe_format format, bool dst, bool dst_src_equal) in nv50_2d_format() argument 56 uint8_t id = nv50_format_table[format].rt; in nv50_2d_format() 65 switch (util_format_get_blocksize(format)) { in nv50_2d_format() 88 uint32_t format; in nv50_2d_texture_set() local 92 format = nv50_2d_format(pformat, dst, dst_src_pformat_equal); in nv50_2d_texture_set() 93 if (!format) { in nv50_2d_texture_set() 94 NOUVEAU_ERR("invalid/unsupported surface format: %s\n", in nv50_2d_texture_set() 116 PUSH_DATA (push, format); in nv50_2d_texture_set() 126 PUSH_DATA (push, format); in nv50_2d_texture_set() 1118 nv50_blit_set_dst(struct nv50_blitctx *ctx, struct pipe_resource *res, unsigned level, unsigned layer, enum pipe_format format) nv50_blit_set_dst() argument 1148 nv50_blit_set_src(struct nv50_blitctx *blit, struct pipe_resource *res, unsigned level, unsigned layer, enum pipe_format format, const uint8_t filter) nv50_blit_set_src() argument [all...] |
/third_party/python/Lib/test/ |
H A D | test_float.py | 27 #locate file with float format test values 675 # these should be rewritten to use both format(x, spec) and 678 self.assertEqual(format(0.0, 'f'), '0.000000') 680 # the default is 'g', except for empty format spec 681 self.assertEqual(format(0.0, ''), '0.0') 682 self.assertEqual(format(0.01, ''), '0.01') 683 self.assertEqual(format(0.01, 'g'), '0.01') 685 # empty presentation type should format in the same way as str 688 self.assertEqual(format(x, ''), str(x)) 689 self.assertEqual(format( [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | rs.c | 157 /* if legacy format */ in iwl_new_rate_from_v1() 199 u32 format = rate & RATE_MCS_MOD_TYPE_MSK; in rs_pretty_print_rate() local 202 if (format == RATE_MCS_CCK_MSK || in rs_pretty_print_rate() 203 format == RATE_MCS_LEGACY_OFDM_MSK) { in rs_pretty_print_rate() 205 int index = format == RATE_MCS_CCK_MSK ? in rs_pretty_print_rate() 215 if (format == RATE_MCS_VHT_MSK) in rs_pretty_print_rate() 217 else if (format == RATE_MCS_HT_MSK) in rs_pretty_print_rate() 219 else if (format == RATE_MCS_HE_MSK) in rs_pretty_print_rate() 221 else if (format == RATE_MCS_EHT_MSK) in rs_pretty_print_rate() 226 mcs = format in rs_pretty_print_rate() [all...] |
/third_party/ffmpeg/libavutil/tests/ |
H A D | audio_fifo.c | 30 const enum AVSampleFormat format; member 41 {.format = AV_SAMPLE_FMT_U8 , .nb_ch = 1, .data_planes = {data_U8 , }, .nb_samples_pch = 12}, 42 {.format = AV_SAMPLE_FMT_U8P , .nb_ch = 2, .data_planes = {data_U8 , data_U8 +6, }, .nb_samples_pch = 6 }, 43 {.format = AV_SAMPLE_FMT_S16 , .nb_ch = 1, .data_planes = {data_S16, }, .nb_samples_pch = 12}, 44 {.format = AV_SAMPLE_FMT_S16P , .nb_ch = 2, .data_planes = {data_S16, data_S16+6, }, .nb_samples_pch = 6 }, 45 {.format = AV_SAMPLE_FMT_FLT , .nb_ch = 1, .data_planes = {data_FLT, }, .nb_samples_pch = 12}, 46 {.format = AV_SAMPLE_FMT_FLTP , .nb_ch = 2, .data_planes = {data_FLT, data_FLT+6, }, .nb_samples_pch = 6 } 67 int byte_offset = av_get_bytes_per_sample(test_sample->format); in print_audio_bytes() 68 int buffers = av_sample_fmt_is_planar(test_sample->format) in print_audio_bytes() 131 AVAudioFifo *afifo = av_audio_fifo_alloc(test_sample->format, test_sampl in test_function() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | fsb.c | 40 unsigned format, version, c; in fsb_read_header() local 66 format = avio_rl32(pb); in fsb_read_header() 75 if (format & 0x00000100) { in fsb_read_header() 78 } else if (format & 0x00400000) { in fsb_read_header() 82 } else if (format & 0x00800000) { in fsb_read_header() 85 } else if (format & 0x02000000) { in fsb_read_header() 99 avpriv_request_sample(s, "format 0x%X", format); in fsb_read_header() 107 format = avio_rb32(pb); in fsb_read_header() 108 switch(format) { in fsb_read_header() [all...] |
/third_party/cups-filters/cupsfilters/ |
H A D | image-pnm.c | 47 int format, /* Format of PNM file */ in _cupsImageReadPNM() local 53 * Read the file header in the format: in _cupsImageReadPNM() 74 format = atoi(lineptr); in _cupsImageReadPNM() 106 if (format != 1 && format != 4) in _cupsImageReadPNM() 143 if (format == 1 || format == 2 || format == 4 || format == 5) in _cupsImageReadPNM() 173 switch (format) in _cupsImageReadPNM() [all...] |
/third_party/icu/icu4c/source/i18n/unicode/ |
H A D | rbnf.h | 114 * <p>For larger numbers, we can use the preceding set of rules to format the ones place, and 130 * isolate the number's ones digit, format it using this same set of rules, and place the 206 * <p>The above syntax suffices only to format positive integers. To format negative numbers, 212 * where the base value would be. This rule is used to format all negative numbers. the 213 * >> token here means "find the number's absolute value, format it with these 241 * are <em>public:</em> the caller can specify that they be used to format and parse numbers. 345 * on whether it is used to format a number's integral part (or the whole number) or a 346 * number's fractional part. Using a rule set to format a rule's fractional part makes it a 349 * <p>Which rule is used to format [all...] |