Home
last modified time | relevance | path

Searched refs:AV_CEIL_RSHIFT (Results 1 - 25 of 187) sorted by relevance

12345678

/third_party/ffmpeg/libavfilter/
H A Dvf_swaprect.c145 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 Dvf_cover_rect.c69 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 Dvf_uspp.c198 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 Dvf_sr.c96 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 Dvf_dnn_processing.c178 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 Dvf_stack.c223 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 Dvf_smartblur.c162 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 Dvf_scroll.c120 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 Dcolorspacedsp_template.c75 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 Dvf_scale_cuda.c461 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 Dcolorspacedsp_yuv2yuv_template.c61 w = AV_CEIL_RSHIFT(w, SS_W); in yuv2yuv()
62 h = AV_CEIL_RSHIFT(h, SS_H); in yuv2yuv()
H A Dvf_vflip.c68 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 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()
H A Dvf_hflip.c75 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 Dvf_blurdetect.c205 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 Dvf_chromakey_cuda.c353 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 Dvf_delogo.c358 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 Dvf_yadif_cuda.c177 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 Dtxd.c78 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 Dlibwebpenc_common.c208 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 Ddxtory.c47 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 Dmagicyuvenc.c493 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 Dasvenc.c242 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 Dyuv4mpegenc.c201 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 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()

Completed in 15 milliseconds

12345678