/foundation/multimedia/media_foundation/engine/pipeline/filters/codec/audio_decoder/ |
H A D | audio_decoder_filter.cpp | 136 Plugin::AudioSampleFormat format; in CalculateBufferSize() local 137 FALSE_RETURN_V(meta->Get<Plugin::Tag::AUDIO_SAMPLE_FORMAT>(format), 0); in CalculateBufferSize() 139 return Pipeline::GetBytesPerSample(format) * samplesPerFrame * channels; in CalculateBufferSize()
|
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/sample/encoder/ |
H A D | video_encoder_sample.cpp | 45 auto format = context_->videoCodec->GetFormat(); in Prepare() local 46 OH_AVFormat_GetIntValue(format.get(), OH_MD_KEY_VIDEO_STRIDE, &info.videoStrideWidth); in Prepare() 47 OH_AVFormat_GetIntValue(format.get(), OH_MD_KEY_VIDEO_SLICE_HEIGHT, &info.videoSliceHeight); in Prepare()
|
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hstream_depth_data.cpp | 36 sptr<OHOS::IBufferProducer> producer, int32_t format, int32_t width, int32_t height)
in HStreamDepthData() 37 : HStreamCommon(StreamType::DEPTH, producer, format, width, height)
in HStreamDepthData() 39 MEDIA_INFO_LOG("HStreamDepthData::HStreamDepthData construct, format:%{public}d, size:%{public}dx%{public}d, "
in HStreamDepthData() 41 format, width, height, GetFwkStreamId());
in HStreamDepthData() 46 MEDIA_INFO_LOG("HStreamDepthData::~HStreamDepthData deconstruct, format:%{public}d size:%{public}dx%{public}d "
in ~HStreamDepthData() 35 HStreamDepthData( sptr<OHOS::IBufferProducer> producer, int32_t format, int32_t width, int32_t height) HStreamDepthData() argument
|
/foundation/multimedia/media_utils_lite/hals/ |
H A D | hal_camera.h | 74 ImageFormat format;
member 89 ImageFormat format; /**< the format of memory */
member 123 ImageFormat format; // 只支持YUV
member
|
/foundation/multimedia/player_framework/services/services/transcoder/client/ |
H A D | transcoder_client.cpp | 129 int32_t TransCoderClient::SetOutputFormat(OutputFormatType format)
in SetOutputFormat() argument 134 MEDIA_LOGD("SetOutputFormat format(%{public}d)", format);
in SetOutputFormat() 135 return transCoderProxy_->SetOutputFormat(format);
in SetOutputFormat()
|
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/ |
H A D | vtp_instance.cpp | 66 FILLP_CHAR *format, ...) in PrintFillpLog() 76 va_start(vaList, format); in PrintFillpLog() 79 int result = vsprintf_s(debugInfo, DEBUG_BUFFER_LEN, static_cast<const char *>(format), vaList); in PrintFillpLog() 65 PrintFillpLog(FILLP_UINT32 debugType, FILLP_UINT32 debugLevel, FILLP_UINT32 debugId, FILLP_CHAR *format, ...) PrintFillpLog() argument
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/managers/ |
H A D | manager_lite.py | 138 format("SerialPort/IP", "Baudrate/Port", "OsType", 144 print("{0:<20}{1:<16}{2:<16}{3:<16}{4:<16}{5:<16}".format( 155 format(convert_port(device.device.com_dict[
|
/test/testfwk/developer_test/local_coverage/resident_service/ |
H A D | pull_service_gcda.py | 44 restore_foundation_cmd = "file send {} /system/profile/foundation.json".format(origin_foundation) 48 rm_xml_cmd = "shell rm /system/profile/{}.json".format(serv) 50 rm_cfg_cmd = "shell rm /etc/init/{}.cfg".format(serv)
|
/test/testfwk/xdevice/src/xdevice/_core/report/ |
H A D | encrypt.py | 94 raise ParamError(ErrorMessage.Common.Code_0101025.format(error.args[0])) from error 128 error_msg = ErrorMessage.Common.Code_0101026.format(error.args[0]) 133 error_msg = ErrorMessage.Common.Code_0101026.format(error.args[0])
|
/test/ostest/wukong/common/src/ |
H A D | wukong_logger.cpp | 118 void WuKongLogger::Print(LOG_LEVEL level, const char *format, ...) in Print() argument 130 /* format output content */ in Print() 132 va_start(args, format); in Print() 133 int ret = vsnprintf_s(writeBuf, LOG_CONTENT_LENGTH, LOG_CONTENT_LENGTH, format, args); in Print()
|
/test/xts/acts/ai/nncore/opstest/src/ |
H A D | nncore_utils.cpp | 28 NN_TensorDesc* createTensorDesc(const int32_t* shape, size_t shapeNum, OH_NN_DataType dataType, OH_NN_Format format) in createTensorDesc() argument 50 ret = OH_NNTensorDesc_SetFormat(tensorDescTmp, format); in createTensorDesc() 100 operandTem.dataType, operandTem.format); in BuildSingleOpGraph()
|
/test/xts/acts/multimedia/image/image_js_standard/imagePixelMapNDK/entry/src/main/cpp/napi/ |
H A D | pixel_map_module_test.cpp | 183 int32_t format = 0; in GetPixelmapPixelFormat() local 184 ret = OH_PixelmapImageInfo_GetPixelFormat(info, &format); in GetPixelmapPixelFormat() 191 napi_create_int32(env, format, pixelFormat); in GetPixelmapPixelFormat()
|
/test/xts/hats/hdf/audio/idl/benchmarktest/render/ |
H A D | audio_render_mmap_benchmarktest.cpp | 69 attrs.startThreshold = DEEP_BUFFER_RENDER_PERIOD_SIZE / (attrs.format * attrs.channelCount / MOVE_LEFT_NUM);
in InitRenderAttrs() 132 attrsRender_.format = AUDIO_FORMAT_TYPE_PCM_16_BIT;
in SetUp() 135 attrsRender_.format = AUDIO_FORMAT_TYPE_PCM_32_BIT;
in SetUp()
|
/test/xts/hats/hdf/audio/idl/common/render/src/ |
H A D | audio_render_mmap_test.cpp | 55 attrs.format = AUDIO_FORMAT_TYPE_PCM_16_BIT; in InitRenderAttrs() 64 attrs.startThreshold = DEEP_BUFFER_RENDER_PERIOD_SIZE / (attrs.format * attrs.channelCount); in InitRenderAttrs() 127 attrsRender_.format = AUDIO_FORMAT_TYPE_PCM_32_BIT; in SetUp()
|
/third_party/ffmpeg/libavcodec/ |
H A D | flac.c | 170 enum FLACExtradataFormat *format, in ff_flac_is_extradata_valid() 183 *format = FLAC_EXTRADATA_FORMAT_STREAMINFO; in ff_flac_is_extradata_valid() 190 *format = FLAC_EXTRADATA_FORMAT_FULL_HEADER; in ff_flac_is_extradata_valid() 169 ff_flac_is_extradata_valid(AVCodecContext *avctx, enum FLACExtradataFormat *format, uint8_t **streaminfo_start) ff_flac_is_extradata_valid() argument
|
H A D | ttaenc.c | 70 enum AVSampleFormat format) in get_sample() 74 if (format == AV_SAMPLE_FMT_U8) { in get_sample() 76 } else if (format == AV_SAMPLE_FMT_S16) { in get_sample() 69 get_sample(const AVFrame *frame, int sample, enum AVSampleFormat format) get_sample() argument
|
H A D | v4l2_m2m_dec.c | 57 /* 2. get the capture format */ in v4l2_try_start() 58 capture->format.type = capture->type; in v4l2_try_start() 59 ret = ioctl(s->fd, VIDIOC_G_FMT, &capture->format); in v4l2_try_start() 66 avctx->pix_fmt = ff_v4l2_format_v4l2_to_avfmt(capture->format.fmt.pix_mp.pixelformat, AV_CODEC_ID_RAWVIDEO); in v4l2_try_start() 86 /* 4. init the capture context now that we have the capture format */ in v4l2_try_start()
|
/third_party/ffmpeg/doc/examples/ |
H A D | hw_decode.c | 73 fprintf(stderr, "Failed to get HW surface format.\n"); in get_hw_format() 108 if (frame->format == hw_pix_fmt) { in decode_write() 118 size = av_image_get_buffer_size(tmp_frame->format, tmp_frame->width, in decode_write() 128 (const int *)tmp_frame->linesize, tmp_frame->format, in decode_write()
|
H A D | filter_audio.c | 36 * and sample format required by the audio device. 141 * it ensures that the output is of the format we want. */ in init_filter_graph() 216 int planar = av_sample_fmt_is_planar(frame->format); in process_output() 219 int bps = av_get_bytes_per_sample(frame->format); in process_output() 249 frame->format = INPUT_FORMAT; in get_input()
|
/third_party/ffmpeg/libavdevice/ |
H A D | caca.c | 126 if (encctx->format != AV_PIX_FMT_RGB24) { in caca_write_header() 128 "Unsupported pixel format '%s', choose rgb24\n", in caca_write_header() 129 av_get_pix_fmt_name(encctx->format)); in caca_write_header() 140 bpp = av_get_bits_per_pixel(av_pix_fmt_desc_get(encctx->format)); in caca_write_header()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_scdet.c | 79 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format); in config_input() 85 s->nb_planes = is_yuv ? 1 : av_pix_fmt_count_planes(inlink->format); in config_input() 88 ptrdiff_t line_size = av_image_get_linesize(inlink->format, inlink->w, plane); in config_input()
|
H A D | vf_phase.c | 129 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format); in config_input() 142 if ((ret = av_image_fill_linesizes(s->linesize, inlink->format, inlink->w)) < 0) in config_input() 148 s->nb_planes = av_pix_fmt_count_planes(inlink->format); in config_input()
|
/third_party/ffmpeg/tests/api/ |
H A D | api-flac-test.c | 26 * Encodes raw data to FLAC format and decodes it back to raw. Compares raw-data 131 in_frame->format = enc_ctx->sample_fmt; in run_test() 217 if (in_frame->format != out_frame->format) { in run_test() 218 av_log(NULL, AV_LOG_ERROR, "Error frames before and after decoding has different sample format\n"); in run_test()
|
/third_party/alsa-lib/src/ucm/ |
H A D | ucm_local.h | 300 const char *uc_mgr_config_dir(int format); 301 int uc_mgr_config_load_into(int format, const char *file, snd_config_t *cfg); 302 int uc_mgr_config_load(int format, const char *file, snd_config_t **cfg);
|
/third_party/benchmark/src/ |
H A D | string_util.cc | 147 std::string StrFormat(const char* format, ...) { in StrFormat() argument 149 va_start(args, format); in StrFormat() 150 std::string tmp = StrFormatImp(format, args); in StrFormat()
|