Exploit database

GH-839c07bcf7b2d736ed82c382de889ad5

valencenavy/isolatedanarchy-public

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-87492

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files52Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

gen/media/mojo/mojom/video_encoder_info.mojom.m.js

JavaScript · 7,433 bytes
// media/mojo/mojom/video_encoder_info.mojom.m.js is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import {mojo} from '../../../mojo/public/js/bindings.js';

import {
  Size as gfx_mojom_Size,
  SizeSpec as gfx_mojom_SizeSpec
} from '../../../ui/gfx/geometry/mojom/geometry.mojom.m.js';

import {
  VideoPixelFormat as media_mojom_VideoPixelFormat,
  VideoPixelFormatSpec as media_mojom_VideoPixelFormatSpec
} from './media_types.mojom.m.js';



/**
 * @const { {$:!mojo.internal.MojomType}}
 */
export const ResolutionRateLimitSpec =
    { $: /** @type {!mojo.internal.MojomType} */ ({}) };

/**
 * @const { {$:!mojo.internal.MojomType}}
 */
export const VideoEncoderInfoSpec =
    { $: /** @type {!mojo.internal.MojomType} */ ({}) };




mojo.internal.Struct(
    ResolutionRateLimitSpec.$,
    'ResolutionRateLimit',
    [
      mojo.internal.StructField(
        'frameSize', 0,
        0,
        gfx_mojom_SizeSpec.$,
        null,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'minStartBitrateBps', 8,
        0,
        mojo.internal.Int32,
        0,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'minBitrateBps', 12,
        0,
        mojo.internal.Int32,
        0,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'maxBitrateBps', 16,
        0,
        mojo.internal.Int32,
        0,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'maxFramerateNumerator', 20,
        0,
        mojo.internal.Uint32,
        0,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'maxFramerateDenominator', 24,
        0,
        mojo.internal.Uint32,
        0,
        false /* nullable */,
        0,
      ),
    ],
    [[0, 40],]);



/**
 * @record
 */
export class ResolutionRateLimit {
  constructor() {
    /** @type { !gfx_mojom_Size } */
    this.frameSize;
    /** @type { !number } */
    this.minStartBitrateBps;
    /** @type { !number } */
    this.minBitrateBps;
    /** @type { !number } */
    this.maxBitrateBps;
    /** @type { !number } */
    this.maxFramerateNumerator;
    /** @type { !number } */
    this.maxFramerateDenominator;
  }
}



mojo.internal.Struct(
    VideoEncoderInfoSpec.$,
    'VideoEncoderInfo',
    [
      mojo.internal.StructField(
        'implementationName', 0,
        0,
        mojo.internal.String,
        null,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'frame_delay_$flag', 8,
        0,
        mojo.internal.Bool,
        false,
        false /* nullable */,
        0,
        {
          isPrimary: true,
          linkedValueFieldName: "frame_delay_$value",
          originalFieldName: "frameDelay",
        }
      ),
      mojo.internal.StructField(
        'frame_delay_$value', 12,
        0,
        mojo.internal.Int32,
        0,
        false /* nullable */,
        0,
        {
          isPrimary: false,
          originalFieldName: "frameDelay",
        }
      ),
      mojo.internal.StructField(
        'input_capacity_$flag', 8,
        1,
        mojo.internal.Bool,
        false,
        false /* nullable */,
        0,
        {
          isPrimary: true,
          linkedValueFieldName: "input_capacity_$value",
          originalFieldName: "inputCapacity",
        }
      ),
      mojo.internal.StructField(
        'input_capacity_$value', 16,
        0,
        mojo.internal.Int32,
        0,
        false /* nullable */,
        0,
        {
          isPrimary: false,
          originalFieldName: "inputCapacity",
        }
      ),
      mojo.internal.StructField(
        'supportsNativeHandle', 8,
        2,
        mojo.internal.Bool,
        false,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'hasTrustedRateController', 8,
        3,
        mojo.internal.Bool,
        false,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'isHardwareAccelerated', 8,
        4,
        mojo.internal.Bool,
        false,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'supportsSimulcast', 8,
        5,
        mojo.internal.Bool,
        false,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'reportsAverageQp', 8,
        6,
        mojo.internal.Bool,
        false,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'requestedResolutionAlignment', 20,
        0,
        mojo.internal.Uint32,
        0,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'applyAlignmentToAllSimulcastLayers', 8,
        7,
        mojo.internal.Bool,
        false,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'supportsFrameSizeChange', 9,
        0,
        mojo.internal.Bool,
        false,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'numberOfManualReferenceBuffers', 24,
        0,
        mojo.internal.Uint64,
        BigInt(0),
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'fpsAllocation', 32,
        0,
        mojo.internal.Array(mojo.internal.Array(mojo.internal.Uint8, false), false),
        null,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'resolutionRateLimits', 40,
        0,
        mojo.internal.Array(ResolutionRateLimitSpec.$, false),
        null,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'gpuSupportedPixelFormats', 48,
        0,
        mojo.internal.Array(media_mojom_VideoPixelFormatSpec.$, false),
        null,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'supportsGpuSharedImages', 9,
        1,
        mojo.internal.Bool,
        false,
        false /* nullable */,
        0,
      ),
    ],
    [[0, 64],]);



/**
 * @record
 */
export class VideoEncoderInfo {
  constructor() {
    /** @type { !string } */
    this.implementationName;
    /** @type { (number|undefined) } */
    this.frameDelay;
    /** @type { (number|undefined) } */
    this.inputCapacity;
    /** @type { !boolean } */
    this.supportsNativeHandle;
    /** @type { !boolean } */
    this.hasTrustedRateController;
    /** @type { !boolean } */
    this.isHardwareAccelerated;
    /** @type { !boolean } */
    this.supportsSimulcast;
    /** @type { !boolean } */
    this.reportsAverageQp;
    /** @type { !number } */
    this.requestedResolutionAlignment;
    /** @type { !boolean } */
    this.applyAlignmentToAllSimulcastLayers;
    /** @type { !boolean } */
    this.supportsFrameSizeChange;
    /** @type { !bigint } */
    this.numberOfManualReferenceBuffers;
    /** @type { !Array<!Array<!number>> } */
    this.fpsAllocation;
    /** @type { !Array<!ResolutionRateLimit> } */
    this.resolutionRateLimits;
    /** @type { !Array<!media_mojom_VideoPixelFormat> } */
    this.gpuSupportedPixelFormats;
    /** @type { !boolean } */
    this.supportsGpuSharedImages;
  }
}