Home
last modified time | relevance | path

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

1234567

/third_party/ffmpeg/libavfilter/
Dvf_swaprect.c154 ah[1] = ah[2] = AV_CEIL_RSHIFT(h, s->desc->log2_chroma_h); in filter_frame()
156 aw[1] = aw[2] = AV_CEIL_RSHIFT(w, s->desc->log2_chroma_w); in filter_frame()
162 ph[1] = ph[2] = AV_CEIL_RSHIFT(h, s->desc->log2_chroma_h); in filter_frame()
164 pw[1] = pw[2] = AV_CEIL_RSHIFT(w, s->desc->log2_chroma_w); in filter_frame()
167 lh[1] = lh[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in filter_frame()
169 lw[1] = lw[2] = AV_CEIL_RSHIFT(inlink->w, s->desc->log2_chroma_w); in filter_frame()
172 x1[1] = x1[2] = AV_CEIL_RSHIFT(x1[0], s->desc->log2_chroma_w); in filter_frame()
174 y1[1] = y1[2] = AV_CEIL_RSHIFT(y1[0], s->desc->log2_chroma_h); in filter_frame()
177 x2[1] = x2[2] = AV_CEIL_RSHIFT(x2[0], s->desc->log2_chroma_w); in filter_frame()
179 y2[1] = y2[2] = AV_CEIL_RSHIFT(y2[0], s->desc->log2_chroma_h); in filter_frame()
Dvf_uspp.c193 int w = AV_CEIL_RSHIFT(width, is_chroma ? p->hsub : 0); in filter()
194 int h = AV_CEIL_RSHIFT(height, is_chroma ? p->vsub : 0); in filter()
272 for (y = 0; y < AV_CEIL_RSHIFT(height, p->vsub); y++) { in filter()
273 for (x = 0; x < AV_CEIL_RSHIFT(width, p->hsub); x++) { in filter()
285 AV_CEIL_RSHIFT(width, is_chroma ? p->hsub : 0), in filter()
286 AV_CEIL_RSHIFT(height, is_chroma ? p->vsub : 0), in filter()
334 w = AV_CEIL_RSHIFT(w, uspp->hsub); in config_input()
335 h = AV_CEIL_RSHIFT(h, uspp->vsub); in config_input()
403 w = AV_CEIL_RSHIFT(inlink->w, 4); in filter_frame()
407 h = AV_CEIL_RSHIFT(inlink->h, 4); in filter_frame()
Dvf_cover_rect.c81 int w = AV_CEIL_RSHIFT(cover->cover_frame->width , !!p); in cover_rect()
82 int h = AV_CEIL_RSHIFT(cover->cover_frame->height, !!p); in cover_rect()
101 int w = AV_CEIL_RSHIFT(cover->width , !!p); in blur()
102 int h = AV_CEIL_RSHIFT(cover->height, !!p); in blur()
103 int iw = AV_CEIL_RSHIFT(in->width , !!p); in blur()
104 int ih = AV_CEIL_RSHIFT(in->height, !!p); in blur()
Dvf_scroll.c128 s->pos_v[1] = s->pos_v[2] = AV_CEIL_RSHIFT(v_pos, s->desc->log2_chroma_h); in scroll()
130 s->pos_h[1] = s->pos_h[2] = AV_CEIL_RSHIFT(h_pos, s->desc->log2_chroma_w) * s->bytes; in scroll()
169 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in config_input()
171 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, s->desc->log2_chroma_w); in config_input()
Dvf_vflip.c66 int height = AV_CEIL_RSHIFT(h, vsub); in get_video_buffer()
84 int height = AV_CEIL_RSHIFT(link->h, vsub); in filter_frame()
Dvf_sr.c180 sws_src_h = AV_CEIL_RSHIFT(sr_context->input.height, desc->log2_chroma_h); in config_props()
181 sws_src_w = AV_CEIL_RSHIFT(sr_context->input.width, desc->log2_chroma_w); in config_props()
182 sws_dst_h = AV_CEIL_RSHIFT(sr_context->output.height, desc->log2_chroma_h); in config_props()
183 sws_dst_w = AV_CEIL_RSHIFT(sr_context->output.width, desc->log2_chroma_w); in config_props()
Dvf_smartblur.c170 AV_CEIL_RSHIFT(inlink->w, s->hsub), in config_props()
171 AV_CEIL_RSHIFT(inlink->h, s->vsub), in config_props()
246 int cw = AV_CEIL_RSHIFT(inlink->w, s->hsub); in filter_frame()
247 int ch = AV_CEIL_RSHIFT(inlink->h, s->vsub); in filter_frame()
Dcolorspacedsp_template.c75 w = AV_CEIL_RSHIFT(w, SS_W); in fn()
76 h = AV_CEIL_RSHIFT(h, SS_H); in fn()
153 w = AV_CEIL_RSHIFT(w, SS_W); in fn()
154 h = AV_CEIL_RSHIFT(h, SS_H); in fn()
237 w = AV_CEIL_RSHIFT(w, SS_W); in fn()
238 h = AV_CEIL_RSHIFT(h, SS_H); in fn()
Dvf_pixdesctest.c62 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()
Dvf_mergeplanes.c189 …s->planewidth[2] = AV_CEIL_RSHIFT(((s->outdesc->comp[1].depth > 8) + 1) * outlink->w, s->outdesc-… in config_output()
193 s->planeheight[2] = AV_CEIL_RSHIFT(outlink->h, s->outdesc->log2_chroma_h); in config_output()
217 …inputp->planewidth[2] = AV_CEIL_RSHIFT(((indesc->comp[1].depth > 8) + 1) * inlink->w, indesc->log… in config_output()
221 inputp->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, indesc->log2_chroma_h); in config_output()
Dvf_dnn_processing.c282 int sws_src_h = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in prepare_sws_context()
283 int sws_src_w = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in prepare_sws_context()
284 int sws_dst_h = AV_CEIL_RSHIFT(outlink->h, desc->log2_chroma_h); in prepare_sws_context()
285 int sws_dst_w = AV_CEIL_RSHIFT(outlink->w, desc->log2_chroma_w); in prepare_sws_context()
427 uv_height = AV_CEIL_RSHIFT(in->height, desc->log2_chroma_h); in copy_uv_planes()
Dcolorspacedsp_yuv2yuv_template.c61 w = AV_CEIL_RSHIFT(w, SS_W); in fn()
62 h = AV_CEIL_RSHIFT(h, SS_H); in fn()
Dvf_sab.c217 AV_CEIL_RSHIFT(inlink->w, s->hsub), in config_props()
218 AV_CEIL_RSHIFT(inlink->h, s->vsub), s->sws_flags); in config_props()
298 int cw = AV_CEIL_RSHIFT(inlink->w, s->hsub); in filter_frame()
299 int ch = AV_CEIL_RSHIFT(inlink->h, s->vsub); in filter_frame()
Dvf_stack.c219 item->height[1] = item->height[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in config_output()
223 item->y[1] = item->y[2] = AV_CEIL_RSHIFT(height, s->desc->log2_chroma_h); in config_output()
243 item->height[1] = item->height[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in config_output()
278 item->height[1] = item->height[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in config_output()
326 item->y[1] = item->y[2] = AV_CEIL_RSHIFT(inh, s->desc->log2_chroma_h); in config_output()
Ddrawutils.c120 line_size = AV_CEIL_RSHIFT(w, hsub1) * pixel_step[plane]; in ff_fill_line_with_color()
144 int width = AV_CEIL_RSHIFT(w, hsub1); in ff_draw_rectangle()
145 int height = AV_CEIL_RSHIFT(h, vsub1); in ff_draw_rectangle()
166 int width = AV_CEIL_RSHIFT(w, hsub1); in ff_copy_rectangle()
167 int height = AV_CEIL_RSHIFT(h, vsub1); in ff_copy_rectangle()
308 wp = AV_CEIL_RSHIFT(w, draw->hsub[plane]) * draw->pixelstep[plane]; in ff_copy_rectangle2()
309 hp = AV_CEIL_RSHIFT(h, draw->vsub[plane]); in ff_copy_rectangle2()
328 wp = AV_CEIL_RSHIFT(w, draw->hsub[plane]); in ff_fill_rectangle()
329 hp = AV_CEIL_RSHIFT(h, draw->vsub[plane]); in ff_fill_rectangle()
Dvf_midequalizer.c259 s->height[0][1] = s->height[0][2] = AV_CEIL_RSHIFT(inlink->h, vsub); in config_input0()
260 s->width[0][1] = s->width[0][2] = AV_CEIL_RSHIFT(inlink->w, hsub); in config_input0()
293 s->height[1][1] = s->height[1][2] = AV_CEIL_RSHIFT(inlink->h, vsub); in config_input1()
294 s->width[1][1] = s->width[1][2] = AV_CEIL_RSHIFT(inlink->w, hsub); in config_input1()
Dvf_yadif_cuda.c173 AV_CEIL_RSHIFT(y->cur->width, i ? y->csp->log2_chroma_w : 0), in filter()
174 AV_CEIL_RSHIFT(y->cur->height, i ? y->csp->log2_chroma_h : 0), in filter()
177 AV_CEIL_RSHIFT(dst->width, i ? y->csp->log2_chroma_w : 0), in filter()
178 AV_CEIL_RSHIFT(dst->height, i ? y->csp->log2_chroma_h : 0), in filter()
Dvf_geq.c104 …const int w = (plane == 1 || plane == 2) ? AV_CEIL_RSHIFT(picref->width, geq->hsub) : picref->wid… in getpix()
105 …const int h = (plane == 1 || plane == 2) ? AV_CEIL_RSHIFT(picref->height, geq->vsub) : picref->hei… in getpix()
203 …const int w = (plane == 1 || plane == 2) ? AV_CEIL_RSHIFT(picref->width, geq->hsub) : picref->wid… in getpix_integrate()
204 …const int h = (plane == 1 || plane == 2) ? AV_CEIL_RSHIFT(picref->height, geq->vsub) : picref->hei… in getpix_integrate()
437 … const int width = (plane == 1 || plane == 2) ? AV_CEIL_RSHIFT(inlink->w, geq->hsub) : inlink->w; in geq_filter_frame()
438 … const int height = (plane == 1 || plane == 2) ? AV_CEIL_RSHIFT(inlink->h, geq->vsub) : inlink->h; in geq_filter_frame()
Dvf_lut2.c207 s->heightx[1] = s->heightx[2] = AV_CEIL_RSHIFT(inlink->h, vsub); in config_inputx()
209 s->widthx[1] = s->widthx[2] = AV_CEIL_RSHIFT(inlink->w, hsub); in config_inputx()
236 s->heighty[1] = s->heighty[2] = AV_CEIL_RSHIFT(inlink->h, vsub); in config_inputy()
238 s->widthy[1] = s->widthy[2] = AV_CEIL_RSHIFT(inlink->w, hsub); in config_inputy()
417 s->height[1] = s->height[2] = AV_CEIL_RSHIFT(outlink->h, vsub); in lut2_config_output()
419 s->width[1] = s->width[2] = AV_CEIL_RSHIFT(outlink->w, hsub); in lut2_config_output()
Dvf_delogo.c367 AV_CEIL_RSHIFT(inlink->w, hsub), in filter_frame()
368 AV_CEIL_RSHIFT(inlink->h, vsub), in filter_frame()
372 AV_CEIL_RSHIFT(s->w + (s->x & ((1<<hsub)-1)), hsub), in filter_frame()
373 AV_CEIL_RSHIFT(s->h + (s->y & ((1<<vsub)-1)), vsub), in filter_frame()
/third_party/ffmpeg/libavcodec/
Dtxd.c109 if (bytestream2_get_bytes_left(&gb) < AV_CEIL_RSHIFT(w, 2) * AV_CEIL_RSHIFT(h, 2) * 8) in txd_decode_frame()
120 if (bytestream2_get_bytes_left(&gb) < AV_CEIL_RSHIFT(w, 2) * AV_CEIL_RSHIFT(h, 2) * 16) in txd_decode_frame()
Dlibwebpenc_common.c170 int w = AV_CEIL_RSHIFT(frame->width , !!p); in ff_libwebp_get_frame()
171 int h = AV_CEIL_RSHIFT(frame->height, !!p); in ff_libwebp_get_frame()
186 int w = AV_CEIL_RSHIFT(frame->width , !!p); in ff_libwebp_get_frame()
187 int h = AV_CEIL_RSHIFT(frame->height, !!p); in ff_libwebp_get_frame()
Dmagicyuvenc.c501 AV_CEIL_RSHIFT(frame->width, s->hshift[i]), in magy_encode_frame()
502 AV_CEIL_RSHIFT(frame->height, s->vshift[i])); in magy_encode_frame()
511 AV_CEIL_RSHIFT(frame->width, s->hshift[i]), in magy_encode_frame()
512 AV_CEIL_RSHIFT(frame->height, s->vshift[i]), in magy_encode_frame()
524 AV_CEIL_RSHIFT(frame->width, s->hshift[i]), in magy_encode_frame()
525 AV_CEIL_RSHIFT(frame->height, s->vshift[i]), in magy_encode_frame()
Dasvenc.c245 int w = AV_CEIL_RSHIFT(pict->width, !!i); in encode_frame()
246 int h = AV_CEIL_RSHIFT(pict->height, !!i); in encode_frame()
247 int w2 = AV_CEIL_RSHIFT(clone->width, !!i); in encode_frame()
248 int h2 = AV_CEIL_RSHIFT(clone->height, !!i); in encode_frame()
/third_party/ffmpeg/libavformat/
Drtpenc_jpeg.c45 w = AV_CEIL_RSHIFT(s1->streams[0]->codecpar->width, 3); in ff_rtp_send_jpeg()
46 h = AV_CEIL_RSHIFT(s1->streams[0]->codecpar->height, 3); in ff_rtp_send_jpeg()

1234567