Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Dvf_pixdesctest.c33 const AVPixFmtDescriptor *pix_desc; member
47 priv->pix_desc = av_pix_fmt_desc_get(inlink->format); in config_props()
62 const int cw = AV_CEIL_RSHIFT(w, priv->pix_desc->log2_chroma_w); in filter_frame()
63 const int ch = AV_CEIL_RSHIFT(h, priv->pix_desc->log2_chroma_h); in filter_frame()
83 if (priv->pix_desc->flags & AV_PIX_FMT_FLAG_PAL || in filter_frame()
84 ((priv->pix_desc->flags & FF_PSEUDOPAL) && out->data[1] && in->data[1])) in filter_frame()
87 for (c = 0; c < priv->pix_desc->nb_components; c++) { in filter_frame()
95 priv->pix_desc, in filter_frame()
101 priv->pix_desc, in filter_frame()
Dvf_framepack.c48 const AVPixFmtDescriptor *pix_desc; ///< agreed pixel format member
134 s->pix_desc = av_pix_fmt_desc_get(outlink->format); in config_output()
135 if (!s->pix_desc) in config_output()
137 s->depth = s->pix_desc->comp[0].depth; in config_output()
181 for (plane = 0; plane < s->pix_desc->nb_components; plane++) { in horizontal_frame_pack()
183 length = AV_CEIL_RSHIFT(out->width / 2, s->pix_desc->log2_chroma_w); in horizontal_frame_pack()
184 lines = AV_CEIL_RSHIFT(out->height, s->pix_desc->log2_chroma_h); in horizontal_frame_pack()
195 if ((s->pix_desc->log2_chroma_w || in horizontal_frame_pack()
196 s->pix_desc->log2_chroma_h) && in horizontal_frame_pack()
216 for (plane = 0; plane < s->pix_desc->nb_components; plane++) { in horizontal_frame_pack()
[all …]
Dvf_hflip.c131 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_props() local
132 const int hsub = pix_desc->log2_chroma_w; in config_props()
133 const int vsub = pix_desc->log2_chroma_h; in config_props()
136 av_image_fill_max_pixsteps(s->max_step, NULL, pix_desc); in config_props()
141 s->bayer_plus1 = !!(pix_desc->flags & AV_PIX_FMT_FLAG_BAYER) + 1; in config_props()
Dvf_crop.c134 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(link->format); in config_input() local
144 s->var_values[VAR_HSUB] = 1<<pix_desc->log2_chroma_w; in config_input()
145 s->var_values[VAR_VSUB] = 1<<pix_desc->log2_chroma_h; in config_input()
154 av_image_fill_max_pixsteps(s->max_step, NULL, pix_desc); in config_input()
156 if (pix_desc->flags & AV_PIX_FMT_FLAG_HWACCEL) { in config_input()
160 s->hsub = pix_desc->log2_chroma_w; in config_input()
161 s->vsub = pix_desc->log2_chroma_h; in config_input()
Dvf_elbg.c46 const AVPixFmtDescriptor *pix_desc; member
117 elbg->pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input()
163 p += elbg->pix_desc->nb_components; in filter_frame()
220 p += elbg->pix_desc->nb_components; in filter_frame()
Dvf_mpdecimate.c191 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input() local
192 decimate->hsub = pix_desc->log2_chroma_w; in config_input()
193 decimate->vsub = pix_desc->log2_chroma_h; in config_input()
Dvf_freezedetect.c104 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input() local
106 s->bitdepth = pix_desc->comp[0].depth; in config_input()
111 s->height[plane] = inlink->h >> ((plane == 1 || plane == 2) ? pix_desc->log2_chroma_h : 0); in config_input()
Dvf_decimate.c381 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_output() local
385 dm->hsub = pix_desc->log2_chroma_w; in config_output()
386 dm->vsub = pix_desc->log2_chroma_h; in config_output()
387 dm->depth = pix_desc->comp[0].depth; in config_output()
Dvf_overlay.c277 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input_overlay() local
279 av_image_fill_max_pixsteps(s->overlay_pix_step, NULL, pix_desc); in config_input_overlay()
287 s->var_values[VAR_HSUB] = 1<<pix_desc->log2_chroma_w; in config_input_overlay()
288 s->var_values[VAR_VSUB] = 1<<pix_desc->log2_chroma_h; in config_input_overlay()
871 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input_main() local
873 av_image_fill_max_pixsteps(s->main_pix_step, NULL, pix_desc); in config_input_main()
875 s->hsub = pix_desc->log2_chroma_w; in config_input_main()
876 s->vsub = pix_desc->log2_chroma_h; in config_input_main()
878 s->main_desc = pix_desc; in config_input_main()
Dvsrc_mptestsrc.c281 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(outlink->format); in config_props() local
283 test->hsub = pix_desc->log2_chroma_w; in config_props()
284 test->vsub = pix_desc->log2_chroma_h; in config_props()
Dvf_framerate.c282 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input() local
285 s->vsub = pix_desc->log2_chroma_h; in config_input()
291 s->bitdepth = pix_desc->comp[0].depth; in config_input()
Dvf_histeq.c113 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input() local
115 histeq->bpp = av_get_bits_per_pixel(pix_desc) / 8; in config_input()
Dvf_colormatrix.c396 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input() local
398 color->hsub = pix_desc->log2_chroma_w; in config_input()
399 color->vsub = pix_desc->log2_chroma_h; in config_input()
Dvf_blend.c820 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(toplink->format); in config_output() local
846 s->hsub = pix_desc->log2_chroma_w; in config_output()
847 s->vsub = pix_desc->log2_chroma_h; in config_output()
849 s->depth = pix_desc->comp[0].depth; in config_output()
Dvf_fieldmatch.c937 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input() local
947 fm->hsub = pix_desc->log2_chroma_w; in config_input()
948 fm->vsub = pix_desc->log2_chroma_h; in config_input()
Dvf_xfade.c1675 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink0->format); in config_output() local
1722 s->depth = pix_desc->comp[0].depth; in config_output()
1723 s->is_rgb = !!(pix_desc->flags & AV_PIX_FMT_FLAG_RGB); in config_output()
/third_party/ffmpeg/libswscale/tests/
Dpixdesc_query.c64 const AVPixFmtDescriptor *pix_desc = NULL; in main() local
66 while ((pix_desc = av_pix_fmt_desc_next(pix_desc))) { in main()
67 enum AVPixelFormat pix_fmt = av_pix_fmt_desc_get_id(pix_desc); in main()
69 const char *pix_name = pix_desc->name; in main()
/third_party/ffmpeg/tools/
Dfourcc2pixfmt.c98 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(i); in main() local
99 if (!pix_desc->name || pix_desc->flags & AV_PIX_FMT_FLAG_HWACCEL) in main()
101 printf("%s: ", pix_desc->name); in main()
/third_party/ffmpeg/libavcodec/x86/
Dhuffyuvencdsp_init.c43 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(avctx->pix_fmt); in ff_huffyuvencdsp_init_x86() local
49 if (EXTERNAL_MMXEXT(cpu_flags) && pix_desc && pix_desc->comp[0].depth<16) { in ff_huffyuvencdsp_init_x86()
Dhuffyuvdsp_init.c42 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(pix_fmt); in ff_huffyuvdsp_init_x86() local
49 if (EXTERNAL_MMXEXT(cpu_flags) && pix_desc && pix_desc->comp[0].depth<16) { in ff_huffyuvdsp_init_x86()
/third_party/ffmpeg/fftools/
Dcmdutils.c1747 const AVPixFmtDescriptor *pix_desc = NULL; in show_pix_fmts() local
1763 while ((pix_desc = av_pix_fmt_desc_next(pix_desc))) { in show_pix_fmts()
1764 enum AVPixelFormat av_unused pix_fmt = av_pix_fmt_desc_get_id(pix_desc); in show_pix_fmts()
1768 pix_desc->flags & AV_PIX_FMT_FLAG_HWACCEL ? 'H' : '.', in show_pix_fmts()
1769 pix_desc->flags & AV_PIX_FMT_FLAG_PAL ? 'P' : '.', in show_pix_fmts()
1770 pix_desc->flags & AV_PIX_FMT_FLAG_BITSTREAM ? 'B' : '.', in show_pix_fmts()
1771 pix_desc->name, in show_pix_fmts()
1772 pix_desc->nb_components, in show_pix_fmts()
1773 av_get_bits_per_pixel(pix_desc)); in show_pix_fmts()
/third_party/ffmpeg/libavcodec/
Dmjpegdec.h144 const AVPixFmtDescriptor *pix_desc; member
Dmjpegdec.c691 s->pix_desc = av_pix_fmt_desc_get(s->avctx->pix_fmt); in ff_mjpeg_decode_sof()
692 if (!s->pix_desc) { in ff_mjpeg_decode_sof()
/third_party/ffmpeg/libavformat/
Dmux.c109 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(par->format); in ff_choose_chroma_location() local
114 if (pix_desc) { in ff_choose_chroma_location()
115 if (pix_desc->log2_chroma_h == 0) { in ff_choose_chroma_location()
117 } else if (pix_desc->log2_chroma_w == 1 && pix_desc->log2_chroma_h == 1) { in ff_choose_chroma_location()
Dmxfenc.c2536 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(st->codecpar->format); in mxf_write_header() local
2550 if (pix_desc) { in mxf_write_header()
2551 sc->component_depth = pix_desc->comp[0].depth; in mxf_write_header()
2552 sc->h_chroma_sub_sample = 1 << pix_desc->log2_chroma_w; in mxf_write_header()
2553 sc->v_chroma_sub_sample = 1 << pix_desc->log2_chroma_h; in mxf_write_header()