Private
Public Access
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f6efd9864 | ||
|
|
c3040680a0 |
No files matched your search
@@ -1,15 +1,15 @@
|
|||||||
{
|
{
|
||||||
"id": "org.webosbrew.histogramhyperion",
|
"id": "org.webosbrew.histogramhyperion",
|
||||||
"version": "0.13.0",
|
"version": "0.13.2",
|
||||||
"type": "web",
|
"type": "web",
|
||||||
"title": "HyperDRM",
|
"title": "HyperDRM",
|
||||||
"appDescription": "Ambient lighting for webOS, Hyperion and HyperHDR",
|
"appDescription": "Ambient lighting for webOS, Hyperion and HyperHDR",
|
||||||
"iconUri": "https://gitea.adnau.de/matze19999/HyperDRM/raw/branch/main/app/icon.png",
|
"iconUri": "https://gitea.adnau.de/matze19999/HyperDRM/raw/branch/main/app/icon.png",
|
||||||
"sourceUrl": "https://gitea.adnau.de/matze19999/HyperDRM",
|
"sourceUrl": "https://gitea.adnau.de/matze19999/HyperDRM",
|
||||||
"rootRequired": true,
|
"rootRequired": true,
|
||||||
"ipkUrl": "https://gitea.adnau.de/matze19999/HyperDRM/raw/branch/main/HyperDRM_0.13.0_arm.ipk",
|
"ipkUrl": "https://gitea.adnau.de/matze19999/HyperDRM/raw/branch/main/HyperDRM_0.13.2_arm.ipk",
|
||||||
"ipkHash": {
|
"ipkHash": {
|
||||||
"sha256": "a7ab184db8c948ceb4657f093c2cf10c13df3565ff9ed4d8482dcf2d59896a0a"
|
"sha256": "d83eed088b5a1cc8a90d96bc781359db219aa50f51218e3ae3c2ef52510f6ed7"
|
||||||
},
|
},
|
||||||
"ipkSize": 1207634
|
"ipkSize": 1207844
|
||||||
}
|
}
|
||||||
Binary file not shown.
@@ -27,7 +27,7 @@ Only the own service is modified. Optional Auto PicCap can configure its receive
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
The current package is [HyperDRM_0.13.0_arm.ipk](HyperDRM_0.13.0_arm.ipk). Install it using the TV's webOS/Homebrew package installation workflow.
|
The current package is [HyperDRM_0.13.2_arm.ipk](HyperDRM_0.13.2_arm.ipk). Install it using the TV's webOS/Homebrew package installation workflow.
|
||||||
|
|
||||||
Elevate the installed own service through Homebrew Channel:
|
Elevate the installed own service through Homebrew Channel:
|
||||||
|
|
||||||
@@ -233,3 +233,5 @@ and briefly interrupts ambient lighting; it never runs automatically.
|
|||||||
`python release.py --sanitizers` additionally checks protocol, atomic-file,
|
`python release.py --sanitizers` additionally checks protocol, atomic-file,
|
||||||
receiver-output and simulated service-lifecycle tests with ASan/UBSan. These host
|
receiver-output and simulated service-lifecycle tests with ASan/UBSan. These host
|
||||||
tests do not replace real LG capture and remote-control validation on a TV.
|
tests do not replace real LG capture and remote-control validation on a TV.
|
||||||
|
|
||||||
|
Histogram near-black handling suppresses colors with a maximum RGB channel of 16 or less, gradually restores brightness between 16 and 32, and preserves brighter colors. This applies only to histogram output; PicCap, receiver calibration and raw calibration samples are unchanged.
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"id": "org.webosbrew.histogramhyperion",
|
"id": "org.webosbrew.histogramhyperion",
|
||||||
"version": "0.13.0",
|
"version": "0.13.2",
|
||||||
"vendor": "Local development",
|
"vendor": "Local development",
|
||||||
"type": "web",
|
"type": "web",
|
||||||
"main": "index.html",
|
"main": "index.html",
|
||||||
|
|||||||
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
var HYPERDRM_APP_VERSION = '0.13.0';
|
var HYPERDRM_APP_VERSION = '0.13.2';
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# HyperDRM 0.13.1
|
||||||
|
|
||||||
|
Suppress near-black histogram residuals that can appear green on SK6812 LEDs. Colors whose maximum channel is at most 12 become black; values between 12 and 24 fade in proportionally; brighter colors retain their original values. Raw histogram diagnostics and calibration samples remain available unchanged. PicCap frames are not filtered.
|
||||||
|
|
||||||
|
Validation: regression tests cover black, the measured green residual, transition values and unchanged brighter colors. The release workflow runs the existing native and UI suites and verifies the packaged version and checksum.
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# HyperDRM 0.13.2
|
||||||
|
|
||||||
|
Raise the histogram black cutoff to 16 and extend the proportional transition to 32. Live measurements showed raw [13,14,7] causing residual [1,1,0] to [2,2,1] at the bottom-right LEDs with the previous cutoff. Regression coverage now includes this sample. Brighter colors, PicCap and saved settings remain unchanged; very dark detail is suppressed more strongly.
|
||||||
@@ -153,11 +153,14 @@ static int tick(void *unused) {
|
|||||||
}
|
}
|
||||||
for (int c = 0; c < 3; c++)
|
for (int c = 0; c < 3; c++)
|
||||||
capture_ctx.sent_rgb[c] = (unsigned char)(aggregate[c] / 16);
|
capture_ctx.sent_rgb[c] = (unsigned char)(aggregate[c] / 16);
|
||||||
|
dark_color_filter(capture_ctx.sent_rgb);
|
||||||
unsigned char boosted_mean[3];
|
unsigned char boosted_mean[3];
|
||||||
boost_color(capture_ctx.sent_rgb, boosted_mean);
|
boost_color(capture_ctx.sent_rgb, boosted_mean);
|
||||||
memcpy(capture_ctx.sent_rgb, boosted_mean, 3);
|
memcpy(capture_ctx.sent_rgb, boosted_mean, 3);
|
||||||
unsigned char mapped_rgb[16][3], stable_rgb[16][3];
|
unsigned char mapped_rgb[16][3], stable_rgb[16][3];
|
||||||
calibration_colors(capture_ctx.rgb, mapped_rgb);
|
calibration_colors(capture_ctx.rgb, mapped_rgb);
|
||||||
|
for (unsigned i = 0; i < 16; i++)
|
||||||
|
dark_color_filter(mapped_rgb[i]);
|
||||||
continuity_frame(&capture_ctx.continuity, true, mapped_rgb, now, stable_rgb);
|
continuity_frame(&capture_ctx.continuity, true, mapped_rgb, now, stable_rgb);
|
||||||
receiver_layout.interpolation = receiver_layout.count && calibration_effective() != CAL_AVERAGE;
|
receiver_layout.interpolation = receiver_layout.count && calibration_effective() != CAL_AVERAGE;
|
||||||
char *line = region_command(stable_rgb, receiver_layout.blends, receiver_layout.count, 1500);
|
char *line = region_command(stable_rgb, receiver_layout.blends, receiver_layout.count, 1500);
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
#ifndef HYPERDRM_DARK_COLOR_H
|
||||||
|
#define HYPERDRM_DARK_COLOR_H
|
||||||
|
/* Suppress near-black histogram residuals without changing channel ratios.
|
||||||
|
* Apply only to fresh histogram colors, before continuity and interpolation. */
|
||||||
|
static inline void dark_color_filter(unsigned char color[3]) {
|
||||||
|
unsigned peak = color[0];
|
||||||
|
for (unsigned c = 1; c < 3; c++)
|
||||||
|
if (color[c] > peak)
|
||||||
|
peak = color[c];
|
||||||
|
if (peak >= 32)
|
||||||
|
return;
|
||||||
|
unsigned gain = peak > 16 ? peak - 16 : 0;
|
||||||
|
for (unsigned c = 0; c < 3; c++)
|
||||||
|
color[c] = (unsigned char)((color[c] * gain + 8) / 16);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
@@ -199,6 +199,7 @@ static bool respond(void *h, void *m, const char *s) {
|
|||||||
#include "receiver_stream.h"
|
#include "receiver_stream.h"
|
||||||
#include "source_bridge.h"
|
#include "source_bridge.h"
|
||||||
#include "service_api.h"
|
#include "service_api.h"
|
||||||
|
#include "dark_color.h"
|
||||||
#include "capture_loop.h"
|
#include "capture_loop.h"
|
||||||
static void *symbol(void *lib, const char *name) {
|
static void *symbol(void *lib, const char *name) {
|
||||||
void *s = dlsym(lib, name);
|
void *s = dlsym(lib, name);
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
#include <assert.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include "dark_color.h"
|
||||||
|
int main(void) {
|
||||||
|
for (unsigned v = 0; v <= 255; v++) {
|
||||||
|
unsigned char gray[3] = {v, v, v};
|
||||||
|
dark_color_filter(gray);
|
||||||
|
unsigned expected = v <= 16 ? 0 : v >= 32 ? v : (v * (v - 16) + 8) / 16;
|
||||||
|
for (unsigned c = 0; c < 3; c++) assert(gray[c] == expected);
|
||||||
|
}
|
||||||
|
unsigned char residual[3] = {4, 8, 2};
|
||||||
|
dark_color_filter(residual);
|
||||||
|
assert(!residual[0] && !residual[1] && !residual[2]);
|
||||||
|
unsigned char measured[3] = {13, 14, 7};
|
||||||
|
dark_color_filter(measured);
|
||||||
|
assert(!measured[0] && !measured[1] && !measured[2]);
|
||||||
|
unsigned char transition[3] = {12, 24, 8};
|
||||||
|
dark_color_filter(transition);
|
||||||
|
assert(transition[0] == 6 && transition[1] == 12 && transition[2] == 4);
|
||||||
|
unsigned char saturated[3] = {0, 32, 0};
|
||||||
|
dark_color_filter(saturated);
|
||||||
|
assert(saturated[0] == 0 && saturated[1] == 32 && saturated[2] == 0);
|
||||||
|
puts("PASS: near-black suppression, gradual transition, unchanged brighter colors");
|
||||||
|
}
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
#ifndef HYPERDRM_VERSION_H
|
#ifndef HYPERDRM_VERSION_H
|
||||||
#define HYPERDRM_VERSION_H
|
#define HYPERDRM_VERSION_H
|
||||||
#define HYPERDRM_VERSION "0.13.0"
|
#define HYPERDRM_VERSION "0.13.2"
|
||||||
#endif
|
#endif
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"id": "org.webosbrew.histogramhyperion",
|
"id": "org.webosbrew.histogramhyperion",
|
||||||
"version": "0.13.0",
|
"version": "0.13.2",
|
||||||
"vendor": "Local development",
|
"vendor": "Local development",
|
||||||
"app": "org.webosbrew.histogramhyperion",
|
"app": "org.webosbrew.histogramhyperion",
|
||||||
"services": [
|
"services": [
|
||||||
|
|||||||
Binary file not shown.
Reference in new issue
Block a user