Home
last modified time | relevance | path

Searched refs:in_format (Results 1 – 25 of 46) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/format_type/
Dtrans_op_format_refine.cc36 auto in_format = AnfAlgo::GetInputFormat(node, 0); in Process() local
41 if (in_format == kOpFormat_DEFAULT && k3DFormatSet.find(out_format) != k3DFormatSet.end()) { in Process()
47 if (out_format == kOpFormat_DEFAULT && k3DFormatSet.find(in_format) != k3DFormatSet.end()) { in Process()
48 builder->SetInputsFormat({in_format}); in Process()
/third_party/ffmpeg/libavcodec/
Daudiotoolboxdec.c309 AudioStreamBasicDescription in_format = { in ffat_create_decoder() local
323 UInt32 format_size = sizeof(in_format); in ffat_create_decoder()
329 cookie_size, cookie, &format_size, &in_format); in ffat_create_decoder()
344 &in_format.mChannelsPerFrame, &avctx->frame_size, in ffat_create_decoder()
348 in_format.mSampleRate = avctx->sample_rate; in ffat_create_decoder()
359 in_format.mSampleRate = hdr.sample_rate; in ffat_create_decoder()
360 in_format.mChannelsPerFrame = hdr.channels; in ffat_create_decoder()
365 in_format.mSampleRate = avctx->sample_rate ? avctx->sample_rate : 44100; in ffat_create_decoder()
366 in_format.mChannelsPerFrame = avctx->channels ? avctx->channels : 1; in ffat_create_decoder()
369 avctx->sample_rate = out_format.mSampleRate = in_format.mSampleRate; in ffat_create_decoder()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/applemedia/
Dvideotexturecache.m35 GstVideoFormat in_format, GstCaps * out_caps);
68 GstVideoFormat in_format, GstCaps * out_caps)
79 G_TYPE_STRING, gst_video_format_to_string (in_format), NULL);
88 GstVideoFormat in_format, GstCaps * out_caps)
93 cache_class->set_format (cache, in_format, out_caps);
Dvideotexturecache.h53 GstVideoFormat in_format,
63 GstVideoFormat in_format,
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstcudaconvert.c288 const gchar *in_format; in gst_cuda_convert_fixate_format() local
294 in_format = gst_structure_get_string (ins, "format"); in gst_cuda_convert_fixate_format()
295 if (!in_format) in gst_cuda_convert_fixate_format()
298 GST_DEBUG_OBJECT (base, "source format %s", in_format); in gst_cuda_convert_fixate_format()
301 gst_video_format_get_info (gst_video_format_from_string (in_format)); in gst_cuda_convert_fixate_format()
/third_party/ffmpeg/libavfilter/
Dvf_scale_npp.c239 enum AVPixelFormat in_format; in init_processing_chain() local
252 in_format = in_frames_ctx->sw_format; in init_processing_chain()
253 out_format = (s->format == AV_PIX_FMT_NONE) ? in_format : s->format; in init_processing_chain()
255 if (!format_is_supported(in_format)) { in init_processing_chain()
257 av_get_pix_fmt_name(in_format)); in init_processing_chain()
266 in_deinterleaved_format = get_deinterleaved_format(in_format); in init_processing_chain()
289 if (!s->stages[STAGE_RESIZE].stage_needed && in_format == out_format) in init_processing_chain()
293 if (in_format != in_deinterleaved_format) in init_processing_chain()
299 s->stages[STAGE_DEINTERLEAVE].in_fmt = in_format; in init_processing_chain()
Dvf_scale_cuda.c219 enum AVPixelFormat in_format; in init_processing_chain() local
229 in_format = in_frames_ctx->sw_format; in init_processing_chain()
230 out_format = (s->format == AV_PIX_FMT_NONE) ? in_format : s->format; in init_processing_chain()
232 if (!format_is_supported(in_format)) { in init_processing_chain()
234 av_get_pix_fmt_name(in_format)); in init_processing_chain()
243 s->in_fmt = in_format; in init_processing_chain()
246 …if (s->passthrough && in_width == out_width && in_height == out_height && in_format == out_format)… in init_processing_chain()
Dvf_nlmeans_opencl.c294 enum AVPixelFormat in_format; in nlmeans_opencl_filter_frame() local
306 in_format = input_frames_ctx->sw_format; in nlmeans_opencl_filter_frame()
319 desc = av_pix_fmt_desc_get(in_format); in nlmeans_opencl_filter_frame()
320 if (!is_format_supported(in_format)) { in nlmeans_opencl_filter_frame()
323 av_get_pix_fmt_name(in_format)); in nlmeans_opencl_filter_frame()
Dvf_vpp_qsv.c296 enum AVPixelFormat in_format; in config_output() local
311 in_format = ((AVHWFramesContext*)inlink->hw_frames_ctx->data)->sw_format; in config_output()
313 in_format = inlink->format; in config_output()
316 vpp->out_format = in_format; in config_output()
459 inlink->w != outlink->w || inlink->h != outlink->h || in_format != vpp->out_format) in config_output()
/third_party/gstreamer/gstplugins_base/gst/videoconvert/
Dgstvideoconvert.c287 const gchar *in_format; in gst_video_convert_fixate_format() local
293 in_format = gst_structure_get_string (ins, "format"); in gst_video_convert_fixate_format()
294 if (!in_format) in gst_video_convert_fixate_format()
297 GST_DEBUG_OBJECT (base, "source format %s", in_format); in gst_video_convert_fixate_format()
300 gst_video_format_get_info (gst_video_format_from_string (in_format)); in gst_video_convert_fixate_format()
346 const GstVideoFormatInfo *in_format, *out_format; in subsampling_unchanged() local
352 in_format = in_info->finfo; in subsampling_unchanged()
356 if (GST_VIDEO_FORMAT_INFO_W_SUB (in_format, in subsampling_unchanged()
359 if (GST_VIDEO_FORMAT_INFO_H_SUB (in_format, in subsampling_unchanged()
/third_party/gstreamer/gstplugins_base/tests/icles/
Dbenchmark-video-conversion.c45 do_benchmark_conversions (guint width, guint height, const gchar * in_format, in do_benchmark_conversions() argument
63 if (in_format != NULL && !g_str_equal (in_format, infmt_str)) in do_benchmark_conversions()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglcolorconvert.c1350 const gchar *in_format; in gst_gl_color_convert_fixate_format_target() local
1359 in_format = gst_structure_get_string (ins, "format"); in gst_gl_color_convert_fixate_format_target()
1360 if (!in_format) in gst_gl_color_convert_fixate_format_target()
1368 gst_video_format_get_info (gst_video_format_from_string (in_format)); in gst_gl_color_convert_fixate_format_target()
1734 GstVideoFormat in_format = GST_VIDEO_INFO_FORMAT (&convert->in_info); in _PLANAR_RGB_to_PLANAR_RGB() local
1735 const gchar *in_format_str = gst_video_format_to_string (in_format); in _PLANAR_RGB_to_PLANAR_RGB()
1780 GstVideoFormat in_format = GST_VIDEO_INFO_FORMAT (&convert->in_info); in _PLANAR_RGB_to_PACKED_RGB() local
1781 const gchar *in_format_str = gst_video_format_to_string (in_format); in _PLANAR_RGB_to_PACKED_RGB()
1815 GstVideoFormat in_format = GST_VIDEO_INFO_FORMAT (&convert->in_info); in _PACKED_RGB_to_PLANAR_RGB() local
1816 const gchar *in_format_str = gst_video_format_to_string (in_format); in _PACKED_RGB_to_PLANAR_RGB()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dzxing.c24 setup_pipeline (const gchar * in_format) in setup_pipeline() argument
36 " ! fakesink", path, in_format); in setup_pipeline()
Dcudaconvert.c51 run_convert_pipelne (const gchar * in_format, const gchar * out_format) in run_convert_pipelne() argument
59 "videoconvert ! autovideosink", in_format, out_format); in run_convert_pipelne()
Dopenjpeg.c194 run_openjpeg_pipeline (const gchar * in_format, gint width, gint height, in run_openjpeg_pipeline() argument
205 NUM_BUFFERS, in_format, width, height, FRAME_RATE, num_stripes, in run_openjpeg_pipeline()
/third_party/gstreamer/gstplugins_good/gst/smpte/
Dgstsmptealpha.c624 smpte->in_format = GST_VIDEO_INFO_FORMAT (in_info); in gst_smpte_alpha_set_info()
641 switch (smpte->in_format) { in gst_smpte_alpha_set_info()
653 switch (smpte->in_format) { in gst_smpte_alpha_set_info()
662 switch (smpte->in_format) { in gst_smpte_alpha_set_info()
671 switch (smpte->in_format) { in gst_smpte_alpha_set_info()
680 switch (smpte->in_format) { in gst_smpte_alpha_set_info()
Dgstsmptealpha.h58 GstVideoFormat in_format, out_format; member
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11window_dummy.cpp121 const GstD3D11Format *in_format = in gst_d3d11_window_dummy_prepare() local
133 if (in_color_space && in_format && in gst_d3d11_window_dummy_prepare()
134 in_format->dxgi_format != DXGI_FORMAT_UNKNOWN) { in gst_d3d11_window_dummy_prepare()
147 DXGI_FORMAT in_dxgi_format = in_format->dxgi_format; in gst_d3d11_window_dummy_prepare()
/third_party/gstreamer/gstplugins_base/gst/audioconvert/
Dgstaudioconvert.c446 const gchar *in_format; in gst_audio_convert_fixate_format() local
453 in_format = gst_structure_get_string (ins, "format"); in gst_audio_convert_fixate_format()
454 if (!in_format) in gst_audio_convert_fixate_format()
467 gst_audio_format_get_info (gst_audio_format_from_string (in_format)); in gst_audio_convert_fixate_format()
496 if (strcmp (fname, in_format) == 0) { in gst_audio_convert_fixate_format()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo-scaler.h87 GstVideoFormat in_format,
/third_party/gstreamer/gstplugins_good/gst/videobox/
Dgstvideobox.h62 GstVideoFormat in_format; member
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dreduce_fp32.h53 int ReduceInferShape(int **in_shape, size_t *dim_size, int *out_shape, int *in_format, int *out_for…
/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dpngstest.c2066 png_uint_32 in_format, out_format; in transform_from_formats() local
2075 in_format = in_image->image.format; in transform_from_formats()
2078 if (in_format & PNG_FORMAT_FLAG_LINEAR) in transform_from_formats()
2089 result->in_gp = get_pixel(in_format); in transform_from_formats()
2093 in_format &= BASE_FORMATS | PNG_FORMAT_FLAG_COLORMAP; in transform_from_formats()
2094 in_base = in_format & BASE_FORMATS; in transform_from_formats()
2104 in_format, out_format); in transform_from_formats()
2110 result->error_ptr = gpc_error_via_linear[in_format][out_format]; in transform_from_formats()
2113 else if (~in_format & out_format & PNG_FORMAT_FLAG_COLORMAP) in transform_from_formats()
2132 if (in_format & out_format & PNG_FORMAT_FLAG_COLORMAP) in transform_from_formats()
[all …]
/third_party/flutter/skia/third_party/externals/libpng/contrib/libtests/
Dpngstest.c2066 png_uint_32 in_format, out_format; in transform_from_formats() local
2075 in_format = in_image->image.format; in transform_from_formats()
2078 if (in_format & PNG_FORMAT_FLAG_LINEAR) in transform_from_formats()
2089 result->in_gp = get_pixel(in_format); in transform_from_formats()
2093 in_format &= BASE_FORMATS | PNG_FORMAT_FLAG_COLORMAP; in transform_from_formats()
2094 in_base = in_format & BASE_FORMATS; in transform_from_formats()
2104 in_format, out_format); in transform_from_formats()
2110 result->error_ptr = gpc_error_via_linear[in_format][out_format]; in transform_from_formats()
2113 else if (~in_format & out_format & PNG_FORMAT_FLAG_COLORMAP) in transform_from_formats()
2132 if (in_format & out_format & PNG_FORMAT_FLAG_COLORMAP) in transform_from_formats()
[all …]
/third_party/libpng/contrib/libtests/
Dpngstest.c2066 png_uint_32 in_format, out_format; in transform_from_formats() local
2075 in_format = in_image->image.format; in transform_from_formats()
2078 if (in_format & PNG_FORMAT_FLAG_LINEAR) in transform_from_formats()
2089 result->in_gp = get_pixel(in_format); in transform_from_formats()
2093 in_format &= BASE_FORMATS | PNG_FORMAT_FLAG_COLORMAP; in transform_from_formats()
2094 in_base = in_format & BASE_FORMATS; in transform_from_formats()
2104 in_format, out_format); in transform_from_formats()
2110 result->error_ptr = gpc_error_via_linear[in_format][out_format]; in transform_from_formats()
2113 else if (~in_format & out_format & PNG_FORMAT_FLAG_COLORMAP) in transform_from_formats()
2132 if (in_format & out_format & PNG_FORMAT_FLAG_COLORMAP) in transform_from_formats()
[all …]

12