Home
last modified time | relevance | path

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

/third_party/ffmpeg/tests/fate/
H A Dpixfmt.mak22 FATE_PIXFMT := $(FATE_PIXFMT-yes:%=fate-pixfmt-%)
25 $(FATE_PIXFMT): REF = $(SRC_PATH)/tests/ref/pixfmt/$(@:fate-pixfmt-%=%)
29 fate-pixfmt: $(FATE_PIXFMT)
/third_party/ffmpeg/libavformat/
H A Drtpdec_rfc4175.c49 enum AVPixelFormat pixfmt; in rfc4175_parse_format() local
59 pixfmt = AV_PIX_FMT_UYVY422; in rfc4175_parse_format()
63 pixfmt = AV_PIX_FMT_YUV422P10; in rfc4175_parse_format()
74 pixfmt = AV_PIX_FMT_YUV420P; in rfc4175_parse_format()
84 pixfmt = AV_PIX_FMT_RGB24; in rfc4175_parse_format()
94 pixfmt = AV_PIX_FMT_BGR24; in rfc4175_parse_format()
103 desc = av_pix_fmt_desc_get(pixfmt); in rfc4175_parse_format()
104 stream->codecpar->format = pixfmt; in rfc4175_parse_format()
H A Dvapoursynth.c96 static av_cold int is_native_endian(enum AVPixelFormat pixfmt) in is_native_endian() argument
98 enum AVPixelFormat other = av_pix_fmt_swap_endianness(pixfmt); in is_native_endian()
100 if (other == AV_PIX_FMT_NONE || other == pixfmt) in is_native_endian()
102 pd = av_pix_fmt_desc_get(pixfmt); in is_native_endian()
115 enum AVPixelFormat pixfmt; in match_pixfmt() local
117 pixfmt = av_pix_fmt_desc_get_id(pd); in match_pixfmt()
140 if (av_pix_fmt_count_planes(pixfmt) != vsf->numPlanes) in match_pixfmt()
146 if (!is_native_endian(pixfmt)) in match_pixfmt()
162 return pixfmt; in match_pixfmt()
289 av_log(s, AV_LOG_VERBOSE, "VS format %s -> pixfmt in read_header_vs()
[all...]
/third_party/mesa3d/src/panfrost/lib/
H A Dpan_util.c78 mali_pixel_format pixfmt = (dev->arch >= 7) ? in panfrost_format_to_bifrost_blend() local
82 return pixfmt ?: dev->formats[format].hw; in panfrost_format_to_bifrost_blend()
/third_party/mesa3d/src/panfrost/include/
H A Dpanfrost-job.h99 #define MALI_EXTRACT_INDEX(pixfmt) (((pixfmt) >> 12) & 0xFF)
/third_party/ffmpeg/libavcodec/
H A Dv4l2_context.c462 static inline int v4l2_try_raw_format(V4L2Context* ctx, enum AVPixelFormat pixfmt) in v4l2_try_raw_format() argument
468 v4l2_fmt = ff_v4l2_format_avfmt_to_v4l2(pixfmt); in v4l2_try_raw_format()
488 enum AVPixelFormat pixfmt = ctx->av_pix_fmt; in v4l2_get_raw_format() local
495 if (pixfmt != AV_PIX_FMT_NONE) { in v4l2_get_raw_format()
496 ret = v4l2_try_raw_format(ctx, pixfmt); in v4l2_get_raw_format()
506 pixfmt = ff_v4l2_format_v4l2_to_avfmt(fdesc.pixelformat, AV_CODEC_ID_RAWVIDEO); in v4l2_get_raw_format()
507 ret = v4l2_try_raw_format(ctx, pixfmt); in v4l2_get_raw_format()
513 *p = pixfmt; in v4l2_get_raw_format()
/third_party/ffmpeg/libavfilter/
H A Dvf_libopencv.c43 static void fill_iplimage_from_frame(IplImage *img, const AVFrame *frame, enum AVPixelFormat pixfmt) in fill_iplimage_from_frame() argument
48 if (pixfmt == AV_PIX_FMT_GRAY8) { depth = IPL_DEPTH_8U; channels_nb = 1; } in fill_iplimage_from_frame()
49 else if (pixfmt == AV_PIX_FMT_BGRA) { depth = IPL_DEPTH_8U; channels_nb = 4; } in fill_iplimage_from_frame()
50 else if (pixfmt == AV_PIX_FMT_BGR24) { depth = IPL_DEPTH_8U; channels_nb = 3; } in fill_iplimage_from_frame()
61 static void fill_frame_from_iplimage(AVFrame *frame, const IplImage *img, enum AVPixelFormat pixfmt) in fill_frame_from_iplimage() argument
H A Dvf_signalstats.c135 static AVFrame *alloc_frame(enum AVPixelFormat pixfmt, int w, int h) in alloc_frame() argument
141 frame->format = pixfmt; in alloc_frame()
/third_party/ffmpeg/libavdevice/
H A Dfbdev_common.c34 enum AVPixelFormat pixfmt; member
38 // bpp, red_offset, green_offset, blue_offset, alpha_offset, pixfmt
58 return entry->pixfmt; in ff_get_pixfmt_from_fb_varinfo()
H A Dkmsgrab.c40 #include "libavutil/pixfmt.h"
365 enum AVPixelFormat pixfmt; member
539 ctx->format != kmsgrab_formats[i].pixfmt) { in kmsgrab_read_header()
547 ctx->format = kmsgrab_formats[i].pixfmt; in kmsgrab_read_header()
586 if (kmsgrab_formats[i].pixfmt == ctx->format) { in kmsgrab_read_header()
/third_party/ffmpeg/libavutil/tests/
H A Dpixfmt_best.c42 static enum AVPixelFormat find_best(enum AVPixelFormat pixfmt) in find_best() argument
48 pixfmt, 0, NULL); in find_best()
/third_party/ffmpeg/tests/
H A Dfate-run.sh405 pixfmt=$2
408 -lavfi "testsrc2=size=300x200:rate=1:duration=5,format=${pixfmt},split[ref][tmp];[tmp]avgblur=4[enc];[enc][ref]${refcmp},metadata=print:file=-" \
414 pixfmt=$2
417 -lavfi "testsrc2=size=300x200:rate=1:duration=5,format=${pixfmt},${refcmp},metadata=print:file=-" \
425 pixfmt=$4
428 -lavfi "[0:v]format=${pixfmt}[v0];[1:v]format=${pixfmt}[v1];[v0][v1]${refcmp},metadata=print:file=-" \
447 conversion="${test#pixfmt-}"
448 outdir="tests/data/pixfmt"
H A DMakefile26 FATE_OUTDIRS = tests/data tests/data/fate tests/data/filtergraphs tests/data/lavf tests/data/lavf-fate tests/data/pixfmt tests/vsynth1 $(APITESTSDIR)
224 include $(SRC_PATH)/tests/fate/pixfmt.mak
/third_party/ffmpeg/libavutil/
H A Dhwcontext_videotoolbox.c33 #include "pixfmt.h"
166 CFNumberRef w, h, pixfmt; in vt_pool_alloc() local
177 pixfmt = CFNumberCreate(NULL, kCFNumberSInt32Type, &cv_pixfmt); in vt_pool_alloc()
181 pixfmt); in vt_pool_alloc()
182 CFRelease(pixfmt); in vt_pool_alloc()
H A DMakefile69 pixfmt.h \
H A Dvulkan.h248 const char *ff_vk_shader_rep_fmt(enum AVPixelFormat pixfmt);
H A Dvulkan.c721 const char *ff_vk_shader_rep_fmt(enum AVPixelFormat pixfmt) in ff_vk_shader_rep_fmt() argument
723 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(pixfmt); in ff_vk_shader_rep_fmt()
H A Dhwcontext_opencl.c1375 static int opencl_get_plane_format(enum AVPixelFormat pixfmt, in opencl_get_plane_format() argument
1389 desc = av_pix_fmt_desc_get(pixfmt); in opencl_get_plane_format()
H A Dhwcontext_vulkan.c166 enum AVPixelFormat pixfmt; member
241 if (vk_pixfmt_map[i].pixfmt == p) in av_vkfmt_from_pixfmt()
/third_party/skia/src/codec/
H A DSkWuffsCodec.cpp136 uint32_t pixfmt = WUFFS_BASE__PIXEL_FORMAT__INVALID; in reset_and_decode_image_config() local
139 pixfmt = WUFFS_BASE__PIXEL_FORMAT__BGRA_NONPREMUL; in reset_and_decode_image_config()
142 pixfmt = WUFFS_BASE__PIXEL_FORMAT__RGBA_NONPREMUL; in reset_and_decode_image_config()
148 imgcfg->pixcfg.set(pixfmt, WUFFS_BASE__PIXEL_SUBSAMPLING__NONE, imgcfg->pixcfg.width(), in reset_and_decode_image_config()
/third_party/skia/third_party/externals/wuffs/release/c/
H A Dwuffs-v0.2.c1581 wuffs_base__pixel_format pixfmt; member
1588 inline void set(wuffs_base__pixel_format pixfmt,
1607 ret.private_impl.pixfmt = 0; in wuffs_base__null_pixel_config()
1617 wuffs_base__pixel_format pixfmt, in wuffs_base__pixel_config__set()
1624 if (pixfmt) { in wuffs_base__pixel_config__set()
1628 c->private_impl.pixfmt = pixfmt; in wuffs_base__pixel_config__set()
1636 c->private_impl.pixfmt = 0; in wuffs_base__pixel_config__set()
1645 c->private_impl.pixfmt = 0; in wuffs_base__pixel_config__invalidate()
1654 return c && c->private_impl.pixfmt; in wuffs_base__pixel_config__is_valid()
1616 wuffs_base__pixel_config__set(wuffs_base__pixel_config* c, wuffs_base__pixel_format pixfmt, wuffs_base__pixel_subsampling pixsub, uint32_t width, uint32_t height) wuffs_base__pixel_config__set() argument
1736 set(wuffs_base__pixel_format pixfmt, wuffs_base__pixel_subsampling pixsub, uint32_t width, uint32_t height) set() argument
1823 wuffs_base__image_config__set(wuffs_base__image_config* c, wuffs_base__pixel_format pixfmt, wuffs_base__pixel_subsampling pixsub, uint32_t width, uint32_t height, uint64_t first_frame_io_position, bool first_frame_is_opaque) wuffs_base__image_config__set() argument
1883 set(wuffs_base__pixel_format pixfmt, wuffs_base__pixel_subsampling pixsub, uint32_t width, uint32_t height, uint64_t first_frame_io_position, bool first_frame_is_opaque) set() argument
[all...]
H A Dwuffs-v0.3.c3911 wuffs_base__pixel_format pixfmt; member
3937 ret.private_impl.pixfmt.repr = 0; in wuffs_base__null_pixel_config()
3958 c->private_impl.pixfmt.repr = pixfmt_repr; in wuffs_base__pixel_config__set()
3966 c->private_impl.pixfmt.repr = 0; in wuffs_base__pixel_config__set()
3975 c->private_impl.pixfmt.repr = 0; in wuffs_base__pixel_config__invalidate()
3984 return c && c->private_impl.pixfmt.repr; in wuffs_base__pixel_config__is_valid()
3989 return c ? c->private_impl.pixfmt : wuffs_base__make_pixel_format(0); in wuffs_base__pixel_config__pixel_format()
4034 if (wuffs_base__pixel_format__is_planar(&c->private_impl.pixfmt)) { in wuffs_base__pixel_config__pixbuf_len()
4039 wuffs_base__pixel_format__bits_per_pixel(&c->private_impl.pixfmt); in wuffs_base__pixel_config__pixbuf_len()
4053 if (wuffs_base__pixel_format__is_indexed(&c->private_impl.pixfmt)) { in wuffs_base__pixel_config__pixbuf_len()
[all...]
/third_party/ffmpeg/libswscale/ppc/
H A Dyuv2rgb_altivec.c841 #define YUV2PACKEDX_WRAPPER(suffix, pixfmt) \
856 dest, dstW, dstY, pixfmt); \
/third_party/ffmpeg/libswscale/
H A Dswscale_unscaled.c1290 #define CASE(pixfmt, prefix) \ in bayer_to_rgb24_wrapper()
1291 case pixfmt: copy = bayer_##prefix##_to_rgb24_copy; \ in bayer_to_rgb24_wrapper()
1339 #define CASE(pixfmt, prefix) \ in bayer_to_rgb48_wrapper()
1340 case pixfmt: copy = bayer_##prefix##_to_rgb48_copy; \ in bayer_to_rgb48_wrapper()
1390 #define CASE(pixfmt, prefix) \ in bayer_to_yv12_wrapper()
1391 case pixfmt: copy = bayer_##prefix##_to_yv12_copy; \ in bayer_to_yv12_wrapper()
/third_party/astc-encoder/Source/
H A Dwuffs-v0.3.c4126 wuffs_base__pixel_format pixfmt; member
4152 ret.private_impl.pixfmt.repr = 0; in wuffs_base__null_pixel_config()
4173 c->private_impl.pixfmt.repr = pixfmt_repr; in wuffs_base__pixel_config__set()
4181 c->private_impl.pixfmt.repr = 0; in wuffs_base__pixel_config__set()
4190 c->private_impl.pixfmt.repr = 0; in wuffs_base__pixel_config__invalidate()
4199 return c && c->private_impl.pixfmt.repr; in wuffs_base__pixel_config__is_valid()
4204 return c ? c->private_impl.pixfmt : wuffs_base__make_pixel_format(0); in wuffs_base__pixel_config__pixel_format()
4249 if (wuffs_base__pixel_format__is_planar(&c->private_impl.pixfmt)) { in wuffs_base__pixel_config__pixbuf_len()
4254 wuffs_base__pixel_format__bits_per_pixel(&c->private_impl.pixfmt); in wuffs_base__pixel_config__pixbuf_len()
4268 if (wuffs_base__pixel_format__is_indexed(&c->private_impl.pixfmt)) { in wuffs_base__pixel_config__pixbuf_len()
[all...]

Completed in 91 milliseconds