Home
last modified time | relevance | path

Searched refs:get_format (Results 1 - 25 of 33) sorted by relevance

12

/third_party/backends/backend/genesys/
H A Dimage_pipeline.h41 virtual PixelFormat get_format() const = 0;
45 return get_pixel_row_bytes(get_format(), get_width()); in get_row_bytes()
71 PixelFormat get_format() const override { return format_; }
97 PixelFormat get_format() const override { return format_; }
128 PixelFormat get_format() const override { return format_; }
154 PixelFormat get_format() const override { return source_.get_format(); }
178 PixelFormat get_format() const override { return dst_format_; }
214 PixelFormat get_format() const override { return source_.get_format(); }
[all...]
H A Dimage_pipeline.cpp118 auto src_format = source_.get_format(); in get_next_row_data()
189 auto format = get_format(); in get_next_row_data()
222 if (get_pixel_format_depth(source_.get_format()) == 16) {
250 auto num_values = get_width() * get_pixel_channels(source_.get_format()); in get_next_row_data()
251 auto depth = get_pixel_format_depth(source_.get_format()); in get_next_row_data()
293 output_format_ = get_output_format(source_.get_format(), color_order); in ImagePipelineNodeMergeMonoLinesToColor()
310 auto format = source_.get_format(); in get_next_row_data()
362 output_format_ = get_output_format(source_.get_format());
375 auto format = source_.get_format(); in get_next_row_data()
404 output_format_ = get_output_format(source_.get_format()); in ImagePipelineNodeMergeColorToGray()
[all...]
H A Dimage.cpp241 if (!is_supported_write_tiff_file_image_format(image.get_format())) { in write_tiff_file()
242 throw SaneException("Unsupported format %d", static_cast<unsigned>(image.get_format())); in write_tiff_file()
245 write_tiff_file(filename, image.get_row_ptr(0), get_pixel_format_depth(image.get_format()), in write_tiff_file()
246 get_pixel_channels(image.get_format()), image.get_width(), image.get_height()); in write_tiff_file()
H A Dimage.h37 PixelFormat get_format() const { return format_; } in get_format() function in genesys::Image
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3d_formats.c45 get_format(const struct v3d_device_info *devinfo, enum pipe_format f) in get_format() function
57 const struct v3d_format *vf = get_format(devinfo, f); in v3d_rt_format_supported()
68 const struct v3d_format *vf = get_format(devinfo, f); in v3d_get_rt_format()
80 const struct v3d_format *vf = get_format(devinfo, f); in v3d_tex_format_supported()
88 const struct v3d_format *vf = get_format(devinfo, f); in v3d_get_tex_format()
100 const struct v3d_format *vf = get_format(devinfo, f); in v3d_get_tex_return_size()
121 const struct v3d_format *vf = get_format(devinfo, f); in v3d_get_tex_return_channels()
132 const struct v3d_format *vf = get_format(devinfo, f); in v3d_get_format_swizzle()
175 const struct v3d_format *vf = get_format(devinfo, f); in v3d_format_supports_tlb_msaa_resolve()
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_formats.c110 get_format(enum pipe_format f) in get_format() function
122 const struct vc4_format *vf = get_format(f); in vc4_rt_format_supported()
133 const struct vc4_format *vf = get_format(f); in vc4_rt_format_is_565()
144 const struct vc4_format *vf = get_format(f); in vc4_tex_format_supported()
152 const struct vc4_format *vf = get_format(f); in vc4_get_tex_format()
163 const struct vc4_format *vf = get_format(f); in vc4_get_format_swizzle()
/third_party/ffmpeg/doc/examples/
H A Dqsvdec.c47 static int get_format(AVCodecContext *avctx, const enum AVPixelFormat *pix_fmts) in get_format() function
57 fprintf(stderr, "The QSV pixel format not offered in get_format()\n"); in get_format()
186 decoder_ctx->get_format = get_format; in main()
H A Dhw_decode.c221 decoder_ctx->get_format = get_hw_format; in main()
H A Dvaapi_transcode.c103 decoder_ctx->get_format = get_vaapi_format; in open_input_file()
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_formats.c35 const struct v3dv_format *vf = v3dv_X(device, get_format)(f); in v3dv_get_format_swizzle()
120 const struct v3dv_format *format = v3dv_X(device, get_format)(vk_format); in v3dv_get_compatible_tfu_format()
263 const struct v3dv_format *v3dv_format = v3dv_X(device, get_format)(vk_format); in v3dv_buffer_format_supports_features()
284 const struct v3dv_format *v3dv_format = v3dv_X(pdevice, get_format)(format); in v3dv_GetPhysicalDeviceFormatProperties2()
370 const struct v3dv_format *v3dv_format = v3dv_X(physical_device, get_format)(info->format); in get_image_format_properties()
H A Dv3dv_image.c321 v3dv_X(device, get_format)(pCreateInfo->format); in create_image()
541 iview->format = v3dv_X(device, get_format)(format); in create_image_view()
630 view->format = v3dv_X(device, get_format)(view->vk_format); in v3dv_CreateBufferView()
H A Dv3dvx_formats.c224 v3dX(get_format)(VkFormat format) in get_format() function
487 const struct v3dv_format *format = v3dX(get_format)(vk_format); in get_internal_type_bpp_for_image_aspects()
H A Dv3dv_pass.c39 const struct v3dv_format *format = v3dv_X(device, get_format)(att->desc.format); in set_try_tlb_resolve()
333 const struct v3dv_format *format = v3dv_X(device, get_format)(desc->format); in subpass_get_granularity()
H A Dv3dvx_device.c59 const struct v3dv_format *format = v3dX(get_format)(bc_info->format); in encode_border_color()
H A Dv3dvx_pipeline.c111 const struct v3dv_format *format = v3dX(get_format)(desc->format); in pack_blend()
/third_party/musl/Benchmark/scripts/
H A Dcompare_benchmark_result.py28 def get_format(before_data, after_data, pct, fluctuation_range): member in BenchmarkDataParser
87 output_format = self.get_format(before_data, after_data, pct, float(args.range))
/third_party/ffmpeg/libavcodec/
H A Doptions.c117 s->get_format = avcodec_default_get_format; in init_context_defaults()
H A Davcodec.h653 enum AVPixelFormat (*get_format)(struct AVCodecContext *s, const enum AVPixelFormat * fmt); member
1737 * - decoding: Set by libavcodec before calling get_format()
1864 * - decoding: This field should be set by the caller from the get_format()
1866 * unreffed by libavcodec before the get_format() call.
1919 * instead. When hw_frames_ctx is set in get_format() for a decoder, this
1921 * may again be used on a following one after another get_format() call.
1937 * AVCodecContext.get_format callback)
2190 * This will be called from get_format() or avcodec_close(), after hwaccel
2208 * from get_format. Refer to avcodec_get_hw_frames_parameters() for
2675 * decoding. This is meant to get called from the get_format callbac
[all...]
H A Dpthread_frame.c61 * Set when the codec calls get_format().
113 const enum AVPixelFormat *available_formats; ///< Format array for get_format()
114 enum AVPixelFormat result_format; ///< get_format() result
490 p->avctx->get_format != avcodec_default_get_format || in submit_packet()
1033 avctx->get_format == avcodec_default_get_format) in ff_thread_get_format()
1038 av_log(avctx, AV_LOG_ERROR, "get_format() cannot be called after ff_thread_finish_setup()\n"); in ff_thread_get_format()
/third_party/alsa-utils/bat/
H A Dbat.c130 static void get_format(struct bat *bat, char *optarg) in get_format() function
471 get_format(bat, optarg); in parse_arguments()
/third_party/astc-encoder/Source/
H A Dastcenccli_image_load_store.cpp853 static const format_entry* get_format( in get_format() function
866 static unsigned int get_format( in get_format() function
1319 const format_entry* fmt = get_format(hdr.gl_internal_format); in load_ktx_compressed_image()
1394 unsigned int fmt = get_format(img.block_x, img.block_y, img.block_z, is_srgb); in store_ktx_compressed_image()
/third_party/mesa3d/src/egl/drivers/dri2/
H A Dplatform_android.c1037 static int get_format(int format) function
1072 format = get_format(buf->format);
/third_party/ffmpeg/libavutil/
H A Dopt.c1055 static int get_format(void *obj, const char *name, int search_flags, int *out_fmt, in get_format() function
1075 return get_format(obj, name, search_flags, out_fmt, AV_OPT_TYPE_PIXEL_FMT, "pixel"); in av_opt_get_pixel_fmt()
1080 return get_format(obj, name, search_flags, out_fmt, AV_OPT_TYPE_SAMPLE_FMT, "sample"); in av_opt_get_sample_fmt()
/third_party/alsa-utils/alsaloop/
H A Dpcmjob.c1137 static int get_format(struct loopback_handle *lhandle) in get_format() function
1520 err = get_format(loop->capt); in pcmjob_start()
1816 err = get_format(lhandle); in handle_ctl_events()
/third_party/python/Modules/
H A D_testbuffer.c801 get_format(PyObject *format) in get_format() function
840 base->format = get_format(format); in init_simple()

Completed in 31 milliseconds

12