conformtools 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +92 -0
- package/dist/arriraw-Y5VXHXNX.js +525 -0
- package/dist/browser/timeline_core_bg.wasm +0 -0
- package/dist/chunk-35U7WGES.js +3 -0
- package/dist/chunk-3XTUTEKJ.js +102 -0
- package/dist/chunk-7D7H6VFW.js +3 -0
- package/dist/chunk-AACY2V3L.js +3 -0
- package/dist/chunk-AHNDJFQR.js +3 -0
- package/dist/chunk-C2ESM27Z.js +3 -0
- package/dist/chunk-DKGGJM6Z.js +3 -0
- package/dist/chunk-DRHOPOC7.js +3 -0
- package/dist/chunk-HJXRLQOI.js +3 -0
- package/dist/chunk-IDDQR56R.js +7 -0
- package/dist/chunk-JEMLKBH2.js +3 -0
- package/dist/chunk-NYB4ISL3.js +3 -0
- package/dist/chunk-P7OVDUA5.js +3 -0
- package/dist/chunk-PSANHDZM.js +3 -0
- package/dist/chunk-QDWB7QU7.js +3 -0
- package/dist/chunk-RXHNBSER.js +3 -0
- package/dist/chunk-SP5RGDAM.js +3 -0
- package/dist/chunk-TK55FA56.js +3 -0
- package/dist/chunk-UCMNH6Q6.js +3 -0
- package/dist/chunk-UUMHVA7R.js +3 -0
- package/dist/chunk-WWGQFOB2.js +64 -0
- package/dist/chunk-YPRTUS5W.js +3 -0
- package/dist/cli.js +11 -0
- package/dist/clip-state-B6JOX3JE.js +3 -0
- package/dist/cr3-wasm-X6Q4YMUU.js +3 -0
- package/dist/dng-wasm-EAB24KDN.js +3 -0
- package/dist/dpx-wasm-OX2D24ZB.js +3 -0
- package/dist/esm-SFFBP7PS.js +3 -0
- package/dist/exr-wasm-Z6BBPJSN.js +3 -0
- package/dist/h264-JHQCJTWP.js +3 -0
- package/dist/h264-mxf-4M63NBQK.js +3 -0
- package/dist/http.js +4 -0
- package/dist/inspect-6OM4FTVW.js +46 -0
- package/dist/isobmff-XL33CVJR.js +3 -0
- package/dist/mcp.js +13 -0
- package/dist/media_core-VSTO6CS4.js +9 -0
- package/dist/media_core_bg-BKXQLNFA.js +3 -0
- package/dist/media_core_bg-XIM7Y4R3.js +3 -0
- package/dist/mxf-VIANACTI.js +3 -0
- package/dist/onnxruntime-web-stub-PKJ2NZBF.js +3 -0
- package/dist/ops-7HVBBXUQ.js +3 -0
- package/dist/prores-TQEZ3KFH.js +526 -0
- package/dist/r3d-2QCFX7UX.js +3 -0
- package/dist/r3d-AT6NNIY3.js +1025 -0
- package/dist/source-BDJAUQVR.js +3 -0
- package/dist/sscd-sweep-IXM4OD7O.js +3 -0
- package/dist/still-E4HLCCST.js +3 -0
- package/dist/tiff-wasm-XYTQNL2F.js +3 -0
- package/dist/timeline_core-VK2ZWPCO.js +3 -0
- package/dist/timeline_core_bg-QEOVAIWP.js +3 -0
- package/dist/udf_bg-UTQ6BVXX.js +3 -0
- package/dist/wasm/media_core_bg.wasm +0 -0
- package/dist/wasm/udf_bg.wasm +0 -0
- package/dist/wasm-threads/media_core_bg.wasm +0 -0
- package/dist/wav-DXF73Y56.js +3 -0
- package/dist/zod-IPSV75LP.js +3 -0
- package/package.json +41 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
+
import{d as Tt}from"./chunk-PSANHDZM.js";var At={};Tt(At,{ExrBench:()=>J,ExrStreamEncoder:()=>Q,ProResBench:()=>Z,ProResMovEncoder:()=>tt,ProResMovWriter:()=>et,arriraw12_clip_info:()=>Ot,arriraw_mxf_gpu_frame:()=>Ft,audio_aac_au:()=>Wt,audio_aac_config:()=>St,audio_info:()=>Rt,bench_f32_boundary:()=>Lt,bench_piz_no_huffman:()=>Dt,dci_code_full_depth:()=>zt,dci_frame_cap:()=>Ut,dci_gpu_colour_patch:()=>jt,dci_gpu_colour_tables:()=>Bt,dci_last_pass_caps:()=>Pt,dci_legal_rates:()=>Ct,dci_mq_bench:()=>qt,dci_pack_tier1:()=>Nt,dci_stage_rgba8:()=>Ht,dci_transform_only:()=>Gt,decode_arriraw12_luma:()=>Vt,decode_arriraw12_mxf:()=>Kt,decode_arriraw12_preview:()=>Xt,decode_arriraw12_rgba:()=>Yt,decode_arriraw_luma:()=>$t,decode_arriraw_mxf:()=>Jt,decode_arriraw_preview:()=>Qt,decode_arriraw_preview_gray:()=>Zt,decode_arriraw_preview_meta:()=>te,decode_arriraw_rgba:()=>ee,decode_arriraw_rgba_meta:()=>ne,decode_audio_pcm:()=>re,decode_braw_gen5log:()=>_e,decode_braw_luma:()=>oe,decode_braw_preview:()=>ie,decode_braw_rgba:()=>ae,decode_cr3_rgba:()=>ce,decode_crm:()=>se,decode_dng_preview:()=>de,decode_dng_rgba:()=>pe,decode_dpx_preview:()=>ge,decode_dpx_rgba:()=>ue,decode_exr_linear:()=>we,decode_exr_preview:()=>be,decode_exr_rgba:()=>le,decode_prores_band_rgba:()=>fe,decode_prores_luma:()=>ve,decode_prores_mxf:()=>xe,decode_prores_preview:()=>Ie,decode_prores_raw_acescct:()=>ye,decode_prores_raw_luma:()=>me,decode_prores_raw_preview:()=>he,decode_prores_raw_rec2020:()=>ke,decode_prores_raw_rgba:()=>Ae,decode_prores_rgb16:()=>Me,decode_prores_rgba:()=>Ee,decode_prores_thumb_dc32:()=>Te,decode_r3d_luma:()=>Oe,decode_r3d_preview:()=>Fe,decode_r3d_preview_clip:()=>We,decode_r3d_rgb16:()=>Se,decode_r3d_rgba:()=>Re,decode_r3d_rgba_clip:()=>Le,decode_tiff_preview:()=>De,decode_tiff_rgba:()=>ze,decode_vc3_band_rgba:()=>Ue,decode_vc3_luma:()=>je,decode_vc3_mxf:()=>Be,decode_vc3_preview:()=>Pe,decode_vc3_rgba:()=>Ce,decode_xocn_luma:()=>qe,decode_xocn_mxf:()=>Ne,decode_xocn_preview:()=>He,decode_xocn_rgb16:()=>Ge,decode_xocn_rgba:()=>Ve,default:()=>nt,encode_dci_j2c:()=>Ke,encode_dci_j2c_rgb:()=>Xe,encode_dci_j2c_rgba8:()=>Ye,encode_dci_j2c_staged:()=>$e,encode_dci_j2c_staged_modelled:()=>Je,encode_exr:()=>Qe,encode_prores_4444_alpha_mov_rgba:()=>Ze,encode_prores_4444_alpha_sample_q:()=>tn,encode_prores_444_sample_cbr:()=>en,encode_prores_444_sample_cbr_rgb16:()=>nn,encode_prores_444_sample_cbr_rgb16_lut:()=>rn,encode_prores_mov_rgba:()=>_n,encode_prores_rgba:()=>on,encode_prores_sample_cbr:()=>an,encode_prores_sample_cbr_rgb16:()=>cn,encode_prores_sample_cbr_rgb16_lut:()=>sn,encode_prores_sample_q:()=>dn,exr_sequence_filename:()=>pn,initSync:()=>Mr,inspect_cr3:()=>gn,inspect_dng:()=>un,inspect_dpx:()=>wn,inspect_exr:()=>bn,inspect_isobmff:()=>ln,inspect_tiff:()=>fn,inspect_wav:()=>vn,is_arriraw12_mxf:()=>xn,is_arriraw_mxf:()=>In,is_crm:()=>yn,is_prores_mxf:()=>mn,is_vc3_mxf:()=>hn,is_xavc_mxf:()=>kn,is_xocn_mxf:()=>An,list_isobmff_segments:()=>Mn,list_mxf_segments:()=>En,list_r3d_frames:()=>Tn,list_r3d_segments:()=>On,list_wav_segments:()=>Fn,mux_prores_4444_alpha_samples:()=>Wn,mux_prores_samples:()=>Sn,mux_prores_samples_full:()=>Rn,mxf_au_run:()=>Ln,mxf_frame_index:()=>Dn,mxf_gop_map:()=>zn,mxf_h264_kind:()=>Un,plan_isobmff_trim:()=>jn,plan_isobmff_trim_reader:()=>Bn,plan_mxf_compact_trim:()=>Pn,plan_mxf_trim:()=>Cn,plan_r3d_compact:()=>qn,plan_wav_trim:()=>Nn,plan_wav_trim_reader:()=>Hn,prepare_isobmff:()=>Gn,prepare_mxf:()=>Vn,prepare_r3d:()=>Kn,prepare_wav:()=>Xn,probe_mov:()=>Yn,probe_mxf:()=>$n,probe_r3d:()=>Jn,prores_band_info:()=>Qn,prores_reset_rate_control:()=>Zn,r3d_gpu_develop_params:()=>tr,r3d_is_helium:()=>er,read_arriraw_fcs:()=>nr,read_arriraw_unit_correction:()=>rr,recover_reframe:()=>_r,resample_rgba16:()=>or,resample_rgba8:()=>ir,reset_dci_rate_state:()=>ar,rgba8_to_xyz12:()=>cr,trim_r3d:()=>sr,vc3_band_info:()=>dr,video_frame_index_isobmff_reader:()=>pr,xavc_au:()=>gr,xavc_frame_count:()=>ur,xocn_frame_count:()=>wr});var J=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,wt.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_exrbench_free(e,0)}block_rows(){return t.exrbench_block_rows(this.__wbg_ptr)>>>0}f32_to_half_block(){return t.exrbench_f32_to_half_block(this.__wbg_ptr)}n_blocks(){return t.exrbench_n_blocks(this.__wbg_ptr)>>>0}constructor(e,n,o,a){try{let d=t.__wbindgen_add_to_stack_pointer(-16),g=I(a,t.__wbindgen_export4,t.__wbindgen_export5),u=p;t.exrbench_new(d,e,n,o,g,u);var c=_().getInt32(d+0,!0),i=_().getInt32(d+4,!0),s=_().getInt32(d+8,!0);if(s)throw w(i);return this.__wbg_ptr=c,wt.register(this,this.__wbg_ptr,this),this}finally{t.__wbindgen_add_to_stack_pointer(16)}}piz_stage_block(e){try{let c=t.__wbindgen_add_to_stack_pointer(-16);t.exrbench_piz_stage_block(c,this.__wbg_ptr,e);var n=_().getFloat64(c+0,!0),o=_().getInt32(c+8,!0),a=_().getInt32(c+12,!0);if(a)throw w(o);return n}finally{t.__wbindgen_add_to_stack_pointer(16)}}staging_f32_ptr(){return t.exrbench_staging_f32_ptr(this.__wbg_ptr)>>>0}staging_f32_samples(){return t.exrbench_staging_f32_samples(this.__wbg_ptr)>>>0}staging_half_len(){return t.exrbench_staging_half_len(this.__wbg_ptr)>>>0}staging_half_ptr(){return t.exrbench_staging_half_ptr(this.__wbg_ptr)>>>0}zip_stage_block(e){try{let c=t.__wbindgen_add_to_stack_pointer(-16);t.exrbench_zip_stage_block(c,this.__wbg_ptr,e);var n=_().getFloat64(c+0,!0),o=_().getInt32(c+8,!0),a=_().getInt32(c+12,!0);if(a)throw w(o);return n}finally{t.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(J.prototype[Symbol.dispose]=J.prototype.free);var Q=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,bt.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_exrstreamencoder_free(e,0)}block_rows(){return t.exrstreamencoder_block_rows(this.__wbg_ptr)>>>0}finish(){try{let i=t.__wbindgen_add_to_stack_pointer(-16);t.exrstreamencoder_finish(i,this.__wbg_ptr);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}header(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.exrstreamencoder_header(a,this.__wbg_ptr);var e=_().getInt32(a+0,!0),n=_().getInt32(a+4,!0),o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}n_blocks(){return t.exrstreamencoder_n_blocks(this.__wbg_ptr)>>>0}constructor(e,n,o,a,c,i,s,d,g,u){try{let y=t.__wbindgen_add_to_stack_pointer(-16),h=I(o,t.__wbindgen_export4,t.__wbindgen_export5),A=p,M=I(a,t.__wbindgen_export4,t.__wbindgen_export5),O=p,F=I(c,t.__wbindgen_export4,t.__wbindgen_export5),T=p,W=I(i,t.__wbindgen_export4,t.__wbindgen_export5),L=p,D=I(d,t.__wbindgen_export4,t.__wbindgen_export5),U=p;t.exrstreamencoder_new(y,e,n,h,A,M,O,F,T,W,L,s,D,U,g,u);var b=_().getInt32(y+0,!0),x=_().getInt32(y+4,!0),m=_().getInt32(y+8,!0);if(m)throw w(x);return this.__wbg_ptr=b,bt.register(this,this.__wbg_ptr,this),this}finally{t.__wbindgen_add_to_stack_pointer(16)}}push_block(e){try{let s=t.__wbindgen_add_to_stack_pointer(-16);t.exrstreamencoder_push_block(s,this.__wbg_ptr,e);var n=_().getInt32(s+0,!0),o=_().getInt32(s+4,!0),a=_().getInt32(s+8,!0),c=_().getInt32(s+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}rows_remaining(){return t.exrstreamencoder_rows_remaining(this.__wbg_ptr)>>>0}staging_ptr(){return t.exrstreamencoder_staging_ptr(this.__wbg_ptr)>>>0}staging_samples(){return t.exrstreamencoder_staging_samples(this.__wbg_ptr)>>>0}};Symbol.dispose&&(Q.prototype[Symbol.dispose]=Q.prototype.free);var Z=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,lt.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_proresbench_free(e,0)}constructor(e,n,o,a){try{let d=t.__wbindgen_add_to_stack_pointer(-16),g=I(o,t.__wbindgen_export4,t.__wbindgen_export5),u=p;t.proresbench_new(d,e,n,g,u,a);var c=_().getInt32(d+0,!0),i=_().getInt32(d+4,!0),s=_().getInt32(d+8,!0);if(s)throw w(i);return this.__wbg_ptr=c,lt.register(this,this.__wbg_ptr,this),this}finally{t.__wbindgen_add_to_stack_pointer(16)}}stage(e){try{let c=t.__wbindgen_add_to_stack_pointer(-16);t.proresbench_stage(c,this.__wbg_ptr,e);var n=_().getFloat64(c+0,!0),o=_().getInt32(c+8,!0),a=_().getInt32(c+12,!0);if(a)throw w(o);return n}finally{t.__wbindgen_add_to_stack_pointer(16)}}staging_len(){return t.proresbench_staging_len(this.__wbg_ptr)>>>0}staging_ptr(){return t.proresbench_staging_ptr(this.__wbg_ptr)>>>0}};Symbol.dispose&&(Z.prototype[Symbol.dispose]=Z.prototype.free);var tt=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,ft.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_proresmovencoder_free(e,0)}add_frame_rgba(e){try{let a=t.__wbindgen_add_to_stack_pointer(-16),c=l(e,t.__wbindgen_export4),i=p;t.proresmovencoder_add_frame_rgba(a,this.__wbg_ptr,c,i);var n=_().getInt32(a+0,!0),o=_().getInt32(a+4,!0);if(o)throw w(n)}finally{t.__wbindgen_add_to_stack_pointer(16)}}finish(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovencoder_finish(a,this.__wbg_ptr);var e=_().getInt32(a+0,!0),n=_().getInt32(a+4,!0),o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}frame_count(){return t.proresmovencoder_frame_count(this.__wbg_ptr)>>>0}constructor(e,n,o,a){let c=t.proresmovencoder_new(e,n,o,a);return this.__wbg_ptr=c,ft.register(this,this.__wbg_ptr,this),this}set_alpha(e){t.proresmovencoder_set_alpha(this.__wbg_ptr,e)}set_bitrate_mbps(e){t.proresmovencoder_set_bitrate_mbps(this.__wbg_ptr,e)}set_qscale(e){t.proresmovencoder_set_qscale(this.__wbg_ptr,e)}};Symbol.dispose&&(tt.prototype[Symbol.dispose]=tt.prototype.free);var et=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,vt.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_proresmovwriter_free(e,0)}finish(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_finish(a,this.__wbg_ptr);var e=_().getInt32(a+0,!0),n=_().getInt32(a+4,!0),o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}frame_count(){return t.proresmovwriter_frame_count(this.__wbg_ptr)>>>0}header(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_header(a,this.__wbg_ptr);var e=_().getInt32(a+0,!0),n=_().getInt32(a+4,!0),o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}mdat_box_header(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_mdat_box_header(a,this.__wbg_ptr);var e=_().getInt32(a+0,!0),n=_().getInt32(a+4,!0),o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}mdat_box_offset(){return t.proresmovwriter_mdat_box_offset(this.__wbg_ptr)}constructor(e,n,o,a){let c=t.proresmovwriter_new(e,n,o,a);return this.__wbg_ptr=c,vt.register(this,this.__wbg_ptr,this),this}push_frame(){try{let i=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_push_frame(i,this.__wbg_ptr);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}push_sample(e){try{let a=t.__wbindgen_add_to_stack_pointer(-16),c=l(e,t.__wbindgen_export4),i=p;t.proresmovwriter_push_sample(a,this.__wbg_ptr,c,i);var n=_().getInt32(a+0,!0),o=_().getInt32(a+4,!0);if(o)throw w(n)}finally{t.__wbindgen_add_to_stack_pointer(16)}}push_sample_len(e){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_push_sample_len(a,this.__wbg_ptr,e);var n=_().getInt32(a+0,!0),o=_().getInt32(a+4,!0);if(o)throw w(n)}finally{t.__wbindgen_add_to_stack_pointer(16)}}reserve_large_mdat(e){t.proresmovwriter_reserve_large_mdat(this.__wbg_ptr,e)}set_alpha(e){t.proresmovwriter_set_alpha(this.__wbg_ptr,e)}set_bitrate_mbps(e){t.proresmovwriter_set_bitrate_mbps(this.__wbg_ptr,e)}set_par(e,n){t.proresmovwriter_set_par(this.__wbg_ptr,e,n)}set_profile(e){let n=I(e,t.__wbindgen_export4,t.__wbindgen_export5),o=p;t.proresmovwriter_set_profile(this.__wbg_ptr,n,o)}set_qscale(e){t.proresmovwriter_set_qscale(this.__wbg_ptr,e)}set_start_timecode(e,n){t.proresmovwriter_set_start_timecode(this.__wbg_ptr,e,n)}staging_len(){return t.proresmovwriter_staging_len(this.__wbg_ptr)>>>0}staging_ptr(){return t.proresmovwriter_staging_ptr(this.__wbg_ptr)>>>0}total_len(){return t.proresmovwriter_total_len(this.__wbg_ptr)}};Symbol.dispose&&(et.prototype[Symbol.dispose]=et.prototype.free);function Ot(r){let e,n;try{let c=t.__wbindgen_add_to_stack_pointer(-16),i=l(r,t.__wbindgen_export4),s=p;t.arriraw12_clip_info(c,i,s);var o=_().getInt32(c+0,!0),a=_().getInt32(c+4,!0);return e=o,n=a,E(o,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Ft(r,e,n,o){var a=B(o)?0:I(o,t.__wbindgen_export4,t.__wbindgen_export5),c=p;let i=t.arriraw_mxf_gpu_frame(v(r),e,n,a,c);return w(i)}function Wt(r,e,n){let o=t.audio_aac_au(v(r),e,n);return w(o)}function St(r,e){let n=t.audio_aac_config(v(r),e);return w(n)}function Rt(r,e){let n=t.audio_info(v(r),e);return w(n)}function Lt(r){let e=gt(r,t.__wbindgen_export4),n=p;return t.bench_f32_boundary(e,n)}function Dt(r,e,n,o){let a=gt(r,t.__wbindgen_export4),c=p;return t.bench_piz_no_huffman(a,c,e,n,o)}function zt(r,e,n){let o=S(r,t.__wbindgen_export4),a=p;return t.dci_code_full_depth(o,a,e,n)}function Ut(r,e,n){return t.dci_frame_cap(r,e,n)>>>0}function jt(r,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),g=p,u=I(e,t.__wbindgen_export4,t.__wbindgen_export5),b=p;t.dci_gpu_colour_patch(s,d,g,u,b);var n=_().getInt32(s+0,!0),o=_().getInt32(s+4,!0),a=_().getInt32(s+8,!0),c=_().getInt32(s+12,!0);if(c)throw w(a);var i=pt(n,o).slice();return t.__wbindgen_export3(n,o*2,2),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Bt(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=I(r,t.__wbindgen_export4,t.__wbindgen_export5),d=p;t.dci_gpu_colour_tables(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Pt(){try{let o=t.__wbindgen_add_to_stack_pointer(-16);t.dci_last_pass_caps(o);var r=_().getInt32(o+0,!0),e=_().getInt32(o+4,!0),n=_t(r,e).slice();return t.__wbindgen_export3(r,e*4,4),n}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ct(r,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16);t.dci_legal_rates(c,r,e);var n=_().getInt32(c+0,!0),o=_().getInt32(c+4,!0),a=_t(n,o).slice();return t.__wbindgen_export3(n,o*4,4),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function qt(r){return t.dci_mq_bench(r)>>>0}function Nt(r,e,n,o,a,c,i,s,d,g,u){try{let A=t.__wbindgen_add_to_stack_pointer(-16),M=R(r,t.__wbindgen_export4),O=p,F=l(e,t.__wbindgen_export4),T=p,W=R(n,t.__wbindgen_export4),L=p,D=R(o,t.__wbindgen_export4),U=p,C=R(a,t.__wbindgen_export4),q=p,ot=R(c,t.__wbindgen_export4),it=p,at=R(i,t.__wbindgen_export4),ct=p,Mt=R(s,t.__wbindgen_export4),Et=p;t.dci_pack_tier1(A,M,O,F,T,W,L,D,U,C,q,ot,it,at,ct,Mt,Et,d,g,u);var b=_().getInt32(A+0,!0),x=_().getInt32(A+4,!0),m=_().getInt32(A+8,!0),y=_().getInt32(A+12,!0);if(y)throw w(m);var h=f(b,x).slice();return t.__wbindgen_export3(b,x*1,1),h}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ht(r,e){let n=t.dci_stage_rgba8(r,e);return w(n)}function Gt(r,e,n){let o=S(r,t.__wbindgen_export4),a=p;return t.dci_transform_only(o,a,e,n)}function Vt(r,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),g=p,u=l(e,t.__wbindgen_export4),b=p;t.decode_arriraw12_luma(s,d,g,u,b);var n=_().getInt32(s+0,!0),o=_().getInt32(s+4,!0),a=_().getInt32(s+8,!0),c=_().getInt32(s+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Kt(r,e,n,o){let a=I(o,t.__wbindgen_export4,t.__wbindgen_export5),c=p,i=t.decode_arriraw12_mxf(v(r),e,n,a,c);return w(i)}function Xt(r,e,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p,b=l(e,t.__wbindgen_export4),x=p;t.decode_arriraw12_preview(d,g,u,b,x,n);var o=_().getInt32(d+0,!0),a=_().getInt32(d+4,!0),c=_().getInt32(d+8,!0),i=_().getInt32(d+12,!0);if(i)throw w(c);var s=f(o,a).slice();return t.__wbindgen_export3(o,a*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Yt(r,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),g=p,u=l(e,t.__wbindgen_export4),b=p;t.decode_arriraw12_rgba(s,d,g,u,b);var n=_().getInt32(s+0,!0),o=_().getInt32(s+4,!0),a=_().getInt32(s+8,!0),c=_().getInt32(s+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function $t(r,e,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p;t.decode_arriraw_luma(d,g,u,e,n);var o=_().getInt32(d+0,!0),a=_().getInt32(d+4,!0),c=_().getInt32(d+8,!0),i=_().getInt32(d+12,!0);if(i)throw w(c);var s=f(o,a).slice();return t.__wbindgen_export3(o,a*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Jt(r,e,n,o){let a=I(o,t.__wbindgen_export4,t.__wbindgen_export5),c=p,i=t.decode_arriraw_mxf(v(r),e,n,a,c);return w(i)}function Qt(r,e,n,o){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.decode_arriraw_preview(g,u,b,e,n,o);var a=_().getInt32(g+0,!0),c=_().getInt32(g+4,!0),i=_().getInt32(g+8,!0),s=_().getInt32(g+12,!0);if(s)throw w(i);var d=f(a,c).slice();return t.__wbindgen_export3(a,c*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Zt(r,e,n,o){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.decode_arriraw_preview_gray(g,u,b,e,n,o);var a=_().getInt32(g+0,!0),c=_().getInt32(g+4,!0),i=_().getInt32(g+8,!0),s=_().getInt32(g+12,!0);if(s)throw w(i);var d=f(a,c).slice();return t.__wbindgen_export3(a,c*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function te(r,e,n,o,a,c,i,s,d){try{let A=t.__wbindgen_add_to_stack_pointer(-16),M=l(r,t.__wbindgen_export4),O=p;var g=B(d)?0:Y(d,t.__wbindgen_export4),u=p;t.decode_arriraw_preview_meta(A,M,O,e,n,o,a,c,i,s,g,u);var b=_().getInt32(A+0,!0),x=_().getInt32(A+4,!0),m=_().getInt32(A+8,!0),y=_().getInt32(A+12,!0);if(y)throw w(m);var h=f(b,x).slice();return t.__wbindgen_export3(b,x*1,1),h}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ee(r,e,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p;t.decode_arriraw_rgba(d,g,u,e,n);var o=_().getInt32(d+0,!0),a=_().getInt32(d+4,!0),c=_().getInt32(d+8,!0),i=_().getInt32(d+12,!0);if(i)throw w(c);var s=f(o,a).slice();return t.__wbindgen_export3(o,a*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ne(r,e,n,o,a,c,i,s){try{let h=t.__wbindgen_add_to_stack_pointer(-16),A=l(r,t.__wbindgen_export4),M=p;var d=B(s)?0:Y(s,t.__wbindgen_export4),g=p;t.decode_arriraw_rgba_meta(h,A,M,e,n,o,a,c,i,d,g);var u=_().getInt32(h+0,!0),b=_().getInt32(h+4,!0),x=_().getInt32(h+8,!0),m=_().getInt32(h+12,!0);if(m)throw w(x);var y=f(u,b).slice();return t.__wbindgen_export3(u,b*1,1),y}finally{t.__wbindgen_add_to_stack_pointer(16)}}function re(r,e,n,o){let a=t.decode_audio_pcm(v(r),e,n,o);return w(a)}function _e(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),c=l(r,t.__wbindgen_export4),i=p;t.decode_braw_gen5log(a,c,i);var e=_().getInt32(a+0,!0),n=_().getInt32(a+4,!0),o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}function oe(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_braw_luma(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ie(r,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),g=p;t.decode_braw_preview(s,d,g,e);var n=_().getInt32(s+0,!0),o=_().getInt32(s+4,!0),a=_().getInt32(s+8,!0),c=_().getInt32(s+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ae(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_braw_rgba(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ce(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_cr3_rgba(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function se(r,e,n,o){let a=I(o,t.__wbindgen_export4,t.__wbindgen_export5),c=p,i=t.decode_crm(v(r),e,n,a,c);return w(i)}function de(r,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),g=p;t.decode_dng_preview(s,d,g,e);var n=_().getInt32(s+0,!0),o=_().getInt32(s+4,!0),a=_().getInt32(s+8,!0),c=_().getInt32(s+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function pe(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_dng_rgba(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ge(r,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),g=p;t.decode_dpx_preview(s,d,g,e);var n=_().getInt32(s+0,!0),o=_().getInt32(s+4,!0),a=_().getInt32(s+8,!0),c=_().getInt32(s+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ue(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_dpx_rgba(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function we(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_exr_linear(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function be(r,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),g=p;t.decode_exr_preview(s,d,g,e);var n=_().getInt32(s+0,!0),o=_().getInt32(s+4,!0),a=_().getInt32(s+8,!0),c=_().getInt32(s+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function le(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_exr_rgba(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function fe(r,e,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p;t.decode_prores_band_rgba(d,g,u,e,n);var o=_().getInt32(d+0,!0),a=_().getInt32(d+4,!0),c=_().getInt32(d+8,!0),i=_().getInt32(d+12,!0);if(i)throw w(c);var s=f(o,a).slice();return t.__wbindgen_export3(o,a*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ve(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_prores_luma(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function xe(r,e,n,o){let a=I(o,t.__wbindgen_export4,t.__wbindgen_export5),c=p,i=t.decode_prores_mxf(v(r),e,n,a,c);return w(i)}function Ie(r,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),g=p;t.decode_prores_preview(s,d,g,e);var n=_().getInt32(s+0,!0),o=_().getInt32(s+4,!0),a=_().getInt32(s+8,!0),c=_().getInt32(s+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ye(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_prores_raw_acescct(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function me(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_prores_raw_luma(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function he(r,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),g=p;t.decode_prores_raw_preview(s,d,g,e);var n=_().getInt32(s+0,!0),o=_().getInt32(s+4,!0),a=_().getInt32(s+8,!0),c=_().getInt32(s+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ke(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_prores_raw_rec2020(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ae(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_prores_raw_rgba(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Me(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_prores_rgb16(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ee(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_prores_rgba(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Te(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_prores_thumb_dc32(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Oe(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_r3d_luma(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Fe(r,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),g=p;t.decode_r3d_preview(s,d,g,e);var n=_().getInt32(s+0,!0),o=_().getInt32(s+4,!0),a=_().getInt32(s+8,!0),c=_().getInt32(s+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function We(r,e,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p,b=l(e,t.__wbindgen_export4),x=p;t.decode_r3d_preview_clip(d,g,u,b,x,n);var o=_().getInt32(d+0,!0),a=_().getInt32(d+4,!0),c=_().getInt32(d+8,!0),i=_().getInt32(d+12,!0);if(i)throw w(c);var s=f(o,a).slice();return t.__wbindgen_export3(o,a*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Se(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_r3d_rgb16(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Re(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_r3d_rgba(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Le(r,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),g=p,u=l(e,t.__wbindgen_export4),b=p;t.decode_r3d_rgba_clip(s,d,g,u,b);var n=_().getInt32(s+0,!0),o=_().getInt32(s+4,!0),a=_().getInt32(s+8,!0),c=_().getInt32(s+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function De(r,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),g=p;t.decode_tiff_preview(s,d,g,e);var n=_().getInt32(s+0,!0),o=_().getInt32(s+4,!0),a=_().getInt32(s+8,!0),c=_().getInt32(s+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ze(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_tiff_rgba(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ue(r,e,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p;t.decode_vc3_band_rgba(d,g,u,e,n);var o=_().getInt32(d+0,!0),a=_().getInt32(d+4,!0),c=_().getInt32(d+8,!0),i=_().getInt32(d+12,!0);if(i)throw w(c);var s=f(o,a).slice();return t.__wbindgen_export3(o,a*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function je(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_vc3_luma(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Be(r,e,n,o){let a=I(o,t.__wbindgen_export4,t.__wbindgen_export5),c=p,i=t.decode_vc3_mxf(v(r),e,n,a,c);return w(i)}function Pe(r,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),g=p;t.decode_vc3_preview(s,d,g,e);var n=_().getInt32(s+0,!0),o=_().getInt32(s+4,!0),a=_().getInt32(s+8,!0),c=_().getInt32(s+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ce(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_vc3_rgba(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function qe(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_xocn_luma(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ne(r,e,n,o){let a=I(o,t.__wbindgen_export4,t.__wbindgen_export5),c=p,i=t.decode_xocn_mxf(v(r),e,n,a,c);return w(i)}function He(r,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),g=p;t.decode_xocn_preview(s,d,g,e);var n=_().getInt32(s+0,!0),o=_().getInt32(s+4,!0),a=_().getInt32(s+8,!0),c=_().getInt32(s+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ge(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),c=l(r,t.__wbindgen_export4),i=p;t.decode_xocn_rgb16(a,c,i);var e=_().getInt32(a+0,!0),n=_().getInt32(a+4,!0),o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ve(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.decode_xocn_rgba(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ke(r,e,n,o){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=S(r,t.__wbindgen_export4),b=p;t.encode_dci_j2c(g,u,b,e,n,o);var a=_().getInt32(g+0,!0),c=_().getInt32(g+4,!0),i=_().getInt32(g+8,!0),s=_().getInt32(g+12,!0);if(s)throw w(i);var d=f(a,c).slice();return t.__wbindgen_export3(a,c*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Xe(r,e,n,o,a,c){try{let b=t.__wbindgen_add_to_stack_pointer(-16),x=S(r,t.__wbindgen_export4),m=p,y=I(n,t.__wbindgen_export4,t.__wbindgen_export5),h=p;t.encode_dci_j2c_rgb(b,x,m,e,y,h,o,a,c);var i=_().getInt32(b+0,!0),s=_().getInt32(b+4,!0),d=_().getInt32(b+8,!0),g=_().getInt32(b+12,!0);if(g)throw w(d);var u=f(i,s).slice();return t.__wbindgen_export3(i,s*1,1),u}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ye(r,e,n,o,a){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=l(r,t.__wbindgen_export4),x=p,m=I(e,t.__wbindgen_export4,t.__wbindgen_export5),y=p;t.encode_dci_j2c_rgba8(u,b,x,m,y,n,o,a);var c=_().getInt32(u+0,!0),i=_().getInt32(u+4,!0),s=_().getInt32(u+8,!0),d=_().getInt32(u+12,!0);if(d)throw w(s);var g=f(c,i).slice();return t.__wbindgen_export3(c,i*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function $e(r,e,n,o,a){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=I(o,t.__wbindgen_export4,t.__wbindgen_export5),x=p;t.encode_dci_j2c_staged(u,r,e,n,b,x,a);var c=_().getInt32(u+0,!0),i=_().getInt32(u+4,!0),s=_().getInt32(u+8,!0),d=_().getInt32(u+12,!0);if(d)throw w(s);var g=f(c,i).slice();return t.__wbindgen_export3(c,i*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Je(r,e,n,o,a){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=I(o,t.__wbindgen_export4,t.__wbindgen_export5),x=p;t.encode_dci_j2c_staged_modelled(u,r,e,n,b,x,a);var c=_().getInt32(u+0,!0),i=_().getInt32(u+4,!0),s=_().getInt32(u+8,!0),d=_().getInt32(u+12,!0);if(d)throw w(s);var g=f(c,i).slice();return t.__wbindgen_export3(c,i*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Qe(r,e,n,o,a,c,i,s,d,g,u,b,x,m,y){try{let T=t.__wbindgen_add_to_stack_pointer(-16),W=gt(r,t.__wbindgen_export4),L=p,D=I(a,t.__wbindgen_export4,t.__wbindgen_export5),U=p,C=I(c,t.__wbindgen_export4,t.__wbindgen_export5),q=p,ot=I(i,t.__wbindgen_export4,t.__wbindgen_export5),it=p,at=I(x,t.__wbindgen_export4,t.__wbindgen_export5),ct=p;t.encode_exr(T,W,L,e,n,o,D,U,C,q,ot,it,s,d,g,u,b,at,ct,m,y);var h=_().getInt32(T+0,!0),A=_().getInt32(T+4,!0),M=_().getInt32(T+8,!0),O=_().getInt32(T+12,!0);if(O)throw w(M);var F=f(h,A).slice();return t.__wbindgen_export3(h,A*1,1),F}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ze(r,e,n,o,a){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=l(r,t.__wbindgen_export4),x=p;t.encode_prores_4444_alpha_mov_rgba(u,b,x,e,n,o,a);var c=_().getInt32(u+0,!0),i=_().getInt32(u+4,!0),s=_().getInt32(u+8,!0),d=_().getInt32(u+12,!0);if(d)throw w(s);var g=f(c,i).slice();return t.__wbindgen_export3(c,i*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function tn(r,e,n,o){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.encode_prores_4444_alpha_sample_q(g,u,b,e,n,o);var a=_().getInt32(g+0,!0),c=_().getInt32(g+4,!0),i=_().getInt32(g+8,!0),s=_().getInt32(g+12,!0);if(s)throw w(i);var d=f(a,c).slice();return t.__wbindgen_export3(a,c*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function en(r,e,n,o){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.encode_prores_444_sample_cbr(g,u,b,e,n,o);var a=_().getInt32(g+0,!0),c=_().getInt32(g+4,!0),i=_().getInt32(g+8,!0),s=_().getInt32(g+12,!0);if(s)throw w(i);var d=f(a,c).slice();return t.__wbindgen_export3(a,c*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function nn(r,e,n,o){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=S(r,t.__wbindgen_export4),b=p;t.encode_prores_444_sample_cbr_rgb16(g,u,b,e,n,o);var a=_().getInt32(g+0,!0),c=_().getInt32(g+4,!0),i=_().getInt32(g+8,!0),s=_().getInt32(g+12,!0);if(s)throw w(i);var d=f(a,c).slice();return t.__wbindgen_export3(a,c*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function rn(r,e,n,o,a){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=S(r,t.__wbindgen_export4),x=p,m=S(a,t.__wbindgen_export4),y=p;t.encode_prores_444_sample_cbr_rgb16_lut(u,b,x,e,n,o,m,y);var c=_().getInt32(u+0,!0),i=_().getInt32(u+4,!0),s=_().getInt32(u+8,!0),d=_().getInt32(u+12,!0);if(d)throw w(s);var g=f(c,i).slice();return t.__wbindgen_export3(c,i*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function _n(r,e,n,o,a){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=l(r,t.__wbindgen_export4),x=p;t.encode_prores_mov_rgba(u,b,x,e,n,o,a);var c=_().getInt32(u+0,!0),i=_().getInt32(u+4,!0),s=_().getInt32(u+8,!0),d=_().getInt32(u+12,!0);if(d)throw w(s);var g=f(c,i).slice();return t.__wbindgen_export3(c,i*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function on(r,e,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p;t.encode_prores_rgba(d,g,u,e,n);var o=_().getInt32(d+0,!0),a=_().getInt32(d+4,!0),c=_().getInt32(d+8,!0),i=_().getInt32(d+12,!0);if(i)throw w(c);var s=f(o,a).slice();return t.__wbindgen_export3(o,a*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function an(r,e,n,o){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.encode_prores_sample_cbr(g,u,b,e,n,o);var a=_().getInt32(g+0,!0),c=_().getInt32(g+4,!0),i=_().getInt32(g+8,!0),s=_().getInt32(g+12,!0);if(s)throw w(i);var d=f(a,c).slice();return t.__wbindgen_export3(a,c*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function cn(r,e,n,o){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=S(r,t.__wbindgen_export4),b=p;t.encode_prores_sample_cbr_rgb16(g,u,b,e,n,o);var a=_().getInt32(g+0,!0),c=_().getInt32(g+4,!0),i=_().getInt32(g+8,!0),s=_().getInt32(g+12,!0);if(s)throw w(i);var d=f(a,c).slice();return t.__wbindgen_export3(a,c*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function sn(r,e,n,o,a){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=S(r,t.__wbindgen_export4),x=p,m=S(a,t.__wbindgen_export4),y=p;t.encode_prores_sample_cbr_rgb16_lut(u,b,x,e,n,o,m,y);var c=_().getInt32(u+0,!0),i=_().getInt32(u+4,!0),s=_().getInt32(u+8,!0),d=_().getInt32(u+12,!0);if(d)throw w(s);var g=f(c,i).slice();return t.__wbindgen_export3(c,i*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function dn(r,e,n,o){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.encode_prores_sample_q(g,u,b,e,n,o);var a=_().getInt32(g+0,!0),c=_().getInt32(g+4,!0),i=_().getInt32(g+8,!0),s=_().getInt32(g+12,!0);if(s)throw w(i);var d=f(a,c).slice();return t.__wbindgen_export3(a,c*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function pn(r,e,n,o){let a,c;try{let x=t.__wbindgen_add_to_stack_pointer(-16),m=I(r,t.__wbindgen_export4,t.__wbindgen_export5),y=p;t.exr_sequence_filename(x,m,y,e,n,o);var i=_().getInt32(x+0,!0),s=_().getInt32(x+4,!0),d=_().getInt32(x+8,!0),g=_().getInt32(x+12,!0),u=i,b=s;if(g)throw u=0,b=0,w(d);return a=u,c=b,E(u,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(a,c,1)}}function gn(r){let e,n;try{let c=t.__wbindgen_add_to_stack_pointer(-16),i=l(r,t.__wbindgen_export4),s=p;t.inspect_cr3(c,i,s);var o=_().getInt32(c+0,!0),a=_().getInt32(c+4,!0);return e=o,n=a,E(o,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function un(r){let e,n;try{let c=t.__wbindgen_add_to_stack_pointer(-16),i=l(r,t.__wbindgen_export4),s=p;t.inspect_dng(c,i,s);var o=_().getInt32(c+0,!0),a=_().getInt32(c+4,!0);return e=o,n=a,E(o,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function wn(r){let e,n;try{let c=t.__wbindgen_add_to_stack_pointer(-16),i=l(r,t.__wbindgen_export4),s=p;t.inspect_dpx(c,i,s);var o=_().getInt32(c+0,!0),a=_().getInt32(c+4,!0);return e=o,n=a,E(o,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function bn(r){let e,n;try{let c=t.__wbindgen_add_to_stack_pointer(-16),i=l(r,t.__wbindgen_export4),s=p;t.inspect_exr(c,i,s);var o=_().getInt32(c+0,!0),a=_().getInt32(c+4,!0);return e=o,n=a,E(o,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function ln(r,e,n){let o=I(n,t.__wbindgen_export4,t.__wbindgen_export5),a=p,c=t.inspect_isobmff(v(r),e,o,a);return w(c)}function fn(r){let e,n;try{let c=t.__wbindgen_add_to_stack_pointer(-16),i=l(r,t.__wbindgen_export4),s=p;t.inspect_tiff(c,i,s);var o=_().getInt32(c+0,!0),a=_().getInt32(c+4,!0);return e=o,n=a,E(o,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function vn(r,e){let n=t.inspect_wav(v(r),e);return w(n)}function xn(r,e){let n=t.is_arriraw12_mxf(v(r),e);return w(n)}function In(r,e){let n=t.is_arriraw_mxf(v(r),e);return w(n)}function yn(r,e){let n=t.is_crm(v(r),e);return w(n)}function mn(r,e){let n=t.is_prores_mxf(v(r),e);return w(n)}function hn(r,e){let n=t.is_vc3_mxf(v(r),e);return w(n)}function kn(r,e){let n=t.is_xavc_mxf(v(r),e);return w(n)}function An(r,e){let n=t.is_xocn_mxf(v(r),e);return w(n)}function Mn(r,e,n){let o=I(n,t.__wbindgen_export4,t.__wbindgen_export5),a=p,c=t.list_isobmff_segments(v(r),e,o,a);return w(c)}function En(r,e){let n=t.list_mxf_segments(v(r),e);return w(n)}function Tn(r,e){let n=I(e,t.__wbindgen_export4,t.__wbindgen_export5),o=p,a=t.list_r3d_frames(v(r),n,o);return w(a)}function On(r,e){let n=I(e,t.__wbindgen_export4,t.__wbindgen_export5),o=p,a=t.list_r3d_segments(v(r),n,o);return w(a)}function Fn(r,e){let n=t.list_wav_segments(v(r),e);return w(n)}function Wn(r,e,n,o,a,c){try{let b=t.__wbindgen_add_to_stack_pointer(-16),x=l(r,t.__wbindgen_export4),m=p,y=R(e,t.__wbindgen_export4),h=p;t.mux_prores_4444_alpha_samples(b,x,m,y,h,n,o,a,c);var i=_().getInt32(b+0,!0),s=_().getInt32(b+4,!0),d=_().getInt32(b+8,!0),g=_().getInt32(b+12,!0);if(g)throw w(d);var u=f(i,s).slice();return t.__wbindgen_export3(i,s*1,1),u}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Sn(r,e,n,o,a,c){try{let b=t.__wbindgen_add_to_stack_pointer(-16),x=l(r,t.__wbindgen_export4),m=p,y=R(e,t.__wbindgen_export4),h=p;t.mux_prores_samples(b,x,m,y,h,n,o,a,c);var i=_().getInt32(b+0,!0),s=_().getInt32(b+4,!0),d=_().getInt32(b+8,!0),g=_().getInt32(b+12,!0);if(g)throw w(d);var u=f(i,s).slice();return t.__wbindgen_export3(i,s*1,1),u}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Rn(r,e,n,o,a,c,i,s,d,g,u,b){try{let M=t.__wbindgen_add_to_stack_pointer(-16),O=l(r,t.__wbindgen_export4),F=p,T=R(e,t.__wbindgen_export4),W=p,L=I(i,t.__wbindgen_export4,t.__wbindgen_export5),D=p;t.mux_prores_samples_full(M,O,F,T,W,n,o,a,c,L,D,s,d,g,u,b);var x=_().getInt32(M+0,!0),m=_().getInt32(M+4,!0),y=_().getInt32(M+8,!0),h=_().getInt32(M+12,!0);if(h)throw w(y);var A=f(x,m).slice();return t.__wbindgen_export3(x,m*1,1),A}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ln(r,e,n,o){let a=t.mxf_au_run(v(r),e,n,o);return w(a)}function Dn(r,e){let n=t.mxf_frame_index(v(r),e);return w(n)}function zn(r,e){let n=t.mxf_gop_map(v(r),e);return w(n)}function Un(r,e){let n=t.mxf_h264_kind(v(r),e);return w(n)}function jn(r,e){let n,o;try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=l(r,t.__wbindgen_export4),x=p,m=I(e,t.__wbindgen_export4,t.__wbindgen_export5),y=p;t.plan_isobmff_trim(u,b,x,m,y);var a=_().getInt32(u+0,!0),c=_().getInt32(u+4,!0),i=_().getInt32(u+8,!0),s=_().getInt32(u+12,!0),d=a,g=c;if(s)throw d=0,g=0,w(i);return n=d,o=g,E(d,g)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(n,o,1)}}function Bn(r,e,n,o,a){let c=I(a,t.__wbindgen_export4,t.__wbindgen_export5),i=p,s=t.plan_isobmff_trim_reader(v(r),e,n,o,c,i);return w(s)}function Pn(r){let e,n;try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=I(r,t.__wbindgen_export4,t.__wbindgen_export5),b=p;t.plan_mxf_compact_trim(g,u,b);var o=_().getInt32(g+0,!0),a=_().getInt32(g+4,!0),c=_().getInt32(g+8,!0),i=_().getInt32(g+12,!0),s=o,d=a;if(i)throw s=0,d=0,w(c);return e=s,n=d,E(s,d)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Cn(r,e,n,o){let a=t.plan_mxf_trim(v(r),e,n,o);return w(a)}function qn(r,e,n,o,a,c,i,s){let d,g;try{let x=t.__wbindgen_add_to_stack_pointer(-16),m=l(r,t.__wbindgen_export4),y=p,h=l(e,t.__wbindgen_export4),A=p,M=l(n,t.__wbindgen_export4),O=p,F=l(o,t.__wbindgen_export4),T=p,W=Y(a,t.__wbindgen_export4),L=p,D=Y(c,t.__wbindgen_export4),U=p,C=Y(i,t.__wbindgen_export4),q=p;t.plan_r3d_compact(x,m,y,h,A,M,O,F,T,W,L,D,U,C,q,s);var u=_().getInt32(x+0,!0),b=_().getInt32(x+4,!0);return d=u,g=b,E(u,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(d,g,1)}}function Nn(r,e,n,o){let a,c;try{let x=t.__wbindgen_add_to_stack_pointer(-16),m=l(r,t.__wbindgen_export4),y=p;t.plan_wav_trim(x,m,y,e,n,o);var i=_().getInt32(x+0,!0),s=_().getInt32(x+4,!0),d=_().getInt32(x+8,!0),g=_().getInt32(x+12,!0),u=i,b=s;if(g)throw u=0,b=0,w(d);return a=u,c=b,E(u,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(a,c,1)}}function Hn(r,e,n,o,a){let c=t.plan_wav_trim_reader(v(r),e,n,o,a);return w(c)}function Gn(r,e,n,o){let a=I(n,t.__wbindgen_export4,t.__wbindgen_export5),c=p,i=I(o,t.__wbindgen_export4,t.__wbindgen_export5),s=p,d=t.prepare_isobmff(v(r),e,a,c,i,s);return w(d)}function Vn(r,e,n){let o=I(n,t.__wbindgen_export4,t.__wbindgen_export5),a=p,c=t.prepare_mxf(v(r),e,o,a);return w(c)}function Kn(r,e,n){let o=I(e,t.__wbindgen_export4,t.__wbindgen_export5),a=p,c=I(n,t.__wbindgen_export4,t.__wbindgen_export5),i=p,s=t.prepare_r3d(v(r),o,a,c,i);return w(s)}function Xn(r,e,n,o){let a=I(n,t.__wbindgen_export4,t.__wbindgen_export5),c=p,i=t.prepare_wav(v(r),e,a,c,o);return w(i)}function Yn(r){let e,n;try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.probe_mov(g,u,b);var o=_().getInt32(g+0,!0),a=_().getInt32(g+4,!0),c=_().getInt32(g+8,!0),i=_().getInt32(g+12,!0),s=o,d=a;if(i)throw s=0,d=0,w(c);return e=s,n=d,E(s,d)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function $n(r,e){let n=t.probe_mxf(v(r),e);return w(n)}function Jn(r,e){let n=I(e,t.__wbindgen_export4,t.__wbindgen_export5),o=p,a=t.probe_r3d(v(r),n,o);return w(a)}function Qn(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.prores_band_info(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=_t(e,n).slice();return t.__wbindgen_export3(e,n*4,4),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Zn(){t.prores_reset_rate_control()}function tr(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),c=l(r,t.__wbindgen_export4),i=p;t.r3d_gpu_develop_params(a,c,i);var e=_().getInt32(a+0,!0),n=_().getInt32(a+4,!0),o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}function er(r){let e=l(r,t.__wbindgen_export4),n=p;return t.r3d_is_helium(e,n)!==0}function nr(r){let e,n;try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.read_arriraw_fcs(g,u,b);var o=_().getInt32(g+0,!0),a=_().getInt32(g+4,!0),c=_().getInt32(g+8,!0),i=_().getInt32(g+12,!0),s=o,d=a;if(i)throw s=0,d=0,w(c);return e=s,n=d,E(s,d)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function rr(r,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),i=l(r,t.__wbindgen_export4),s=p;t.read_arriraw_unit_correction(c,i,s,e);var n=_().getInt32(c+0,!0),o=_().getInt32(c+4,!0),a=vr(n,o).slice();return t.__wbindgen_export3(n,o*8,8),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function _r(r,e,n,o,a,c,i){let s,d;try{let h=t.__wbindgen_add_to_stack_pointer(-16),A=l(r,t.__wbindgen_export4),M=p,O=l(o,t.__wbindgen_export4),F=p,T=I(i,t.__wbindgen_export4,t.__wbindgen_export5),W=p;t.recover_reframe(h,A,M,e,n,O,F,a,c,T,W);var g=_().getInt32(h+0,!0),u=_().getInt32(h+4,!0),b=_().getInt32(h+8,!0),x=_().getInt32(h+12,!0),m=g,y=u;if(x)throw m=0,y=0,w(b);return s=m,d=y,E(m,y)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(s,d,1)}}function or(r,e,n,o,a,c){try{let b=t.__wbindgen_add_to_stack_pointer(-16),x=S(r,t.__wbindgen_export4),m=p,y=I(c,t.__wbindgen_export4,t.__wbindgen_export5),h=p;t.resample_rgba16(b,x,m,e,n,o,a,y,h);var i=_().getInt32(b+0,!0),s=_().getInt32(b+4,!0),d=_().getInt32(b+8,!0),g=_().getInt32(b+12,!0);if(g)throw w(d);var u=pt(i,s).slice();return t.__wbindgen_export3(i,s*2,2),u}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ir(r,e,n,o,a,c){try{let b=t.__wbindgen_add_to_stack_pointer(-16),x=l(r,t.__wbindgen_export4),m=p,y=I(c,t.__wbindgen_export4,t.__wbindgen_export5),h=p;t.resample_rgba8(b,x,m,e,n,o,a,y,h);var i=_().getInt32(b+0,!0),s=_().getInt32(b+4,!0),d=_().getInt32(b+8,!0),g=_().getInt32(b+12,!0);if(g)throw w(d);var u=f(i,s).slice();return t.__wbindgen_export3(i,s*1,1),u}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ar(){t.reset_dci_rate_state()}function cr(r,e,n,o,a){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=l(r,t.__wbindgen_export4),x=p,m=I(a,t.__wbindgen_export4,t.__wbindgen_export5),y=p;t.rgba8_to_xyz12(u,b,x,e,n,o,m,y);var c=_().getInt32(u+0,!0),i=_().getInt32(u+4,!0),s=_().getInt32(u+8,!0),d=_().getInt32(u+12,!0);if(d)throw w(s);var g=pt(c,i).slice();return t.__wbindgen_export3(c,i*2,2),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function sr(r,e,n,o){let a=I(e,t.__wbindgen_export4,t.__wbindgen_export5),c=p,i=I(n,t.__wbindgen_export4,t.__wbindgen_export5),s=p,d=I(o,t.__wbindgen_export4,t.__wbindgen_export5),g=p,u=t.trim_r3d(v(r),a,c,i,s,d,g);return w(u)}function dr(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),d=p;t.vc3_band_info(i,s,d);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=_t(e,n).slice();return t.__wbindgen_export3(e,n*4,4),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function pr(r,e,n){let o=I(n,t.__wbindgen_export4,t.__wbindgen_export5),a=p,c=t.video_frame_index_isobmff_reader(v(r),e,o,a);return w(c)}function gr(r,e,n){let o=t.xavc_au(v(r),e,n);return w(o)}function ur(r,e){let n=t.xavc_frame_count(v(r),e);return w(n)}function wr(r,e){let n=t.xocn_frame_count(v(r),e);return w(n)}function It(){return{__proto__:null,"./media_core_bg.js":{__proto__:null,__wbg___wbindgen_is_function_acc5528be2b923f2:function(e){return typeof k(e)=="function"},__wbg___wbindgen_is_undefined_721f8decd50c87a3:function(e){return k(e)===void 0},__wbg___wbindgen_throw_ea4887a5f8f9a9db:function(e,n){throw new Error(E(e,n))},__wbg__wbg_cb_unref_33c39e13d73b25f6:function(e){k(e)._wbg_cb_unref()},__wbg_call_0e855b388e315e17:function(){return st(function(e,n,o,a){let c=k(e).call(k(n),k(o),k(a));return v(c)},arguments)},__wbg_call_5575218572ead796:function(){return st(function(e,n,o){let a=k(e).call(k(n),k(o));return v(a)},arguments)},__wbg_call_dd0f909cbc9405d0:function(){return st(function(e,n,o,a,c){let i=k(e).call(k(n),k(o),k(a),k(c));return v(i)},arguments)},__wbg_length_589238bdcf171f0e:function(e){return k(e).length},__wbg_new_81880fb5002cb255:function(e){let n=new Uint8Array(k(e));return v(n)},__wbg_new_typed_00a409eb4ec4f2d9:function(e,n){try{var o={a:e,b:n},a=(i,s)=>{let d=o.a;o.a=0;try{return lr(d,o.b,i,s)}finally{o.a=d}};let c=new Promise(a);return v(c)}finally{o.a=0}},__wbg_prototypesetcall_d721637c7ca66eb8:function(e,n,o){Uint8Array.prototype.set.call(f(e,n),k(o))},__wbg_queueMicrotask_1c9b3800e321a967:function(e){let n=k(e).queueMicrotask;return v(n)},__wbg_queueMicrotask_311744e534a929a3:function(e){queueMicrotask(k(e))},__wbg_resolve_d82363d90af6928a:function(e){let n=Promise.resolve(k(e));return v(n)},__wbg_static_accessor_GLOBAL_THIS_2fee5048bcca5938:function(){let e=typeof globalThis>"u"?null:globalThis;return B(e)?0:v(e)},__wbg_static_accessor_GLOBAL_ce44e66a4935da8c:function(){let e=typeof global>"u"?null:global;return B(e)?0:v(e)},__wbg_static_accessor_SELF_44f6e0cb5e67cdad:function(){let e=typeof self>"u"?null:self;return B(e)?0:v(e)},__wbg_static_accessor_WINDOW_168f178805d978fe:function(){let e=typeof window>"u"?null:window;return B(e)?0:v(e)},__wbg_then_05edfc8a4fea5106:function(e,n,o){let a=k(e).then(k(n),k(o));return v(a)},__wbg_then_591b6b3a75ee817a:function(e,n){let o=k(e).then(k(n));return v(o)},__wbindgen_cast_0000000000000001:function(e,n){let o=Ir(e,n,br);return v(o)},__wbindgen_cast_0000000000000002:function(e){return v(e)},__wbindgen_cast_0000000000000003:function(e,n){let o=f(e,n);return v(o)},__wbindgen_cast_0000000000000004:function(e,n){let o=E(e,n);return v(o)},__wbindgen_cast_0000000000000005:function(e,n){var o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),v(o)},__wbindgen_object_clone_ref:function(e){let n=k(e);return v(n)},__wbindgen_object_drop_ref:function(e){w(e)}}}}function br(r,e,n){try{let c=t.__wbindgen_add_to_stack_pointer(-16);t.__wasm_bindgen_func_elem_1714(c,r,e,v(n));var o=_().getInt32(c+0,!0),a=_().getInt32(c+4,!0);if(a)throw w(o)}finally{t.__wbindgen_add_to_stack_pointer(16)}}function lr(r,e,n,o){t.__wasm_bindgen_func_elem_1729(r,e,v(n),v(o))}var wt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(r=>t.__wbg_exrbench_free(r,1)),bt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(r=>t.__wbg_exrstreamencoder_free(r,1)),lt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(r=>t.__wbg_proresbench_free(r,1)),ft=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(r=>t.__wbg_proresmovencoder_free(r,1)),vt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(r=>t.__wbg_proresmovwriter_free(r,1));function v(r){X===z.length&&z.push(z.length+1);let e=X;return X=z[e],z[e]=r,e}var xt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(r=>t.__wbindgen_export2(r.a,r.b));function fr(r){r<1028||(z[r]=X,X=r)}function vr(r,e){return r=r>>>0,yt().subarray(r/8,r/8+e)}function pt(r,e){return r=r>>>0,mt().subarray(r/2,r/2+e)}function _t(r,e){return r=r>>>0,ht().subarray(r/4,r/4+e)}function f(r,e){return r=r>>>0,P().subarray(r/1,r/1+e)}var j=null;function _(){return(j===null||j.buffer.detached===!0||j.buffer.detached===void 0&&j.buffer!==t.memory.buffer)&&(j=new DataView(t.memory.buffer)),j}var N=null;function xr(){return(N===null||N.byteLength===0)&&(N=new Float32Array(t.memory.buffer)),N}var H=null;function yt(){return(H===null||H.byteLength===0)&&(H=new Float64Array(t.memory.buffer)),H}function E(r,e){return mr(r>>>0,e)}var G=null;function mt(){return(G===null||G.byteLength===0)&&(G=new Uint16Array(t.memory.buffer)),G}var V=null;function ht(){return(V===null||V.byteLength===0)&&(V=new Uint32Array(t.memory.buffer)),V}var K=null;function P(){return(K===null||K.byteLength===0)&&(K=new Uint8Array(t.memory.buffer)),K}function k(r){return z[r]}function st(r,e){try{return r.apply(this,e)}catch(n){t.__wbindgen_export(v(n))}}var z=new Array(1024).fill(void 0);z.push(void 0,null,!0,!1);var X=z.length;function B(r){return r==null}function Ir(r,e,n){let o={a:r,b:e,cnt:1},a=(...c)=>{o.cnt++;let i=o.a;o.a=0;try{return n(i,o.b,...c)}finally{o.a=i,a._wbg_cb_unref()}};return a._wbg_cb_unref=()=>{--o.cnt===0&&(t.__wbindgen_export2(o.a,o.b),o.a=0,xt.unregister(o))},xt.register(a,o,o),a}function S(r,e){let n=e(r.length*2,2)>>>0;return mt().set(r,n/2),p=r.length,n}function R(r,e){let n=e(r.length*4,4)>>>0;return ht().set(r,n/4),p=r.length,n}function l(r,e){let n=e(r.length*1,1)>>>0;return P().set(r,n/1),p=r.length,n}function gt(r,e){let n=e(r.length*4,4)>>>0;return xr().set(r,n/4),p=r.length,n}function Y(r,e){let n=e(r.length*8,8)>>>0;return yt().set(r,n/8),p=r.length,n}function I(r,e,n){if(n===void 0){let s=$.encode(r),d=e(s.length,1)>>>0;return P().subarray(d,d+s.length).set(s),p=s.length,d}let o=r.length,a=e(o,1)>>>0,c=P(),i=0;for(;i<o;i++){let s=r.charCodeAt(i);if(s>127)break;c[a+i]=s}if(i!==o){i!==0&&(r=r.slice(i)),a=n(a,o,o=i+r.length*3,1)>>>0;let s=P().subarray(a+i,a+o),d=$.encodeInto(r,s);i+=d.written,a=n(a,o,i,1)>>>0}return p=i,a}function w(r){let e=k(r);return fr(r),e}var rt=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});rt.decode();var yr=2146435072,dt=0;function mr(r,e){return dt+=e,dt>=yr&&(rt=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),rt.decode(),dt=e),rt.decode(P().subarray(r,r+e))}var $=new TextEncoder;"encodeInto"in $||($.encodeInto=function(r,e){let n=$.encode(r);return e.set(n),{read:r.length,written:n.length}});var p=0,hr,kr,t;function kt(r,e){return kr=r,t=r.exports,hr=e,j=null,N=null,H=null,G=null,V=null,K=null,t}async function Ar(r,e){if(typeof Response=="function"&&r instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(r,e)}catch(a){if(r.ok&&n(r.type)&&r.headers.get("Content-Type")!=="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",a);else throw a}let o=await r.arrayBuffer();return await WebAssembly.instantiate(o,e)}else{let o=await WebAssembly.instantiate(r,e);return o instanceof WebAssembly.Instance?{instance:o,module:r}:o}function n(o){switch(o){case"basic":case"cors":case"default":return!0}return!1}}function Mr(r){if(t!==void 0)return t;r!==void 0&&(Object.getPrototypeOf(r)===Object.prototype?{module:r}=r:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));let e=It();r instanceof WebAssembly.Module||(r=new WebAssembly.Module(r));let n=new WebAssembly.Instance(r,e);return kt(n,r)}async function nt(r){if(t!==void 0)return t;r!==void 0&&(Object.getPrototypeOf(r)===Object.prototype?{module_or_path:r}=r:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),r===void 0&&(r=new URL("media_core_bg.wasm",import.meta.url));let e=It();(typeof r=="string"||typeof Request=="function"&&r instanceof Request||typeof URL=="function"&&r instanceof URL)&&(r=fetch(r));let{instance:n,module:o}=await Ar(await r,e);return kt(n,o)}var Or=import.meta.env?.MODE==="development"?["conform.tools","localhost"]:["conform.tools"];var ut=null,Er=!1;function Tr(r){return ut||(ut=(async()=>{if(r!==void 0)return nt(r);if(typeof process<"u"&&process.versions?.node){let n="node:fs/promises",{readFile:o}=await import(n),a=await o(new URL("./wasm/media_core_bg.wasm",import.meta.url));return nt({module_or_path:a})}let{default:e}=await import("./media_core_bg-XIM7Y4R3.js");return nt({module_or_path:e})})().then(e=>(Er=!0,e))),ut}function Lr(){return Tr()}export{Ft as a,Rt as b,Kt as c,$t as d,Jt as e,Zt as f,re as g,_e as h,oe as i,ie as j,ae as k,ce as l,se as m,pe as n,ue as o,le as p,ve as q,xe as r,Ie as s,ye as t,me as u,he as v,Ae as w,Me as x,Ee as y,Te as z,Oe as A,Fe as B,We as C,Se as D,Le as E,ze as F,je as G,Be as H,Pe as I,Ce as J,qe as K,Ne as L,He as M,gn as N,un as O,wn as P,bn as Q,ln as R,fn as S,vn as T,xn as U,In as V,mn as W,hn as X,An as Y,Mn as Z,En as _,Tn as $,On as aa,Fn as ba,Ln as ca,Dn as da,zn as ea,Bn as fa,Cn as ga,Hn as ha,Gn as ia,Vn as ja,Xn as ka,$n as la,Jn as ma,tr as na,er as oa,_r as pa,sr as qa,pr as ra,At as sa,Tr as ta,Lr as ua};
|