Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vanilagy/webcodecs-polyfill
/ functions
Functions
190 in github.com/Vanilagy/webcodecs-polyfill
⨍
Functions
190
◇
Types & classes
29
↓ 1 callers
Function
extractAv1CodecInfoFromPacket
( packet: Uint8Array, )
src/codec_data.ts:1259
↓ 1 callers
Function
extractAvcDecoderConfigurationRecord
(packetData: Uint8Array)
src/codec_data.ts:224
↓ 1 callers
Function
extractHevcDecoderConfigurationRecord
(packetData: Uint8Array)
src/codec_data.ts:392
↓ 1 callers
Function
extractVp9CodecInfoFromPacket
( packet: Uint8Array, )
src/codec_data.ts:1013
↓ 1 callers
Method
flushInternal
(configId: number, resolve: () => void)
src/audio_decoder.ts:291
↓ 1 callers
Method
flushInternal
(configId: number, resolve: () => void)
src/video_encoder.ts:592
↓ 1 callers
Method
flushInternal
(configId: number, resolve: () => void)
src/video_decoder.ts:342
↓ 1 callers
Method
flushInternal
(configId: number, resolve: () => void)
src/audio_encoder.ts:590
↓ 1 callers
Function
fromAudioSampleFormat
(sampleFormat: AudioSampleFormat)
src/misc.ts:312
↓ 1 callers
Function
generateAv1CodecString
(codecInfo: Av1CodecInfo)
src/codec_data.ts:1479
↓ 1 callers
Function
generateAvcCodecString
(record: AvcDecoderConfigurationRecord)
src/codec_data.ts:269
↓ 1 callers
Function
generateHevcCodecString
(record: HevcDecoderConfigurationRecord)
src/codec_data.ts:854
↓ 1 callers
Function
generateVp9CodecString
(codecInfo: Vp9CodecInfo)
src/codec_data.ts:1156
↓ 1 callers
Function
getDecentAudioBitrate
(codec: AVCodecID)
src/audio_encoder.ts:697
↓ 1 callers
Function
getDecentVideoBitrate
(codec: AVCodecID, width: number, height: number)
src/video_encoder.ts:710
↓ 1 callers
Function
getHardwareDecoderCodec
(codecId: AVCodecID)
src/misc.ts:542
↓ 1 callers
Function
getHardwareEncoderCodec
(codecId: AVCodecID)
src/misc.ts:533
↓ 1 callers
Function
getReadFunction
(format: AudioSampleFormat)
src/audio_data.ts:379
↓ 1 callers
Function
getWriteFunction
(format: AudioSampleFormat)
src/audio_data.ts:396
↓ 1 callers
Function
isRGBFormat
(format: VideoPixelFormat)
src/video_frame.ts:1293
↓ 1 callers
Function
isValidVideoFrameBufferInit
(init: VideoFrameBufferInit)
src/video_frame.ts:1129
↓ 1 callers
Method
outputChunk
(currentConfigId: number)
src/audio_encoder.ts:251
↓ 1 callers
Function
parseAacAudioSpecificConfig
(bytes: Uint8Array | null)
src/codec_data.ts:1530
↓ 1 callers
Function
parseAvcSps
(sps: Uint8Array)
src/codec_data.ts:124
↓ 1 callers
Function
parseProfileTierLevel
( bitstream: Bitstream, maxNumSubLayersMinus1: number, )
src/codec_data.ts:599
↓ 1 callers
Function
parseVuiForMinSpatialSegmentationIdc
(bitstream: Bitstream, sps_max_sub_layers_minus1: number)
src/codec_data.ts:720
↓ 1 callers
Function
promiseWithResolvers
()
src/misc.ts:347
↓ 1 callers
Function
readLeb128
()
src/codec_data.ts:1193
↓ 1 callers
Method
release
()
src/misc.ts:361
↓ 1 callers
Function
reverseBitsU32
(x: number)
src/misc.ts:515
↓ 1 callers
Function
serializeAvcDecoderConfigurationRecord
(record: AvcDecoderConfigurationRecord)
src/codec_data.ts:280
↓ 1 callers
Function
serializeHevcDecoderConfigurationRecord
(record: HevcDecoderConfigurationRecord)
src/codec_data.ts:884
↓ 1 callers
Function
skipAllStRefPicSets
(bitstream: Bitstream, num_short_term_ref_pic_sets: number)
src/codec_data.ts:664
↓ 1 callers
Function
skipHrdParameters
( bitstream: Bitstream, commonInfPresentFlag: boolean, maxNumSubLayersMinus1: number, )
src/codec_data.ts:778
↓ 1 callers
Function
skipScalingListData
(bitstream: Bitstream)
src/codec_data.ts:645
↓ 1 callers
Function
skipStRefPicSet
( bitstream: Bitstream, stRpsIdx: number, num_short_term_ref_pic_sets: number, NumDeltaPocs: number[], )
src/codec_data.ts:671
↓ 1 callers
Function
toAudioSampleFormat
(ffmpegSampleFormat: AVSampleFormat)
src/misc.ts:297
↓ 1 callers
Function
toPixelFormat
(ffmpegPixelFormat: AVPixelFormat)
src/misc.ts:231
↓ 1 callers
Function
transformAnnexBToLengthPrefixed
(packetData: Uint8Array)
src/codec_data.ts:951
Method
[Symbol.dispose]
()
src/misc.ts:392
Method
allocationSize
* Returns the number of bytes needed to hold a copy of the frame's pixel data.
src/video_frame.ts:269
Method
bottom
* The bottom edge of the rectangle.
src/dom_rect_read_only.ts:59
Method
clone
* Creates a copy of this frame.
src/video_frame.ts:430
Method
clone
* Creates a copy of this audio data.
src/audio_data.ts:299
Method
configure
* Configures the encoder with the given configuration.
src/video_encoder.ts:260
Method
configure
* Configures the decoder with the given configuration.
src/video_decoder.ts:177
Method
configure
* Configures the encoder with the given configuration.
src/audio_encoder.ts:184
Method
constructor
* Creates a new AudioDecoder.
src/audio_decoder.ts:57
Method
constructor
* Creates a new DOMRectReadOnly.
src/dom_rect_read_only.ts:35
Method
constructor
(public data: Uint8Array, public layout: ComputedPlaneLayout[])
src/video_frame.ts:42
Method
constructor
( data: CanvasImageSource | AllowSharedBufferSource | Frame, init: VideoFrameInit | VideoFrameBufferInit =
src/video_frame.ts:129
Method
constructor
* Creates a new VideoEncoder.
src/video_encoder.ts:128
Method
constructor
* Creates a new VideoColorSpace.
src/video_color_space.ts:35
Method
constructor
* Creates a new VideoDecoder.
src/video_decoder.ts:77
Method
constructor
* Creates a new AudioEncoder.
src/audio_encoder.ts:103
Method
constructor
(public bytes: Uint8Array)
src/misc.ts:412
Method
constructor
(init: AudioDataInit | Frame)
src/audio_data.ts:71
Method
constructor
* Creates a new EncodedAudioChunk.
src/encoded_audio_chunk.ts:39
Method
constructor
* Creates a new EncodedVideoChunk.
src/encoded_video_chunk.ts:39
Method
copyTo
* Copies the frame's pixel data to a destination buffer. Returns the layout of the planes in the destination * buffer.
src/video_frame.ts:290
Method
copyTo
* Copies the encoded chunk data to a destination buffer.
src/encoded_audio_chunk.ts:69
Method
copyTo
* Copies the encoded chunk data to a destination buffer.
src/encoded_video_chunk.ts:69
Method
decode
* Queues an encoded video chunk to be decoded.
src/video_decoder.ts:226
Method
decodeQueueSize
* The number of pending decode operations.
src/audio_decoder.ts:45
Method
decodeQueueSize
* The number of pending decode operations.
src/video_decoder.ts:65
Method
encode
* Queues audio data to be encoded.
src/audio_encoder.ts:234
Method
encodeQueueSize
* The number of pending encode operations.
src/video_encoder.ts:116
Method
encodeQueueSize
* The number of pending encode operations.
src/audio_encoder.ts:91
Method
flush
* Flushes all pending encode operations and waits for completion.
src/video_encoder.ts:575
Method
flush
* Flushes all pending decode operations and waits for completion.
src/video_decoder.ts:321
Method
flush
* Flushes all pending encode operations and waits for completion.
src/audio_encoder.ts:573
Method
fromRect
* Creates a DOMRectReadOnly from a DOMRectInit.
src/dom_rect_read_only.ts:73
Method
isConfigSupported
* Checks if the decoder can support the given configuration.
src/audio_decoder.ts:99
Method
isConfigSupported
* Checks if the encoder can support the given configuration.
src/video_encoder.ts:233
Method
isConfigSupported
* Checks if the decoder can support the given configuration.
src/video_decoder.ts:150
Method
isConfigSupported
* Checks if the encoder can support the given configuration.
src/audio_encoder.ts:155
Method
left
* The left edge of the rectangle.
src/dom_rect_read_only.ts:66
Method
reset
* Resets the decoder to an unconfigured state.
src/audio_decoder.ts:362
Method
reset
* Resets the encoder to an unconfigured state.
src/video_encoder.ts:664
Method
reset
* Resets the decoder to an unconfigured state.
src/video_decoder.ts:413
Method
reset
* Resets the encoder to an unconfigured state.
src/audio_encoder.ts:650
Method
right
* The right edge of the rectangle.
src/dom_rect_read_only.ts:52
Method
seekToByte
(byteOffset: number)
src/misc.ts:414
Method
state
* The current state of the decoder.
src/audio_decoder.ts:38
Method
state
* The current state of the encoder: "unconfigured", "configured", or "closed".
src/video_encoder.ts:109
Method
state
* The current state of the decode.
src/video_decoder.ts:58
Method
state
* The current state of the encoder: "unconfigured", "configured", or "closed".
src/audio_encoder.ts:84
Method
toJSON
* Serializes the rectangle to a JSON object.
src/dom_rect_read_only.ts:85
Method
toJSON
* Serializes the color space to a JSON object.
src/video_color_space.ts:45
Method
top
* The top edge of the rectangle.
src/dom_rect_read_only.ts:45
← previous
101–190 of 190, ranked by callers