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

123

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavfilter/
H A Ddrawutils.h37 int hsub, int vsub, int x, int y, int w, int h);
41 int hsub, int vsub, int x, int y, int y2, int w, int h);
H A Dvf_hflip.c34 int hsub, vsub; ///< chroma subsampling member in struct:__anon2080
75 flip->hsub = av_pix_fmt_descriptors[inlink->format].log2_chroma_w;
87 int i, j, plane, step, hsub, vsub; local
91 hsub = (plane == 1 || plane == 2) ? flip->hsub : 0;
95 inrow = inpic ->data[plane] + (y>>vsub) * inpic ->linesize[plane] + ((inlink->w >> hsub) - 1) * step;
100 for (j = 0; j < (inlink->w >> hsub); j++)
109 for (j = 0; j < (inlink->w >> hsub); j++)
118 for (j = 0; j < (inlink->w >> hsub); j++, out += 3, in -= 3) {
129 for (j = 0; j < (inlink->w >> hsub);
[all...]
H A Ddrawutils.c33 int hsub = pix_desc->log2_chroma_w; local
67 int hsub1 = (plane == 1 || plane == 2) ? hsub : 0;
81 int hsub, int vsub, int x, int y, int w, int h)
87 int hsub1 = plane == 1 || plane == 2 ? hsub : 0;
101 int hsub, int vsub, int x, int y, int y2, int w, int h)
107 int hsub1 = plane == 1 || plane == 2 ? hsub : 0;
79 ff_draw_rectangle(uint8_t *dst[4], int dst_linesize[4], uint8_t *src[4], int pixelstep[4], int hsub, int vsub, int x, int y, int w, int h) argument
99 ff_copy_rectangle(uint8_t *dst[4], int dst_linesize[4], uint8_t *src[4], int src_linesize[4], int pixelstep[4], int hsub, int vsub, int x, int y, int y2, int w, int h) argument
H A Dvf_drawbox.c37 int vsub, hsub; ///< chroma subsampling member in struct:__anon2073
81 drawbox->hsub = av_pix_fmt_descriptors[inlink->format].log2_chroma_w;
114 row[1][x >> drawbox->hsub] = (1 - alpha) * row[1][x >> drawbox->hsub] + alpha * drawbox->yuv_color[U];
115 row[2][x >> drawbox->hsub] = (1 - alpha) * row[2][x >> drawbox->hsub] + alpha * drawbox->yuv_color[V];
H A Dvf_pad.c49 "hsub",
104 int hsub, vsub; ///< chroma subsampling values member in struct:__anon2088
149 pad->hsub = pix_desc->log2_chroma_w;
160 var_values[VAR_HSUB] = 1<<pad->hsub;
208 pad->w &= ~((1 << pad->hsub) - 1);
210 pad->x &= ~((1 << pad->hsub) - 1);
213 pad->in_w = inlink->w & ~((1 << pad->hsub) - 1);
266 int hsub = (plane == 1 || plane == 2) ? pad->hsub : 0; local
269 picref->data[plane] += (pad->x >> hsub) * pa
276 does_clip(PadContext *pad, AVFilterBufferRef *outpicref, int plane, int hsub, int vsub, int x, int y) argument
307 int hsub = (plane == 1 || plane == 2) ? pad->hsub : 0; local
[all...]
H A Dvsrc_color.c40 int hsub, vsub; ///< chroma subsampling values member in struct:__anon2101
115 color->hsub = pix_desc->log2_chroma_w;
118 color->w &= ~((1 << color->hsub) - 1);
148 color->line, color->line_step, color->hsub, color->vsub,
H A Dvf_transpose.c34 int hsub, vsub; member in struct:__anon2096
97 trans->hsub = av_pix_fmt_descriptors[inlink->format].log2_chroma_w;
144 int hsub = plane == 1 || plane == 2 ? trans->hsub : 0; local
148 int outw = outpic->video->w>>hsub;
H A Dvf_fade.c34 int hsub, vsub, bpp; member in struct:__anon2075
90 fade->hsub = pixdesc->log2_chroma_w;
122 for (j = 0; j < inlink->w >> fade->hsub; j++) {
H A Dvf_overlay.c67 int hsub, vsub; ///< chroma subsampling values member in struct:__anon2087
113 over->hsub = pix_desc->log2_chroma_w;
281 int hsub = i ? over->hsub : 0; local
283 uint8_t *dp = dst->data[i] + (x >> hsub) +
287 int wp = FFALIGN(width, 1<<hsub) >> hsub;
298 if (hsub && vsub && j+1 < hp && k+1 < wp) {
301 } else if (hsub || vsub) {
302 alpha_h = hsub
[all...]
H A Dvf_delogo.c246 int hsub = plane == 1 || plane == 2 ? hsub0 : 0; local
251 inlink->w>>hsub, inlink->h>>vsub,
252 delogo->x>>hsub, delogo->y>>vsub,
253 delogo->w>>hsub, delogo->h>>vsub,
254 delogo->band>>FFMIN(hsub, vsub),
H A Dvf_drawtext.c129 int hsub, vsub; ///< chroma subsampling values member in struct:__anon2074
564 dtext->hsub = pix_desc->log2_chroma_w;
621 #define SET_PIXEL_YUV(picref, yuva_color, val, x, y, hsub, vsub) { \
625 if (((x) & ((1<<(hsub)) - 1)) == 0 && ((y) & ((1<<(vsub)) - 1)) == 0) {\
626 chroma_pos1 = ((x) >> (hsub)) + ((y) >> (vsub)) * picref->linesize[1]; \
627 chroma_pos2 = ((x) >> (hsub)) + ((y) >> (vsub)) * picref->linesize[2]; \
635 const uint8_t yuva_color[4], int hsub, int vsub)
648 SET_PIXEL_YUV(picref, yuva_color, src_val, c+x, y+r, hsub, vsub);
690 int hsub, int vsub, int is_rgba_packed, uint8_t rgba_map[4])
705 SET_PIXEL_YUV(picref, color, 255, i+x, y+j, hsub, vsu
633 draw_glyph_yuv(AVFilterBufferRef *picref, FT_Bitmap *bitmap, unsigned int x, unsigned int y, unsigned int width, unsigned int height, const uint8_t yuva_color[4], int hsub, int vsub) argument
687 drawbox(AVFilterBufferRef *picref, unsigned int x, unsigned int y, unsigned int width, unsigned int height, uint8_t *line[4], int pixel_step[4], uint8_t color[4], int hsub, int vsub, int is_rgba_packed, uint8_t rgba_map[4]) argument
[all...]
H A Dvf_crop.c74 int hsub, vsub; ///< chroma subsampling member in struct:__anon2069
174 crop->hsub = av_pix_fmt_descriptors[link->format].log2_chroma_w;
198 crop->w &= ~((1 << crop->hsub) - 1);
221 crop->x &= ~((1 << crop->hsub) - 1);
265 crop->x &= ~((1 << crop->hsub) - 1);
279 ref2->data[i] += (crop->x * crop->max_step[i]) >> crop->hsub;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavfilter/
H A Dvf_hqdn3d.h37 int hsub, vsub; member in struct:HQDN3DContext
H A Dvf_spp.h48 int hsub, vsub; member in struct:__anon3426
H A Ddrawutils.c69 int hsub = pix_desc->log2_chroma_w; local
93 int hsub1 = (plane == 1 || plane == 2) ? hsub : 0;
107 int hsub, int vsub, int x, int y, int w, int h)
113 int hsub1 = plane == 1 || plane == 2 ? hsub : 0;
129 int hsub, int vsub, int x, int y, int y2, int w, int h)
135 int hsub1 = plane == 1 || plane == 2 ? hsub : 0;
183 draw->hsub[1] = draw->hsub[2] = draw->hsub_max = desc->log2_chroma_w;
228 (x >> draw->hsub[plane]) * draw->pixelstep[plane];
243 wp = FF_CEIL_RSHIFT(w, draw->hsub[plan
105 ff_draw_rectangle(uint8_t *dst[4], int dst_linesize[4], uint8_t *src[4], int pixelstep[4], int hsub, int vsub, int x, int y, int w, int h) argument
127 ff_copy_rectangle(uint8_t *dst[4], int dst_linesize[4], uint8_t *src[4], int src_linesize[4], int pixelstep[4], int hsub, int vsub, int x, int y, int y2, int w, int h) argument
326 blend_line(uint8_t *dst, unsigned src, unsigned alpha, int dx, int w, unsigned hsub, int left, int right) argument
421 blend_line_hv(uint8_t *dst, int dst_delta, unsigned src, unsigned alpha, uint8_t *mask, int mask_linesize, int l2depth, int w, unsigned hsub, unsigned vsub, int xm, int left, int right, int hband) argument
[all...]
H A Ddrawutils.h40 int hsub, int vsub, int x, int y, int w, int h);
44 int hsub, int vsub, int x, int y, int y2, int w, int h);
54 uint8_t hsub[MAX_PLANES]; /*< horizontal subsampling */ member in struct:FFDrawContext
H A Dunsharp.h73 int hsub, vsub; member in struct:UnsharpContext
H A Dvf_drawbox.c41 "hsub", "vsub",
76 int vsub, hsub; ///< chroma subsampling member in struct:DrawBoxContext
128 s->hsub = desc->log2_chroma_w;
135 var_values[VAR_HSUB] = s->hsub;
224 row[1][x >> s->hsub] = (1 - alpha) * row[1][x >> s->hsub] + alpha * s->yuv_color[U];
225 row[2][x >> s->hsub] = (1 - alpha) * row[2][x >> s->hsub] + alpha * s->yuv_color[V];
335 row[1][x >> drawgrid->hsub] = (1 - alpha) * row[1][x >> drawgrid->hsub]
[all...]
H A Dvf_mpdecimate.c50 int hsub, vsub; ///< chroma subsampling values member in struct:__anon3410
125 int hsub = plane == 1 || plane == 2 ? decimate->hsub : 0; local
128 FF_CEIL_RSHIFT(ref->width, hsub),
184 decimate->hsub = pix_desc->log2_chroma_w;
H A Dvf_perspective.c47 int hsub, vsub; member in struct:PerspectiveContext
53 int w, int h, int hsub, int vsub);
133 s->hsub = desc->log2_chroma_w;
199 int w, int h, int hsub, int vsub)
209 sx = x << hsub;
210 u = s->pv[sx + sy * linesize][0] >> hsub;
267 int w, int h, int hsub, int vsub)
277 sx = x << hsub;
278 u = s->pv[sx + sy * linesize][0] >> hsub;
356 int hsub local
196 resample_cubic(PerspectiveContext *s, uint8_t *dst, int dst_linesize, uint8_t *src, int src_linesize, int w, int h, int hsub, int vsub) argument
264 resample_linear(PerspectiveContext *s, uint8_t *dst, int dst_linesize, uint8_t *src, int src_linesize, int w, int h, int hsub, int vsub) argument
[all...]
H A Dvf_delogo.c241 int hsub = plane == 1 || plane == 2 ? hsub0 : 0; local
246 FF_CEIL_RSHIFT(inlink->w, hsub),
248 sar, s->x>>hsub, s->y>>vsub,
251 FF_CEIL_RSHIFT(s->w + (s->x & ((1<<hsub)-1)), hsub),
253 s->band>>FFMIN(hsub, vsub),
H A Dvf_pad.c54 "hsub",
217 int hsub = s->draw.hsub[plane]; local
219 frame->data[plane] += (s->x >> hsub) * s->draw.pixelstep[plane] +
241 int hsub = s->draw.hsub[planes[i]]; local
250 ptrdiff_t req_start = (s->x >> hsub) * s->draw.pixelstep[planes[i]] +
252 ptrdiff_t req_end = ((s->w - s->x - frame->width) >> hsub) *
256 if (frame->linesize[planes[i]] < (s->w >> hsub) * s->draw.pixelstep[planes[i]])
314 int hsub local
[all...]
H A Dvf_overlay.c48 "hsub",
113 int hsub, vsub; ///< chroma subsampling values member in struct:OverlayContext
146 s->x = normalize_xy(s->var_values[VAR_X], s->hsub);
278 s->hsub = pix_desc->log2_chroma_w;
485 int hsub = i ? s->hsub : 0; local
487 int src_wp = FF_CEIL_RSHIFT(src_w, hsub);
489 int dst_wp = FF_CEIL_RSHIFT(dst_w, hsub);
492 int xp = x>>hsub;
504 a = ap + (k<<hsub);
[all...]
H A Dvf_transpose.c56 int hsub, vsub; member in struct:TransContext
107 trans->hsub = desc_in->log2_chroma_w;
152 int hsub = plane == 1 || plane == 2 ? trans->hsub : 0; local
156 int outw = FF_CEIL_RSHIFT(out->width, hsub);
H A Dvf_crop.c48 "hsub",
87 int hsub, vsub; ///< chroma subsampling member in struct:CropContext
159 s->hsub = pix_desc->log2_chroma_w;
187 s->w &= ~((1 << s->hsub) - 1);
222 s->x &= ~((1 << s->hsub) - 1);
272 s->x &= ~((1 << s->hsub) - 1);
286 frame->data[i] += (s->x * s->max_step[i]) >> s->hsub;

Completed in 129 milliseconds

123