/third_party/ffmpeg/libavfilter/ |
D | vf_swaprect.c | 154 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()
|
D | vf_cover_rect.c | 81 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()
|
D | vf_uspp.c | 196 int w = AV_CEIL_RSHIFT(width, is_chroma ? p->hsub : 0); in filter() 197 int h = AV_CEIL_RSHIFT(height, is_chroma ? p->vsub : 0); in filter() 276 for (y = 0; y < AV_CEIL_RSHIFT(height, p->vsub); y++) { in filter() 277 for (x = 0; x < AV_CEIL_RSHIFT(width, p->hsub); x++) { in filter() 289 AV_CEIL_RSHIFT(width, is_chroma ? p->hsub : 0), in filter() 290 AV_CEIL_RSHIFT(height, is_chroma ? p->vsub : 0), in filter() 338 w = AV_CEIL_RSHIFT(w, uspp->hsub); in config_input() 339 h = AV_CEIL_RSHIFT(h, uspp->vsub); in config_input()
|
D | vf_sr.c | 106 int sws_src_h = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_output() 107 int sws_src_w = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_output() 108 int sws_dst_h = AV_CEIL_RSHIFT(outlink->h, desc->log2_chroma_h); in config_output() 109 int sws_dst_w = AV_CEIL_RSHIFT(outlink->w, desc->log2_chroma_w); in config_output()
|
D | vf_scroll.c | 128 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()
|
D | vf_dnn_processing.c | 183 int sws_src_h = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in prepare_uv_scale() 184 int sws_src_w = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in prepare_uv_scale() 185 int sws_dst_h = AV_CEIL_RSHIFT(outlink->h, desc->log2_chroma_h); in prepare_uv_scale() 186 int sws_dst_w = AV_CEIL_RSHIFT(outlink->w, desc->log2_chroma_w); in prepare_uv_scale() 225 uv_height = AV_CEIL_RSHIFT(in->height, desc->log2_chroma_h); in copy_uv_planes()
|
D | vf_smartblur.c | 170 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()
|
D | colorspacedsp_template.c | 75 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()
|
D | vf_mergeplanes.c | 189 …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()
|
D | vf_monochrome.c | 166 const int width = AV_CEIL_RSHIFT(frame->width, subw); in clear_slice8() 167 const int height = AV_CEIL_RSHIFT(frame->height, subh); in clear_slice8() 192 const int width = AV_CEIL_RSHIFT(frame->width, subw); in clear_slice16() 193 const int height = AV_CEIL_RSHIFT(frame->height, subh); in clear_slice16()
|
D | vf_pixdesctest.c | 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()
|
D | vf_sab.c | 217 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()
|
D | colorspacedsp_yuv2yuv_template.c | 61 w = AV_CEIL_RSHIFT(w, SS_W); in fn() 62 h = AV_CEIL_RSHIFT(h, SS_H); in fn()
|
D | vf_vflip.c | 68 int height = AV_CEIL_RSHIFT(h, vsub); in get_video_buffer() 118 int height = AV_CEIL_RSHIFT(link->h, vsub); in filter_frame()
|
D | vf_stack.c | 216 item->height[1] = item->height[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in config_output() 220 item->y[1] = item->y[2] = AV_CEIL_RSHIFT(height, s->desc->log2_chroma_h); in config_output() 240 item->height[1] = item->height[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in config_output() 275 item->height[1] = item->height[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in config_output() 323 item->y[1] = item->y[2] = AV_CEIL_RSHIFT(inh, s->desc->log2_chroma_h); in config_output()
|
D | vf_geq.c | 104 …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()
|
D | vf_yadif_cuda.c | 173 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()
|
D | vf_midequalizer.c | 259 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()
|
D | vf_lut2.c | 208 s->heightx[1] = s->heightx[2] = AV_CEIL_RSHIFT(inlink->h, vsub); in config_inputx() 210 s->widthx[1] = s->widthx[2] = AV_CEIL_RSHIFT(inlink->w, hsub); in config_inputx() 237 s->heighty[1] = s->heighty[2] = AV_CEIL_RSHIFT(inlink->h, vsub); in config_inputy() 239 s->widthy[1] = s->widthy[2] = AV_CEIL_RSHIFT(inlink->w, hsub); in config_inputy() 419 s->height[1] = s->height[2] = AV_CEIL_RSHIFT(outlink->h, vsub); in lut2_config_output() 421 s->width[1] = s->width[2] = AV_CEIL_RSHIFT(outlink->w, hsub); in lut2_config_output()
|
/third_party/ffmpeg/libavcodec/ |
D | txd.c | 109 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()
|
D | dxtory.c | 47 return (int64_t)(width * height) + 2 * AV_CEIL_RSHIFT(width, 1) * AV_CEIL_RSHIFT(height, 1); in get_raw_size() 49 return (int64_t)(width * height) + 2 * AV_CEIL_RSHIFT(width, 2) * AV_CEIL_RSHIFT(height, 2); in get_raw_size() 76 pic->data[1] += (AV_CEIL_RSHIFT(avctx->height, 2) - 1) * pic->linesize[1]; in do_vflip() 78 pic->data[2] += (AV_CEIL_RSHIFT(avctx->height, 2) - 1) * pic->linesize[2]; in do_vflip() 84 pic->data[1] += (AV_CEIL_RSHIFT(avctx->height, 1) - 1) * pic->linesize[1]; in do_vflip() 86 pic->data[2] += (AV_CEIL_RSHIFT(avctx->height, 1) - 1) * pic->linesize[2]; in do_vflip() 150 huvborder = AV_CEIL_RSHIFT(avctx->width, 2) - 1; in dxtory_decode_v1_410() 246 huvborder = AV_CEIL_RSHIFT(avctx->width, 1) - 1; in dxtory_decode_v1_420() 622 huvborder = AV_CEIL_RSHIFT(frame->width, 2) - 1; in dx2_decode_slice_410() 702 huvborder = AV_CEIL_RSHIFT(frame->width, 1) - 1; in dx2_decode_slice_420()
|
D | libwebpenc_common.c | 170 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()
|
D | magicyuvenc.c | 488 AV_CEIL_RSHIFT(frame->width, s->hshift[i]), in magy_encode_frame() 489 AV_CEIL_RSHIFT(frame->height, s->vshift[i])); in magy_encode_frame() 498 AV_CEIL_RSHIFT(frame->width, s->hshift[i]), in magy_encode_frame() 499 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()
|
D | asvenc.c | 239 int w = AV_CEIL_RSHIFT(pict->width, !!i); in encode_frame() 240 int h = AV_CEIL_RSHIFT(pict->height, !!i); in encode_frame() 241 int w2 = AV_CEIL_RSHIFT(clone->width, !!i); in encode_frame() 242 int h2 = AV_CEIL_RSHIFT(clone->height, !!i); in encode_frame()
|
/third_party/ffmpeg/libavformat/ |
D | rtpenc_jpeg.c | 45 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()
|