Home
last modified time | relevance | path

Searched refs:in_format (Results 1 - 12 of 12) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Daudiotoolboxdec.c313 AudioStreamBasicDescription in_format = { in ffat_create_decoder() local
327 UInt32 format_size = sizeof(in_format); in ffat_create_decoder()
333 cookie_size, cookie, &format_size, &in_format); in ffat_create_decoder()
348 &in_format.mChannelsPerFrame, &avctx->frame_size, in ffat_create_decoder()
352 in_format.mSampleRate = avctx->sample_rate; in ffat_create_decoder()
363 in_format.mSampleRate = hdr.sample_rate; in ffat_create_decoder()
364 in_format.mChannelsPerFrame = hdr.channels; in ffat_create_decoder()
369 in_format.mSampleRate = avctx->sample_rate ? avctx->sample_rate : 44100; in ffat_create_decoder()
370 in_format.mChannelsPerFrame = avctx->ch_layout.nb_channels ? avctx->ch_layout.nb_channels : 1; in ffat_create_decoder()
373 avctx->sample_rate = out_format.mSampleRate = in_format in ffat_create_decoder()
[all...]
H A Daudiotoolboxenc.c236 AudioStreamBasicDescription in_format = { in ffat_init_encoder() local
253 .mChannelsPerFrame = in_format.mChannelsPerFrame, in ffat_init_encoder()
268 status = AudioConverterNew(&in_format, &out_format, &at->converter); in ffat_init_encoder()
/third_party/ffmpeg/libavfilter/
H A Dvf_scale_cuda.c195 static av_cold void set_format_info(AVFilterContext *ctx, enum AVPixelFormat in_format, enum AVPixelFormat out_format) in set_format_info() argument
200 s->in_fmt = in_format; in set_format_info()
228 enum AVPixelFormat in_format; in init_processing_chain() local
238 in_format = in_frames_ctx->sw_format; in init_processing_chain()
239 out_format = (s->format == AV_PIX_FMT_NONE) ? in_format : s->format; in init_processing_chain()
241 if (!format_is_supported(in_format)) { in init_processing_chain()
243 av_get_pix_fmt_name(in_format)); in init_processing_chain()
252 set_format_info(ctx, in_format, out_format); in init_processing_chain()
254 if (s->passthrough && in_width == out_width && in_height == out_height && in_format == out_format) { in init_processing_chain()
266 in_format in init_processing_chain()
[all...]
H A 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()
H A Dvf_scale_npp.c525 enum AVPixelFormat in_format; in init_processing_chain() local
538 in_format = in_frames_ctx->sw_format; in init_processing_chain()
539 out_format = (s->format == AV_PIX_FMT_NONE) ? in_format : s->format; in init_processing_chain()
541 if (!format_is_supported(in_format)) { in init_processing_chain()
543 av_get_pix_fmt_name(in_format)); in init_processing_chain()
552 in_deinterleaved_format = get_deinterleaved_format(in_format); in init_processing_chain()
575 if (!s->stages[STAGE_RESIZE].stage_needed && in_format == out_format) in init_processing_chain()
579 if (in_format != in_deinterleaved_format) in init_processing_chain()
585 s->stages[STAGE_DEINTERLEAVE].in_fmt = in_format; in init_processing_chain()
H A Dvf_vpp_qsv.c328 enum AVPixelFormat in_format; in config_output() local
349 in_format = ((AVHWFramesContext*)inlink->hw_frames_ctx->data)->sw_format; in config_output()
351 in_format = inlink->format; in config_output()
354 vpp->out_format = in_format; in config_output()
510 inlink->w != outlink->w || inlink->h != outlink->h || in_format != vpp->out_format) in config_output()
H A Dvf_scale_qsv.c166 enum AVPixelFormat in_format; in init_out_pool() local
178 in_format = in_frames_ctx->sw_format; in init_out_pool()
179 out_format = (s->format == AV_PIX_FMT_NONE) ? in_format : s->format; in init_out_pool()
H A Dvf_chromakey_cuda.c158 static av_cold void set_format_info(AVFilterContext *ctx, enum AVPixelFormat in_format, enum AVPixelFormat out_format) in set_format_info() argument
163 s->in_fmt = in_format; in set_format_info()
H A Dvf_colorspace.c120 enum AVPixelFormat in_format, user_format; member
/third_party/backends/backend/genesys/
H A Dimage.cpp139 void convert_pixel_row_format(const std::uint8_t* in_data, PixelFormat in_format, in convert_pixel_row_format() argument
142 if (in_format == out_format) { in convert_pixel_row_format()
143 std::memcpy(out_data, in_data, get_pixel_row_bytes(in_format, count)); in convert_pixel_row_format()
147 switch (in_format) { in convert_pixel_row_format()
181 throw SaneException("Unknown pixel format %d", static_cast<unsigned>(in_format)); in convert_pixel_row_format()
H A Dimage.h59 void convert_pixel_row_format(const std::uint8_t* in_data, PixelFormat in_format,
/third_party/skia/third_party/externals/libpng/contrib/libtests/
H A Dpngstest.c1951 * gpc_fn[out_format & BASE_FORMATS][in_format & BASE_FORMATS];
2066 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 in transform_from_formats()
2349 png_uint_32 in_format = transform->in_image->image.format; logpixel() local
[all...]

Completed in 17 milliseconds