Home
last modified time | relevance | path

Searched refs:format (Results 6101 - 6125 of 13180) sorted by relevance

1...<<241242243244245246247248249250>>...528

/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/src/
H A Dprepared_model_service.cpp364 auto format = static_cast<Format>(msTensor.format()); in CompareTensor() local
365 if (tensor.format != format) { in CompareTensor()
/foundation/ability/idl_tool/util/
H A Dstring.cpp654 String String::Format(const char* format, ...) in Format() argument
658 va_start(args, format); in Format()
662 int len = vsnprintf_s(buf, LINE_MAX_SIZE, LINE_MAX_SIZE - 1, format, args); in Format()
677 if (vsnprintf_s(string.string_, len + 1, len, format, argsCopy) < 0) { in Format()
/foundation/CastEngine/castengine_wifi_display/services/codec/src/
H A Daudio_aac_codec.cpp137 (AVSampleFormat)avFrame_->format, // AV_SAMPLE_FMT_FLTP in OnFrame()
278 encFrame_->format = enc_->sample_fmt; in Init()
296 AVSampleFormat(encFrame_->format), 0); in Init()
326 // ADTS header format (7 or 9 bytes): in AddAdtsHeader()
410 encFrame_->format = AV_SAMPLE_FMT_FLTP; in OnFrame()
/foundation/arkui/ace_engine/frameworks/core/components/shape/
H A Drosen_render_shape_container.cpp144 RSBitmapFormat format { in Paint()
148 offBitmap_.Build(GetLayoutSize().Width(), GetLayoutSize().Height(), format); in Paint()
196 RSBitmapFormat format { in BitmapMesh()
200 offBitmap_.Build(GetLayoutSize().Width(), GetLayoutSize().Height(), format); in BitmapMesh()
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/test/unittest/common/
H A Dnumber_format_module_tdd_test.cpp61 jerry_value_t format = jerryx_get_property_str(numberFormat, "format"); in FormatNumber() local
62 if (IS_UNDEFINED(format)) { in FormatNumber()
63 printf("get the format attribute failed\n"); in FormatNumber()
67 jerry_value_t result = CallJSFunction(format, numberFormat, args, argsNum); in FormatNumber()
69 ReleaseJerryValue(format, result, VA_ARG_END_FLAG); in FormatNumber()
88 * @tc.steps:step2.get the format attribute and format the number 9 in HWTEST_F()
89 * @tc.expected:step2.the format result is 9 in HWTEST_F()
101 * @tc.steps:step3.create the number format objec in HWTEST_F()
[all...]
/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Dpa_capturer_stream_impl.cpp95 if (static_cast<uint8_t>(sampleSpec->format) != processConfig_.streamInfo.format) { in InitParams()
96 AUDIO_WARNING_LOG("Unequal format, in server: %{public}d, in client: %{public}d", sampleSpec->format, in InitParams()
97 processConfig_.streamInfo.format); in InitParams()
/foundation/multimedia/av_codec/services/media_engine/filters/
H A Dsurface_encoder_filter.cpp94 void OnOutputFormatChanged(const std::shared_ptr<Meta> &format) in OnOutputFormatChanged() argument
143 Status SurfaceEncoderFilter::SetCodecFormat(const std::shared_ptr<Meta> &format) in SetCodecFormat() argument
147 FALSE_RETURN_V(format->Get<Tag::MIME_TYPE>(codecMimeType), Status::ERROR_INVALID_PARAMETER); in SetCodecFormat()
151 FALSE_RETURN_V(format->Get<Tag::MIME_TYPE>(codecMimeType_), Status::ERROR_INVALID_PARAMETER); in SetCodecFormat()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_surface_capture_task.cpp199 Drawing::BitmapFormat format { Drawing::ColorType::COLORTYPE_RGBA_8888, Drawing::AlphaType::ALPHATYPE_PREMUL }; in CopyDataToPixelMap()
201 bitmap.Build(pixelmap->GetWidth(), pixelmap->GetHeight(), format); in CopyDataToPixelMap()
219 Drawing::BitmapFormat format { Drawing::ColorType::COLORTYPE_RGBA_8888, Drawing::AlphaType::ALPHATYPE_PREMUL }; in CopyDataToPixelMap()
221 bitmap.Build(pixelmap->GetWidth(), pixelmap->GetHeight(), format); in CopyDataToPixelMap()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/
H A Drender_node_default_shadows_blur.cpp92 (shadowImageDesc.format != temporaryImage_.format) || in PreExecuteFrame()
104 temporaryImage_.format = shadowImageDesc.format; in PreExecuteFrame()
/foundation/multimedia/audio_framework/frameworks/native/pulseaudio/modules/capturer/
H A Dmodule_inner_capturer_sink.c57 "format=<sample format> "
90 "format",
366 pa_format_info *format; in CreateSink() local
373 AUDIO_ERR_LOG("Invalid sample format specification or channel map"); in CreateSink()
388 format = pa_format_info_new(); in CreateSink()
389 format->encoding = PA_ENCODING_PCM; in CreateSink()
390 pa_idxset_put(u->formats, format, NULL); in CreateSink()
/foundation/multimedia/audio_framework/services/audio_service/test/unittest/audio_server_unit_test/src/
H A Daudio_server_unit_test.cpp392 config.streamInfo.format = SAMPLE_U8; in HWTEST_F()
409 config.streamInfo.format = INVALID_WIDTH; in HWTEST_F()
437 config.streamInfo.format = SAMPLE_U8; in HWTEST_F()
442 config.streamInfo.format = INVALID_WIDTH; in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/
H A Drs_ui_first_surface_render_node_drawable.cpp158 if (vkTexture != nullptr && vkTexture->format == VK_FORMAT_R16G16B16A16_SFLOAT) { in GetCompletedImage()
307 VkFormat format = VK_FORMAT_R8G8B8A8_UNORM; in InitCacheSurface() local
310 format = VK_FORMAT_R16G16B16A16_SFLOAT; in InitCacheSurface()
313 cacheBackendTexture_ = RSUniRenderUtil::MakeBackendTexture(width, height, format); in InitCacheSurface()
/foundation/multimedia/image_framework/plugins/common/libs/image/libbmpplugin/src/
H A Dbmp_decoder.cpp160 .format = GRAPHIC_PIXEL_FMT_RGBA_8888, // PixelFormat in DmaMemAlloc()
362 SkColorType BmpDecoder::ConvertToColorType(PixelFormat format, PixelFormat &outputFormat) in ConvertToColorType() argument
364 switch (format) { in ConvertToColorType()
393 IMAGE_LOGD("unsupported convert to format:%{public}d, set default RGBA", format); in ConvertToColorType()
/foundation/multimedia/av_codec/test/unittest/audio_encoder_filter_test/
H A Daudio_encoder_filter_unitest.cpp202 // format == nulllptr in HWTEST_F()
203 std::shared_ptr<Meta> format = std::make_shared<Meta>(); in HWTEST_F() local
204 EXPECT_EQ(audioEncoderFilter_->SetCodecFormat(format), Status::ERROR_INVALID_PARAMETER); in HWTEST_F()
206 // format != nullptr in HWTEST_F()
207 format->Set<Tag::MIME_TYPE>(std::string("audio/mp3")); in HWTEST_F()
208 EXPECT_EQ(audioEncoderFilter_->SetCodecFormat(format), Status::OK); in HWTEST_F()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dimage_ndk_test.cpp79 int32_t* format = nullptr; in HWTEST_F() local
80 int32_t result = OH_Image_Format(native, format); in HWTEST_F()
240 int32_t* format = nullptr; in HWTEST_F() local
241 int32_t res = OH_Image_Receiver_GetFormat(p, format); in HWTEST_F()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/creator/src/
H A Dimage_creator.cpp83 int32_t height, int32_t format, int32_t capicity) in CreateImageCreator()
109 iva->iraContext_->SetFormat(format); in CreateImageCreator()
124 option.format = ImageReceiver::OPTION_FORMAT; in CreatorPackImage()
131 IMAGE_LOGE("image packer get supported format failed, ret=%{public}u.", ret); in CreatorPackImage()
255 config.format = PIXEL_FMT_RGBA_8888; in DequeueImage()
82 CreateImageCreator(int32_t width, int32_t height, int32_t format, int32_t capicity) CreateImageCreator() argument
/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dphoto_listener_impl.cpp227 .format = surfaceBuffer->GetFormat(), in DeepCopyBuffer()
254 int32_t format = bufferHandle->format; in CreateMediaLibrary() local
257 photoProxy = new(std::nothrow) CameraPhotoProxy(bufferHandle, format, extraData.photoWidth, extraData.photoHeight, in CreateMediaLibrary()
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/
H A Drandomseek_test.cpp51 static OH_AVFormat *format = nullptr; member
75 if (format != nullptr) { in TearDown()
76 OH_AVFormat_Destroy(format); in TearDown()
77 format = nullptr; in TearDown()
/foundation/multimedia/player_framework/frameworks/native/audio_haptic/
H A Daudio_haptic_sound_normal_impl.cpp101 Format format; in ResetAVPlayer() local
102 format.PutIntValue(PlayerKeys::CONTENT_TYPE, AudioStandard::CONTENT_TYPE_UNKNOWN); in ResetAVPlayer()
103 format.PutIntValue(PlayerKeys::STREAM_USAGE, streamUsage_); in ResetAVPlayer()
104 ret = avPlayer_->SetParameter(format); in ResetAVPlayer()
/foundation/multimedia/player_framework/test/fuzztest/common/
H A Dtest_recorder.cpp92 .format = GRAPHIC_PIXEL_FMT_RGBA_8888,
112 .format = GRAPHIC_PIXEL_FMT_YCRCB_420_SP,
316 void TestRecorder::SetParameter(int32_t sourceId, const Format &format, VideoRecorderConfig_ &recorderConfig) in SetParameter() argument
318 recorder->SetParameter(sourceId, format); in SetParameter()
/foundation/multimedia/player_framework/services/services/transcoder/ipc/
H A Dtranscoder_service_stub.cpp165 int32_t TransCoderServiceStub::SetOutputFormat(OutputFormatType format) in SetOutputFormat() argument
168 return transCoderServer_->SetOutputFormat(format); in SetOutputFormat()
265 int32_t format = data.ReadInt32(); in SetAudioEncoder() local
266 AudioCodecFormat encoderFormat = static_cast<AudioCodecFormat>(format); in SetAudioEncoder()
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/
H A Dav_trans_utils.cpp159 uint32_t format = static_cast<uint32_t>(std::atoi(value.c_str())); in Convert2HiSBufferMeta() local
160 hisAMeta->format_ = (AudioSampleFormat)format; in Convert2HiSBufferMeta()
175 uint32_t format = static_cast<uint32_t>(std::atoi(value.c_str())); in Convert2HiSBufferMeta() local
176 hisVMeta->format_ = (VideoPixelFormat)format; in Convert2HiSBufferMeta()
/kernel/linux/linux-5.10/drivers/acpi/
H A Dfan.c239 struct acpi_buffer format = { sizeof("NNNN"), "NNNN" }; in acpi_fan_get_fif() local
255 status = acpi_extract_package(obj, &format, &fif); in acpi_fan_get_fif()
335 struct acpi_buffer format = { sizeof("NNNNN"), "NNNNN" }; in acpi_fan_get_fps() local
339 &format, &fps); in acpi_fan_get_fps()
/kernel/linux/linux-5.10/arch/m68k/fpsp040/
H A Dx_snan.S10 | If the dest data format is s, d, or x, then the SNAN bit in the NAN
12 | necessary) is transferred to the dest. If the dest format is b, w,
101 moveb VER_TMP(%a6),(%a7) |format a busy frame
129 moveb VER_TMP(%a6),(%a7) |format a busy frame
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
H A Dbootx_init.c44 static void __init bootx_printf(const char *format, ...) in bootx_printf() argument
50 va_start(args, format); in bootx_printf()
51 for (p = format; *p != 0; p = q) { in bootx_printf()
86 static void __init bootx_printf(const char *format, ...) {} in bootx_printf() argument

Completed in 27 milliseconds

1...<<241242243244245246247248249250>>...528