/third_party/ffmpeg/libavfilter/ |
H A D | vf_swaprect.c | 145 ah[1] = ah[2] = AV_CEIL_RSHIFT(h, s->desc->log2_chroma_h); in filter_frame() 147 aw[1] = aw[2] = AV_CEIL_RSHIFT(w, s->desc->log2_chroma_w); in filter_frame() 153 ph[1] = ph[2] = AV_CEIL_RSHIFT(h, s->desc->log2_chroma_h); in filter_frame() 155 pw[1] = pw[2] = AV_CEIL_RSHIFT(w, s->desc->log2_chroma_w); in filter_frame() 158 lh[1] = lh[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in filter_frame() 160 lw[1] = lw[2] = AV_CEIL_RSHIFT(inlink->w, s->desc->log2_chroma_w); in filter_frame() 163 x1[1] = x1[2] = AV_CEIL_RSHIFT(x1[0], s->desc->log2_chroma_w); in filter_frame() 165 y1[1] = y1[2] = AV_CEIL_RSHIFT(y1[0], s->desc->log2_chroma_h); in filter_frame() 168 x2[1] = x2[2] = AV_CEIL_RSHIFT(x2[0], s->desc->log2_chroma_w); in filter_frame() 170 y2[1] = y2[2] = AV_CEIL_RSHIFT(y in filter_frame() [all...] |
H A D | vf_cover_rect.c | 69 int w = AV_CEIL_RSHIFT(cover->cover_frame->width , !!p); in cover_rect() 70 int h = AV_CEIL_RSHIFT(cover->cover_frame->height, !!p); in cover_rect() 89 int w = AV_CEIL_RSHIFT(cover->width , !!p); in blur() 90 int h = AV_CEIL_RSHIFT(cover->height, !!p); in blur() 91 int iw = AV_CEIL_RSHIFT(in->width , !!p); in blur() 92 int ih = AV_CEIL_RSHIFT(in->height, !!p); in blur()
|
H A D | vf_uspp.c | 198 int w = AV_CEIL_RSHIFT(width, is_chroma ? p->hsub : 0); in filter() 199 int h = AV_CEIL_RSHIFT(height, is_chroma ? p->vsub : 0); in filter() 278 for (y = 0; y < AV_CEIL_RSHIFT(height, p->vsub); y++) { in filter() 279 for (x = 0; x < AV_CEIL_RSHIFT(width, p->hsub); x++) { in filter() 291 AV_CEIL_RSHIFT(width, is_chroma ? p->hsub : 0), in filter() 292 AV_CEIL_RSHIFT(height, is_chroma ? p->vsub : 0), in filter() 332 w = AV_CEIL_RSHIFT(w, uspp->hsub); in config_input() 333 h = AV_CEIL_RSHIFT(h, uspp->vsub); in config_input()
|
H A D | vf_sr.c | 96 int sws_src_h = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_output() 97 int sws_src_w = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_output() 98 int sws_dst_h = AV_CEIL_RSHIFT(outlink->h, desc->log2_chroma_h); in config_output() 99 int sws_dst_w = AV_CEIL_RSHIFT(outlink->w, desc->log2_chroma_w); in config_output()
|
H A D | vf_dnn_processing.c | 178 int sws_src_h = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in prepare_uv_scale() 179 int sws_src_w = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in prepare_uv_scale() 180 int sws_dst_h = AV_CEIL_RSHIFT(outlink->h, desc->log2_chroma_h); in prepare_uv_scale() 181 int sws_dst_w = AV_CEIL_RSHIFT(outlink->w, desc->log2_chroma_w); in prepare_uv_scale() 220 uv_height = AV_CEIL_RSHIFT(in->height, desc->log2_chroma_h); in copy_uv_planes()
|
H A D | vf_stack.c | 223 item->height[1] = item->height[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in config_output() 227 item->y[1] = item->y[2] = AV_CEIL_RSHIFT(height, s->desc->log2_chroma_h); in config_output() 247 item->height[1] = item->height[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in config_output() 281 item->height[1] = item->height[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in config_output() 288 item->y[1] = item->y[2] = AV_CEIL_RSHIFT(inh, s->desc->log2_chroma_h); in config_output() 324 item->height[1] = item->height[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in config_output() 372 item->y[1] = item->y[2] = AV_CEIL_RSHIFT(inh, s->desc->log2_chroma_h); in config_output()
|
H A D | vf_smartblur.c | 162 AV_CEIL_RSHIFT(inlink->w, s->hsub), in config_props() 163 AV_CEIL_RSHIFT(inlink->h, s->vsub), in config_props() 238 int cw = AV_CEIL_RSHIFT(inlink->w, s->hsub); in filter_frame() 239 int ch = AV_CEIL_RSHIFT(inlink->h, s->vsub); in filter_frame()
|
H A D | vf_scroll.c | 120 s->pos_v[1] = s->pos_v[2] = AV_CEIL_RSHIFT(v_pos, s->desc->log2_chroma_h); in scroll() 122 s->pos_h[1] = s->pos_h[2] = AV_CEIL_RSHIFT(h_pos, s->desc->log2_chroma_w) * s->bytes; in scroll() 161 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in config_input() 163 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, s->desc->log2_chroma_w); in config_input()
|
H A D | colorspacedsp_template.c | 75 w = AV_CEIL_RSHIFT(w, SS_W); in yuv2rgb() 76 h = AV_CEIL_RSHIFT(h, SS_H); in yuv2rgb() 153 w = AV_CEIL_RSHIFT(w, SS_W); in rgb2yuv() 154 h = AV_CEIL_RSHIFT(h, SS_H); in rgb2yuv() 237 w = AV_CEIL_RSHIFT(w, SS_W); in rgb2yuv_fsb() 238 h = AV_CEIL_RSHIFT(h, SS_H); in rgb2yuv_fsb()
|
H A D | vf_scale_cuda.c | 461 res_desc.res.pitch2D.width = AV_CEIL_RSHIFT(in->width, s->in_desc->log2_chroma_w); in scalecuda_resize() 462 res_desc.res.pitch2D.height = AV_CEIL_RSHIFT(in->height, s->in_desc->log2_chroma_h); in scalecuda_resize() 483 AV_CEIL_RSHIFT(in->width, s->in_desc->log2_chroma_w), in scalecuda_resize() 484 AV_CEIL_RSHIFT(in->height, s->in_desc->log2_chroma_h), in scalecuda_resize() 486 AV_CEIL_RSHIFT(out->width, s->out_desc->log2_chroma_w), in scalecuda_resize() 487 AV_CEIL_RSHIFT(out->height, s->out_desc->log2_chroma_h), in scalecuda_resize()
|
H A D | colorspacedsp_yuv2yuv_template.c | 61 w = AV_CEIL_RSHIFT(w, SS_W); in yuv2yuv() 62 h = AV_CEIL_RSHIFT(h, SS_H); in yuv2yuv()
|
H A 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()
|
H A 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()
|
H A D | vf_hflip.c | 75 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, hsub); in config_props() 77 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, vsub); in config_props()
|
H A D | vf_blurdetect.c | 205 int block_width = AV_CEIL_RSHIFT(s->block_width, hsub); in calculate_blur() 206 int block_height = AV_CEIL_RSHIFT(s->block_height, vsub); in calculate_blur() 277 int w = AV_CEIL_RSHIFT(inw, hsub); in blurdetect_filter_frame() 278 int h = AV_CEIL_RSHIFT(inh, vsub); in blurdetect_filter_frame()
|
H A D | vf_chromakey_cuda.c | 353 res_desc.res.pitch2D.width = AV_CEIL_RSHIFT(in->width, s->in_desc->log2_chroma_w); in cudachromakey_process_internal() 354 res_desc.res.pitch2D.height = AV_CEIL_RSHIFT(in->height, s->in_desc->log2_chroma_h); in cudachromakey_process_internal() 370 AV_CEIL_RSHIFT(out->width, s->out_desc->log2_chroma_w), in cudachromakey_process_internal() 371 AV_CEIL_RSHIFT(out->height, s->out_desc->log2_chroma_h), in cudachromakey_process_internal()
|
H A D | vf_delogo.c | 358 AV_CEIL_RSHIFT(inlink->w, hsub), in filter_frame() 359 AV_CEIL_RSHIFT(inlink->h, vsub), in filter_frame() 363 AV_CEIL_RSHIFT(s->w + (s->x & ((1<<hsub)-1)), hsub), in filter_frame() 364 AV_CEIL_RSHIFT(s->h + (s->y & ((1<<vsub)-1)), vsub), in filter_frame()
|
H A D | vf_yadif_cuda.c | 177 AV_CEIL_RSHIFT(y->cur->width, i ? y->csp->log2_chroma_w : 0), in filter() 178 AV_CEIL_RSHIFT(y->cur->height, i ? y->csp->log2_chroma_h : 0), in filter() 181 AV_CEIL_RSHIFT(dst->width, i ? y->csp->log2_chroma_w : 0), in filter() 182 AV_CEIL_RSHIFT(dst->height, i ? y->csp->log2_chroma_h : 0), in filter()
|
/third_party/ffmpeg/libavcodec/ |
H A D | txd.c | 78 if (bytestream2_get_bytes_left(&gb) < AV_CEIL_RSHIFT(w, 2) * AV_CEIL_RSHIFT(h, 2) * 8 + 4) in txd_decode_frame() 82 if (bytestream2_get_bytes_left(&gb) < AV_CEIL_RSHIFT(w, 2) * AV_CEIL_RSHIFT(h, 2) * 16 + 4) in txd_decode_frame()
|
H A D | libwebpenc_common.c | 208 int w = AV_CEIL_RSHIFT(frame->width , !!p); in ff_libwebp_get_frame() 209 int h = AV_CEIL_RSHIFT(frame->height, !!p); in ff_libwebp_get_frame() 224 int w = AV_CEIL_RSHIFT(frame->width , !!p); in ff_libwebp_get_frame() 225 int h = AV_CEIL_RSHIFT(frame->height, !!p); in ff_libwebp_get_frame()
|
H A 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() 148 huvborder = AV_CEIL_RSHIFT(avctx->width, 2) - 1; in dxtory_decode_v1_410() 243 huvborder = AV_CEIL_RSHIFT(avct in dxtory_decode_v1_420() [all...] |
H A D | magicyuvenc.c | 493 AV_CEIL_RSHIFT(frame->width, s->hshift[i]), in magy_encode_frame() 494 AV_CEIL_RSHIFT(frame->height, s->vshift[i])); in magy_encode_frame() 503 AV_CEIL_RSHIFT(frame->width, s->hshift[i]), in magy_encode_frame() 504 AV_CEIL_RSHIFT(frame->height, s->vshift[i]), in magy_encode_frame() 516 AV_CEIL_RSHIFT(frame->width, s->hshift[i]), in magy_encode_frame() 517 AV_CEIL_RSHIFT(frame->height, s->vshift[i]), in magy_encode_frame()
|
H A D | asvenc.c | 242 int w = AV_CEIL_RSHIFT(pict->width, !!i); in encode_frame() 243 int h = AV_CEIL_RSHIFT(pict->height, !!i); in encode_frame() 244 int w2 = AV_CEIL_RSHIFT(clone->width, !!i); in encode_frame() 245 int h2 = AV_CEIL_RSHIFT(clone->height, !!i); in encode_frame()
|
/third_party/ffmpeg/libavformat/ |
H A D | yuv4mpegenc.c | 201 plane_width = AV_CEIL_RSHIFT(plane_width, desc->log2_chroma_w); in yuv4_write_packet() 202 plane_height = AV_CEIL_RSHIFT(plane_height, desc->log2_chroma_h); in yuv4_write_packet()
|
H A 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()
|