blob: 85422cb7b9d2347cd965493b767b09e77ad3cc24 [file] [log] [blame]
// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//
// API docs from [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web).
// Attributions and copyright licensing by Mozilla Contributors is licensed
// under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/.
// Generated from Web IDL definitions.
// ignore_for_file: unintended_html_in_doc_comment
@JS()
library;
import 'dart:js_interop';
typedef AvcBitstreamFormat = String;
extension type AvcEncoderConfig._(JSObject _) implements JSObject {
external factory AvcEncoderConfig({AvcBitstreamFormat format});
external AvcBitstreamFormat get format;
external set format(AvcBitstreamFormat value);
}
extension type VideoEncoderEncodeOptionsForAvc._(JSObject _)
implements JSObject {
external factory VideoEncoderEncodeOptionsForAvc({int? quantizer});
external int? get quantizer;
external set quantizer(int? value);
}