{"id":"graphics.image.processing--graphicsImageSamplingCostV1","name":"graphicsImageSamplingCostV1","owner":"yeho","package":"graphics.image.processing","kind":"thing","signature":"external thing graphicsImageSamplingCostV1","description":"A graphics image sampling cost v1 record carrying sourceTaps, transferConversions, premultiplyOperations, interpolationOperations, outputQuantizationComparisons.","context":"Transform image data through the package's explicit processing contracts.","parameters":[],"returns":"void","members":[{"name":"sourceTaps","kind":"field","type":"int","description":"Stores source taps as int.","signature":"int sourceTaps","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"transferConversions","kind":"field","type":"int","description":"Stores transfer conversions as int.","signature":"int transferConversions","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"premultiplyOperations","kind":"field","type":"int","description":"Stores premultiply operations as int.","signature":"int premultiplyOperations","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"interpolationOperations","kind":"field","type":"int","description":"Stores interpolation operations as int.","signature":"int interpolationOperations","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"outputQuantizationComparisons","kind":"field","type":"int","description":"Stores output quantization comparisons as int.","signature":"int outputQuantizationComparisons","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"graphicsImageSamplingCostV1","kind":"constructor","parameters":[{"name":"sourceTaps","type":"int","description":"Source taps."},{"name":"transferConversions","type":"int","description":"Transfer conversions."},{"name":"premultiplyOperations","type":"int","description":"Premultiply operations."},{"name":"interpolationOperations","type":"int","description":"Interpolation operations."},{"name":"outputQuantizationComparisons","type":"int","description":"Output quantization comparisons."}],"returns":"void","signature":"graphicsImageSamplingCostV1(int sourceTaps, int transferConversions, int premultiplyOperations, int interpolationOperations, int outputQuantizationComparisons)","description":"Graphics image sampling cost v1.","tags":["thing","constructor","graphics.image.processing"],"updated":"2026-09-09"},{"name":"Snapshot","kind":"method","parameters":[],"returns":"text","signature":"Snapshot() returns text","description":"Snapshot.","tags":["thing","method","graphics.image.processing"],"exampleId":"method-Snapshot-6","updated":"2026-09-09"}],"tags":["cpu","graphics","graphics.image.processing","image","method","processing","source-example","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/image/processing/filter_color_v1.yh","line":252,"sha256":"cadbb989f7058f1fad34453e9d3f8c298787936ddfdd4575067d3f3b6a8a3f92"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use graphicsImageSamplingCostV1","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using graphics.image.processing\n\n// Transform image data through the package's explicit processing contracts.\ngraphicsImageSamplingCostV1 sample = graphicsImageSamplingCostV1(1, 1, 1, 1, 1)\nConsole.Log(Text.From(sample.sourceTaps))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_image_processing__graphicsimagesamplingcostv1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"fd9d99b3e6357ed1d22564a10ca373fed3bac773e3e18e5af92da1b794ca866e","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Snapshot-6","title":"graphicsImageSamplingCostV1.Snapshot","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.image.processing\n\n// Snapshot.\ngraphicsImageSamplingCostV1 instance = graphicsImageSamplingCostV1(1, 1, 1, 1, 1)\ntext result = instance.Snapshot()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_image_processing__graphicsimagesamplingcostv1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"7baac306ee1cf8d627ced4ed4e5d958c2f2b794eb60ddb0c6e7678afec7220d1","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["sourceTaps","transferConversions","premultiplyOperations","interpolationOperations","outputQuantizationComparisons","graphicsImageSamplingCostV1","Snapshot"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.image.processing--graphicsImageSamplingCostV1","json":"https://demonhunterlabs.com/reference/items/graphics.image.processing--graphicsImageSamplingCostV1.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.image.processing--graphicsImageSamplingCostV1.md"}
