Home
last modified time | relevance | path

Searched refs:format (Results 851 - 875 of 1671) sorted by relevance

1...<<31323334353637383940>>...67

/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Ddevice_gles.cpp195 // required depth format
200 static constexpr const FormatFeatureFlags CR_TEX = CR | TEX; // color renderable, texture format
202 static constexpr const FormatFeatureFlags CR_REND_TEX = CR | TEX; // color renderable, renderbuffer, texture format
217 // R3_G3_B2 not in base format
219 // RGB5 not in base format
227 // RGBA2 not in base format
608 // Special R11 G11 B10 float format. This format does not work with compute on GLES, but works as a texture. (this
1177 FormatProperties DeviceGLES::GetFormatProperties(const Format format) const
1180 auto& glFormat = GetGlImageFormat(format);
[all...]
/foundation/graphic/graphic_surface/surface/test/systemtest/
H A Dnative_window_test.cpp214 int32_t format = GRAPHIC_PIXEL_FMT_RGBA_8888; in CreateNativeWindowAndRequestBuffer002() local
215 OH_NativeWindow_NativeWindowHandleOpt(*nativeWindow, code, format); in CreateNativeWindowAndRequestBuffer002()
313 int32_t format = GRAPHIC_PIXEL_FMT_RGBA_8888; in CreateNativeWindowAndRequestBuffer003() local
314 OH_NativeWindow_NativeWindowHandleOpt(*nativeWindow, code, format); in CreateNativeWindowAndRequestBuffer003()
458 int32_t format = GRAPHIC_PIXEL_FMT_RGBA_8888; in CreateNativeWindowAndRequestBuffer004() local
459 OH_NativeWindow_NativeWindowHandleOpt(*nativeWindow, code, format); in CreateNativeWindowAndRequestBuffer004()
585 int32_t format = GRAPHIC_PIXEL_FMT_RGBA_8888; in CreateNativeWindowAndRequestBuffer005() local
586 OH_NativeWindow_NativeWindowHandleOpt(*nativeWindow, code, format); in CreateNativeWindowAndRequestBuffer005()
810 int32_t format = GRAPHIC_PIXEL_FMT_RGBA_8888; in CreateNativeWindowAndRequestBuffer007() local
811 OH_NativeWindow_NativeWindowHandleOpt(*nativeWindow, code, format); in CreateNativeWindowAndRequestBuffer007()
981 int32_t format = GRAPHIC_PIXEL_FMT_RGBA_8888; CreateNativeWindowAndRequestBuffer008() local
[all...]
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/remote/
H A Dremote_audio_renderer_sink.cpp138 AudioFormat ConvertToHdiFormat(HdiAdapterFormat format);
143 void DfxOperation(BufferDesc &buffer, AudioSampleFormat format, AudioChannel channel) const;
279 value << "format[" << static_cast<int32_t>(attr.format) << "] "; in PrintRemoteAttr()
367 param.format = ConvertToHdiFormat(attr_.format); in CreateRender()
370 AUDIO_DEBUG_LOG("Create render format: %{public}d", param.format); in CreateRender()
410 AudioFormat RemoteAudioRendererSinkInner::ConvertToHdiFormat(HdiAdapterFormat format) in ConvertToHdiFormat() argument
413 switch (format) { in ConvertToHdiFormat()
961 DfxOperation(BufferDesc &buffer, AudioSampleFormat format, AudioChannel channel) const DfxOperation() argument
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/plugin_test/
H A Dext_decoder_test.cpp411 SkColorType format; in HWTEST_F() local
413 bool ret = extDecoder->ConvertInfoToColorType(format, outputFormat); in HWTEST_F()
417 ret = extDecoder->ConvertInfoToColorType(format, outputFormat); in HWTEST_F()
421 ret = extDecoder->ConvertInfoToColorType(format, outputFormat); in HWTEST_F()
465 PixelFormat format; in HWTEST_F() local
467 format = PixelFormat::RGBA_8888; in HWTEST_F()
468 auto ret = extDecoder->ConvertToColorType(format, outputFormat); in HWTEST_F()
472 format = PixelFormat::UNKNOWN; in HWTEST_F()
473 ret = extDecoder->ConvertToColorType(format, outputFormat); in HWTEST_F()
479 ret = extDecoder->ConvertToColorType(format, outputForma in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/sample/
H A Dvdec_sample.cpp91 void VDecCallbackTest::OnStreamChanged(std::shared_ptr<FormatMock> format) in OnStreamChanged() argument
94 cout << "info: " << format->DumpInfo() << endl; in OnStreamChanged()
140 void VDecCallbackTestExt::OnStreamChanged(std::shared_ptr<FormatMock> format) in OnStreamChanged() argument
143 cout << "info: " << format->DumpInfo() << endl; in OnStreamChanged()
271 int32_t VideoDecSample::Configure(std::shared_ptr<FormatMock> format) in Configure() argument
276 return videoDec_->Configure(format); in Configure()
351 int32_t VideoDecSample::SetParameter(std::shared_ptr<FormatMock> format) in SetParameter() argument
356 return videoDec_->SetParameter(format); in SetParameter()
751 std::shared_ptr<FormatMock> format = videoDec_->GetOutputDescription(); in CheckFormatKey() local
754 EXPECT_TRUE(format in CheckFormatKey()
[all...]
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_server_test/
H A Dcodec_server_coverage_unit_test.cpp1135 * @tc.desc: MergeFormat format key type FORMAT_TYPE_INT32
1139 Format format; in HWTEST_F() local
1142 format.PutIntValue(MediaDescriptionKey::MD_KEY_QUALITY, quality); in HWTEST_F()
1145 codecParamChecker.MergeFormat(format, oldFormat); in HWTEST_F()
1152 format = Format(); in HWTEST_F()
1158 * @tc.desc: MergeFormat format key type FORMAT_TYPE_INT64
1162 Format format; in HWTEST_F() local
1165 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, bitrate); in HWTEST_F()
1168 codecParamChecker.MergeFormat(format, oldFormat); in HWTEST_F()
1175 format in HWTEST_F()
1185 Format format; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_text_clock.cpp125 JSClass<JSTextClock>::StaticMethod("format", &JSTextClock::SetFormat, opt); in JSBind()
254 auto format = info[0]->ToString(); in SetFormat() local
258 if (format.empty() || !StringUtils::IsAscii(format) || !std::regex_match(format, pattern)) { in SetFormat()
264 TextClockModel::GetInstance()->SetFormat(format); in SetFormat()
/foundation/graphic/graphic_surface/interfaces/inner_api/surface/
H A Dsurface_type.h96 GRAPHIC_PIXEL_FMT_CLUT8 = 0, /**< CLUT8 format */
97 GRAPHIC_PIXEL_FMT_CLUT1 = 1, /**< CLUT1 format */
98 GRAPHIC_PIXEL_FMT_CLUT4 = 2, /**< CLUT4 format */
99 GRAPHIC_PIXEL_FMT_RGB_565 = 3, /**< RGB565 format */
100 GRAPHIC_PIXEL_FMT_RGBA_5658 = 4, /**< RGBA5658 format */
101 GRAPHIC_PIXEL_FMT_RGBX_4444 = 5, /**< RGBX4444 format */
102 GRAPHIC_PIXEL_FMT_RGBA_4444 = 6, /**< RGBA4444 format */
103 GRAPHIC_PIXEL_FMT_RGB_444 = 7, /**< RGB444 format */
104 GRAPHIC_PIXEL_FMT_RGBX_5551 = 8, /**< RGBX5551 format */
105 GRAPHIC_PIXEL_FMT_RGBA_5551 = 9, /**< RGBA5551 format */
[all...]
/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Daudio_process_in_server.cpp290 AppendFormat(dumpString, " - format: %d\n", processConfig_.streamInfo.format); in Dump()
325 inline uint32_t PcmFormatToBits(AudioSampleFormat format) in PcmFormatToBits() argument
327 switch (format) { in PcmFormatToBits()
387 uint32_t formatbyte = PcmFormatToBits(processConfig_.streamInfo.format); in ConfigProcessBuffer()
392 uint32_t serverByteSize = *serverStreamInfo.channels.rbegin() * PcmFormatToBits(serverStreamInfo.format); in ConfigProcessBuffer()
/foundation/multimedia/av_codec/services/media_engine/modules/sink/
H A Dsubtitle_sink.cpp20 #include "meta/format.h"
344 Format format; in NotifyRender() local
345 (void)format.PutStringValue(Tag::SUBTITLE_TEXT, subtitleInfo.text_); in NotifyRender()
346 (void)format.PutIntValue(Tag::SUBTITLE_PTS, Plugins::Us2Ms(subtitleInfo.pts_)); in NotifyRender()
347 (void)format.PutIntValue(Tag::SUBTITLE_DURATION, Plugins::Us2Ms(subtitleInfo.duration_)); in NotifyRender()
348 Event event{ .srcFilter = "SubtitleSink", .type = EventType::EVENT_SUBTITLE_TEXT_UPDATE, .param = format }; in NotifyRender()
/foundation/graphic/surface_lite/frameworks/
H A Dbuffer_queue_producer.cpp113 uint32_t format; in OnSetFormat() local
114 ReadUint32(io, &format); in OnSetFormat()
115 product->SetFormat(format); in OnSetFormat()
309 void BufferQueueProducer::SetFormat(uint32_t format) in SetFormat() argument
312 bufferQueue_->SetFormat(format); in SetFormat()
/foundation/graphic/graphic_surface/surface/src/
H A Dnative_buffer.cpp95 bfConfig.format = config->format; // PixelFormat in OH_NativeBuffer_Alloc()
104 "format[%{public}d], usage[%{public}d]", ret, config->width, config->height, in OH_NativeBuffer_Alloc()
105 config->format, config->usage); in OH_NativeBuffer_Alloc()
146 config->format = sbuffer->GetFormat(); in OH_NativeBuffer_GetConfig()
207 config->format = sbuffer->GetFormat(); in OH_NativeBuffer_GetNativeBufferConfig()
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/
H A Daudio_stream_info.h252 uint8_t format = 0; member
283 // format
640 AudioSampleFormat format = AudioSampleFormat::INVALID_WIDTH; member in OHOS::AudioStandard::AudioStreamInfo
645 : samplingRate(samplingRate_), encoding(encoding_), format(format_), channels(channels_), in AudioStreamInfo()
653 && parcel.WriteInt32(static_cast<int32_t>(format)) in Marshalling()
660 format = static_cast<AudioSampleFormat>(parcel.ReadInt32()); in Unmarshalling()
H A Daudio_device_info.h377 AudioSampleFormat format = AudioSampleFormat::INVALID_WIDTH; member
383 AudioChannel channels_) : encoding(encoding_), format(format_), in DeviceStreamInfo()
387 audioStreamInfo.encoding, audioStreamInfo.format, audioStreamInfo.channels) in DeviceStreamInfo()
394 && parcel.WriteInt32(static_cast<int32_t>(format)) in Marshalling()
401 format = static_cast<AudioSampleFormat>(parcel.ReadInt32()); in Unmarshalling()
/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/sdl/audio_sink/
H A Dsdl_audio_sink_plugin.cpp47 AVSampleFormat TranslateFormat(AudioSampleFormat format) in TranslateFormat() argument
49 switch (format) { in TranslateFormat()
75 bool IsPlanes(AudioSampleFormat format) in IsPlanes() argument
77 switch (format) { in IsPlanes()
153 wantedSpec_.format = AUDIO_S16SYS; in Prepare()
/foundation/multimedia/player_framework/frameworks/native/recorder/
H A Drecorder_impl.cpp239 int32_t RecorderImpl::SetOutputFormat(OutputFormatType format) in SetOutputFormat() argument
241 MEDIA_LOGI("RecorderImpl:0x%{public}06" PRIXPTR " SetOutputFormat in, format is %{public}d", in SetOutputFormat()
242 FAKE_POINTER(this), format); in SetOutputFormat()
244 return recorderService_->SetOutputFormat(format); in SetOutputFormat()
362 int32_t RecorderImpl::SetParameter(int32_t sourceId, const Format &format) in SetParameter() argument
365 return recorderService_->SetParameter(sourceId, format); in SetParameter()
/foundation/multimedia/player_framework/interfaces/inner_api/native/
H A Drecorder.h24 #include "meta/format.h"
115 * @brief Enumerates output format types.
121 /** Default format */
123 /** MPEG4 format */
125 /** M4A format */
127 /** mp3 format */
129 /** WAV format */
142 /** Default format */
160 /** Default format */
164 /** mp3 format */
269 int32_t format; global() member
[all...]
/foundation/multimedia/media_lite/services/recorder_lite/impl/src/
H A Drecorder_sink.cpp85 outputConfig.format = outputFormat_; in Prepare()
148 int32_t RecorderSink::SetOutputFormat(OutputFormat format) in SetOutputFormat() argument
150 outputFormat_ = format; in SetOutputFormat()
476 int32_t RecorderSink::SetParameter(int32_t trackId, const Format &format) in SetParameter() argument
483 if (format.GetIntValue(RECORDER_PRE_CACHE_DURATION, value)) { in SetParameter()
/foundation/distributedhardware/distributed_hardware_fwk/utils/src/
H A Dhistreamer_ability_parser.cpp176 cJSON *format = nullptr; in FromJson() local
177 cJSON_ArrayForEach(format, sampleFormatJson) { in FromJson()
178 if (format && format->type == cJSON_Number) { in FromJson()
179 audioDecoderOut.sample_fmt.push_back((AudioSampleFormat)format->valuedouble); in FromJson()
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/unittest/capturer_test/src/
H A Daudio_capturer_unit_test.cpp63 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_U8; in InitializeCapturerOptions()
74 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_S32LE; in InitializePlaybackCapturerOptions()
248 * capturerOptions.streamInfo.format = SAMPLE_U8;
258 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_U8; in HWTEST()
275 * capturerOptions.streamInfo.format = SAMPLE_U8;
285 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_U8; in HWTEST()
302 * capturerOptions.streamInfo.format = SAMPLE_S32LE;
312 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_S32LE; in HWTEST()
329 * capturerOptions.streamInfo.format = SAMPLE_S32LE;
339 capturerOptions.streamInfo.format in HWTEST()
[all...]
/foundation/ai/neural_network_runtime/interfaces/kits/c/neural_network_runtime/
H A Dneural_network_core.h367 * The {@link NN_TensorDesc} describes various tensor attributes, such as name/data type/shape/format, etc.\n
519 * @brief Sets the format of a {@link NN_TensorDesc}.
521 * After the {@link NN_TensorDesc} instance is created, call this method to set the tensor format. \n
526 * @param format The format of the tensor that needs to be set.
533 OH_NN_ReturnCode OH_NNTensorDesc_SetFormat(NN_TensorDesc *tensorDesc, OH_NN_Format format);
536 * @brief Gets the format of a {@link NN_TensorDesc}.
538 * Call this method to obtain the format of the specified {@link NN_TensorDesc} instance. \n
540 * if <b>tensorDesc</b> or <b>format</b> is a null pointer, this method will return error code. \n
543 * @param format Th
[all...]
/foundation/arkui/napi/jsvm/
H A Dbuild_jsvm_inter.sh90 ${NM} -D ${binary} --format=posix --defined-only \
92 ${NM} ${binary} --format=posix --defined-only \
/foundation/graphic/graphic_surface/buffer_handle/src/
H A Dbuffer_handle.cpp90 !parcel.WriteInt32(handle.size) || !parcel.WriteInt32(handle.format) || !parcel.WriteInt64(handle.usage) || in WriteBufferHandle()
136 !parcel.ReadInt32(handle->size) || !parcel.ReadInt32(handle->format) || !parcel.ReadUint64(handle->usage) || in ReadBufferHandle()
/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dbuffer_shared_test.cpp83 .format = GRAPHIC_PIXEL_FMT_RGBA_8888, in HWTEST_F()
122 .format = GRAPHIC_PIXEL_FMT_RGBA_8888, in HWTEST_F()
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/
H A Dgpu_resource_desc.h324 /** View format (for texel buffer view) */
325 BASE_NS::Format format { BASE_NS::Format::BASE_FORMAT_UNDEFINED };
361 BASE_NS::Format format { BASE_NS::Format::BASE_FORMAT_UNDEFINED };

Completed in 27 milliseconds

1...<<31323334353637383940>>...67