import{s as I,n as L,o as M}from"../chunks/scheduler.182ea377.js";import{S as z,i as S,g,s as p,r as w,A as C,h as P,f as s,c as d,j as y,u as E,x as j,k as T,y as k,a as o,v as x,d as V,t as A,w as H}from"../chunks/index.abf12888.js";import{H as q,E as G}from"../chunks/EditOnGithub.9b8e78e4.js";function N(v){let a,l,c,u,n,f,r,b="The <code>VideoProcessor</code> provides a unified API for video pipelines to prepare inputs for VAE encoding and post-processing outputs once they’re decoded. The class inherits <code>VaeImageProcessor</code> so it includes transformations such as resizing, normalization, and conversion between PIL Image, PyTorch, and NumPy arrays.",h,i,_,m,$;return n=new q({props:{title:"Video Processor",local:"video-processor",headingTag:"h1"}}),i=new G({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/video_processor.md"}}),{c(){a=g("meta"),l=p(),c=g("p"),u=p(),w(n.$$.fragment),f=p(),r=g("p"),r.innerHTML=b,h=p(),w(i.$$.fragment),_=p(),m=g("p"),this.h()},l(e){const t=C("svelte-u9bgzb",document.head);a=P(t,"META",{name:!0,content:!0}),t.forEach(s),l=d(e),c=P(e,"P",{}),y(c).forEach(s),u=d(e),E(n.$$.fragment,e),f=d(e),r=P(e,"P",{"data-svelte-h":!0}),j(r)!=="svelte-64r56a"&&(r.innerHTML=b),h=d(e),E(i.$$.fragment,e),_=d(e),m=P(e,"P",{}),y(m).forEach(s),this.h()},h(){T(a,"name","hf:doc:metadata"),T(a,"content",O)},m(e,t){k(document.head,a),o(e,l,t),o(e,c,t),o(e,u,t),x(n,e,t),o(e,f,t),o(e,r,t),o(e,h,t),x(i,e,t),o(e,_,t),o(e,m,t),$=!0},p:L,i(e){$||(V(n.$$.fragment,e),V(i.$$.fragment,e),$=!0)},o(e){A(n.$$.fragment,e),A(i.$$.fragment,e),$=!1},d(e){e&&(s(l),s(c),s(u),s(f),s(r),s(h),s(_),s(m)),s(a),H(n,e),H(i,e)}}}const O='{"title":"Video Processor","local":"video-processor","sections":[],"depth":1}';function R(v){return M(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class F extends z{constructor(a){super(),S(this,a,R,N,I,{})}}export{F as component};
