/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fTextureFormatTests.cpp | 21 * \brief Texture format tests. 98 TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, int size, int depth); 126 TextureCubeArrayFormatCase::TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, int size, int depth) in TextureCubeArrayFormatCase() argument 130 , m_format (format) in TextureCubeArrayFormatCase() 168 ? new glu::TextureCubeArray(m_renderCtx, m_format, m_dataType, m_size, m_depth) // Implicit internal format. in init() 169 : new glu::TextureCubeArray(m_renderCtx, m_format, m_size, m_depth); // Explicit internal format. in init() 410 : TestCaseGroup(context, "format", "Texture Format Tests") in TextureFormatTests() 442 deUint32 format; in init() member 458 deUint32 format = texFormats[formatNdx].format; in init() local [all...] |
/device/soc/rockchip/common/hardware/display/src/display_device/ |
H A D | hdi_layer.cpp | 29 mFormat(hdl.format) in HdiLayerBuffer() 58 mFormat = right.format; in operator =() 182 (handle.format <= 0), DISPLAY_LOGE("CheckPixel do not support format %{public}d", handle.format)); in SetPixel()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_trace_timeline.c | 42 char *format;
member 47 #define KBASE_TIMELINE_TRACE_CODE(enum_val, desc, format, format_desc) \
49 #enum_val, desc, format, format_desc \
85 seq_printf(s, "%s#%s#%s#%s\n", trace_desc->enum_str, trace_desc->desc, trace_desc->format, trace_desc->format_desc);
in kbasep_trace_timeline_seq_show()
|
/device/soc/rockchip/rk3399/hardware/display/src/display_device/ |
H A D | hdi_layer.cpp | 28 : mPhyAddr(hdl.phyAddr), mHeight(hdl.height), mWidth(hdl.width), mStride(hdl.stride), mFormat(hdl.format) in HdiLayerBuffer() 57 mFormat = right.format; in operator =() 178 DISPLAY_CHK_RETURN_NOT_VALUE((handle.format <= 0), in SetPixel() 179 DISPLAY_LOGE("CheckPixel do not support format %{public}d", handle.format)); in SetPixel()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_trace_timeline.c | 46 char *format; member 51 #define KBASE_TIMELINE_TRACE_CODE(enum_val, desc, format, format_desc) { #enum_val, desc, format, format_desc } 84 seq_printf(s, "%s#%s#%s#%s\n", trace_desc->enum_str, trace_desc->desc, trace_desc->format, trace_desc->format_desc); in kbasep_trace_timeline_seq_show()
|
/foundation/CastEngine/castengine_wifi_display/frameworks/innerkitsimpl/native/wfd/ |
H A D | wifi_display.cpp | 111 videoCodecAttr.formatId = videoAttr.format; in SetMediaFormat() 115 audioCodecAttr.formatId = audioAttr.format; in SetMediaFormat() 272 switch (videoAttr.format) { in IsVideoCodecAttr() 302 switch (audioAttr.format) { in IsAudioCodecAttr()
|
/foundation/CastEngine/castengine_wifi_display/services/codec/src/ |
H A D | video_source_encoder.cpp | 34 void VideoSourceEncoder::VideoEncodeCallback::OnOutputFormatChanged(const MediaAVCodec::Format &format) in OnOutputFormatChanged() argument 38 parent->OnOutputFormatChanged(format); in OnOutputFormatChanged() 292 void VideoSourceEncoder::OnOutputFormatChanged(const MediaAVCodec::Format &format) in OnOutputFormatChanged() argument 295 (void)format; in OnOutputFormatChanged()
|
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/ |
H A D | wfd_message.h | 43 AudioFormat format; member 95 void SetAudioCodecs(AudioFormat format = AUDIO_48000_16_2); 98 void SetVideoFormats(VideoFormat format = VIDEO_1920X1080_30); 132 void SetVideoFormats(const WfdVideoFormatsInfo &wfdVideoFormatsInfo, VideoFormat format = VIDEO_1920X1080_30);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/texttimer/ |
H A D | text_timer_model_ng.cpp | 45 void TextTimerModelNG::SetFormat(const std::string& format) in SetFormat() argument 47 ACE_UPDATE_LAYOUT_PROPERTY(TextTimerLayoutProperty, Format, format); in SetFormat() 166 void TextTimerModelNG::SetFormat(FrameNode* frameNode, const std::string& format) in SetFormat() argument 168 ACE_UPDATE_NODE_LAYOUT_PROPERTY(TextTimerLayoutProperty, Format, format, frameNode); in SetFormat()
|
/foundation/multimedia/audio_framework/frameworks/native/audioutils/src/ |
H A D | audio_channel_blend.cpp | 32 AudioBlend::AudioBlend(ChannelBlendMode blendMode, uint8_t format, uint8_t channel) in AudioBlend() argument 33 :blendMode_(blendMode), format_(format), channels_(channel) in AudioBlend() 37 void AudioBlend::SetParams(ChannelBlendMode blendMode, uint8_t format, uint8_t channel) in SetParams() argument 42 format_ = format; in SetParams()
|
/foundation/multimedia/av_codec/frameworks/native/avmuxer/ |
H A D | avmuxer_impl.cpp | 30 std::shared_ptr<AVMuxer> AVMuxerFactory::CreateAVMuxer(int32_t fd, Plugins::OutputFormat format) in CreateAVMuxer() argument 41 int32_t ret = impl->Init(fd, format); in CreateAVMuxer() 56 int32_t AVMuxerImpl::Init(int32_t fd, Plugins::OutputFormat format) in Init() argument 61 return StatusConvert(muxerEngine_->Init(fd, format)); in Init() 84 CHECK_AND_RETURN_RET_LOG(trackDesc != nullptr, AVCS_ERR_INVALID_VAL, "Invalid track format"); in AddTrack()
|
/foundation/multimedia/av_codec/frameworks/native/avcodeclist/ |
H A D | avcodeclist_impl.cpp | 88 std::string AVCodecListImpl::FindDecoder(const Format &format) in FindDecoder() argument 90 return codecListService_->FindDecoder(format); in FindDecoder() 93 std::string AVCodecListImpl::FindEncoder(const Format &format) in FindEncoder() argument 95 return codecListService_->FindEncoder(format); in FindEncoder()
|
/foundation/multimedia/audio_framework/test/fuzztest/audioutils_fuzzer/ |
H A D | audio_utils_fuzzer.cpp | 221 uint8_t format = *reinterpret_cast<const uint8_t*>(rawData); in AudioBlendFuzzTest() local 222 format = format % ENUMSIZE; in AudioBlendFuzzTest() 224 audioBlend->SetParams(blendMode, format, channel); in AudioBlendFuzzTest()
|
/foundation/multimedia/av_codec/services/engine/codec/audio/decoder/ |
H A D | audio_opus_decoder_plugin.cpp | 92 int32_t AudioOpusDecoderPlugin::Init(const Format &format) in Init() argument 99 format.GetIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, channels); in Init() 100 format.GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, sampleRate); in Init() 102 format_ = format; in Init()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | alpha_image.cpp | 53 OH_Drawing_BitmapFormat format = { OH_Drawing_ColorFormat::COLOR_FORMAT_ALPHA_8, in make_alpha_image() local 55 OH_Drawing_BitmapBuild(bm, w, h, &format); in make_alpha_image() 153 OH_Drawing_BitmapFormat format = { OH_Drawing_ColorFormat::COLOR_FORMAT_ALPHA_8, in OnTestFunction() local 155 OH_Drawing_BitmapBuild(bm, w, h, &format); in OnTestFunction()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/hdi_adapter/utils/ |
H A D | hdi_au_utils.cpp | 76 attrs.format = item.hFormat;
in PluginAuFormat2HdiAttrs() 125 if (attrs.format == item.hFormat && attrs.isSignedData == item.isSigned &&
in HdiAttrs2PluginAuFormat() 188 int32_t GetPcmBytes(AudioFormat format)
in GetPcmBytes() argument 190 switch (format) {
in GetPcmBytes()
|
/foundation/multimedia/media_foundation/src/capi/ |
H A D | native_avbuffer.cpp | 109 OH_AVErrCode OH_AVBuffer_SetParameter(OH_AVBuffer *buffer, const OH_AVFormat *format) in OH_AVBuffer_SetParameter() argument 114 FALSE_RETURN_V_MSG_E(format != nullptr, AV_ERR_INVALID_VAL, "input format is nullptr!"); in OH_AVBuffer_SetParameter() 115 FALSE_RETURN_V_MSG_E(format->magic_ == MFMagic::MFMAGIC_FORMAT, AV_ERR_INVALID_VAL, "magic error!"); in OH_AVBuffer_SetParameter() 117 auto formatRef = const_cast<OH_AVFormat *>(format); in OH_AVBuffer_SetParameter()
|
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/sample/ |
H A D | vdec_sample.h | 30 void OnStreamChanged(std::shared_ptr<FormatMock> format) override; 43 void OnStreamChanged(std::shared_ptr<FormatMock> format) override; 75 int32_t Configure(std::shared_ptr<FormatMock> format); 83 int32_t SetParameter(std::shared_ptr<FormatMock> format);
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/ |
H A D | heif_image.cpp | 137 void HeifImage::SetDefaultColorFormat(HeifColorFormat format) in SetDefaultColorFormat() argument 139 defaultColorFormat_ = format; in SetDefaultColorFormat() 147 void HeifImage::SetDefaultPixelFormat(HeifPixelFormat format) in SetDefaultPixelFormat() argument 149 defaultPixelFormat_ = format; in SetDefaultPixelFormat()
|
/foundation/multimedia/media_library/frameworks/services/media_mtp/include/ |
H A D | mtp_data_utils.h | 113 static int32_t SolveHandlesFormatData(const uint16_t format, std::string &outExtension, MediaType &outMediaType); 114 static int32_t SolveSendObjectFormatData(const uint16_t format, MediaType &outMediaType); 117 static void GetMediaTypeByformat(const uint16_t format, MediaType &outMediaType); 120 const uint16_t format, const std::shared_ptr<DataShare::DataShareResultSet> &resultSet,
|
/foundation/multimedia/media_lite/frameworks/recorder_lite/ |
H A D | recorder.cpp | 149 int32_t Recorder::SetOutputFormat(OutputFormatType format) in SetOutputFormat() argument 155 return client_->SetOutputFormat(format); in SetOutputFormat() 283 int32_t Recorder::SetParameter(int32_t sourceId, const Format &format) in SetParameter() argument 289 return client_->SetParameter(sourceId, format); in SetParameter()
|
/foundation/multimedia/media_lite/frameworks/recorder_lite/passthrough/ |
H A D | recorder_client.cpp | 159 int32_t Recorder::RecorderClient::SetOutputFormat(OutputFormatType format) in SetOutputFormat() argument 165 return impl_->SetOutputFormat(format); in SetOutputFormat() 285 int32_t Recorder::RecorderClient::SetParameter(int32_t sourceId, const Format &format) in SetParameter() argument 291 return impl_->SetParameter(sourceId, format); in SetParameter()
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/base/src/ |
H A D | dcamera_capture_info_cmd.cpp | 134 cJSON *format = cJSON_GetObjectItemCaseSensitive(capInfo, "Format"); in UmarshalValue() local 135 CHECK_NULL_RETURN((format == nullptr || !cJSON_IsNumber(format)), DCAMERA_BAD_VALUE); in UmarshalValue() 136 captureInfo->format_ = format->valueint; in UmarshalValue()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/image/ |
H A D | image.h | 63 VkFormat format = VK_FORMAT_UNDEFINED; member 79 VkFormat format = VK_FORMAT_UNDEFINED; member 135 * @brief Set the format of texture. 136 * @param format The format of texture. 138 void SetFormat(unsigned int format) in SetFormat() argument 140 format_ = format; in SetFormat() 186 * @brief Gets the format of TextureInfo. 187 * @return The target format of TextureInfo.
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_texture_info.cpp | 47 imageInfo.fFormat = vkInfo->format; in ConvertToGrBackendVKTexture() 55 .fFormat = vkInfo->ycbcrConversionInfo.format, in ConvertToGrBackendVKTexture() 94 vkInfo->format = vkImageInfo.fFormat; in ConvertToVKTexture() 101 vkInfo->ycbcrConversionInfo.format = vkImageInfo.fYcbcrConversionInfo.fFormat; in ConvertToVKTexture()
|