Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Compound Types and Film Grain #88

Draft
wants to merge 40 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
a713c68
Update typescript to 4.2.4 to fix compiling issues
nasirhemed May 25, 2021
8175a83
Remove redundant keys in tsconfig.json
nasirhemed May 25, 2021
cdf3bd8
Add 'as any' to check if document has the attributes
nasirhemed May 25, 2021
1bad836
Add a sample decoder
nasirhemed May 25, 2021
714823f
Remove lines mozImageSmoothingEnable as it is deprecated
nasirhemed May 25, 2021
bcbc8fd
Remove casting to any and add an interface for Document
nasirhemed May 25, 2021
5bea956
Introduce to tsconfig.json as the node_modules of parent folder may …
nasirhemed May 25, 2021
ca6c82a
Add instructions to generate inspect
nasirhemed May 25, 2021
35f99c3
Add eslint to package.json and eslint configuration
nasirhemed Jun 8, 2021
45b094a
Run linting on the src files to fix linting issues
nasirhemed Jun 8, 2021
b8e9b0d
Add eslint config
nasirhemed Jun 8, 2021
e254dfb
Add prettier config
nasirhemed Jun 8, 2021
f7d07b0
Format js files using prettier
nasirhemed Jun 9, 2021
82b42ac
Update linting and prettier config to work with windows
nasirhemed Jun 9, 2021
9d2ef42
Add github actions to ensure successful builds and linting
nasirhemed Jun 9, 2021
a020e53
Remove libaom build artifacts
nasirhemed Jun 14, 2021
f05be35
Merge branch 'master' of https://github.com/nasirhemed/aomanalyzer in…
nasirhemed Jun 16, 2021
f9c331f
Resolve merge conflict
nasirhemed Jun 16, 2021
7678b8e
Add a motion mode layer to visualize the different types of motion
nasirhemed Jun 22, 2021
844686a
Refactor showMotionMode function and add a table value for motion mode
nasirhemed Jun 22, 2021
007fdcf
Add a compound layer to visualize the different types of compount types
nasirhemed Jun 22, 2021
c811fe1
Add case for COMPOUND_DISTWTD when showing compound types
nasirhemed Jun 23, 2021
8d2688a
Update color palette for compound type to display better range of colors
nasirhemed Jun 25, 2021
ed5b994
Resolve merge conflict
nasirhemed Jun 30, 2021
6689c04
Run linting on the src files to fix linting issues
nasirhemed Jun 30, 2021
d3f4294
Fix layers dropdown width
nasirhemed Jun 30, 2021
59339be
Merge branch 'add-formatting' of https://github.com/nasirhemed/aomana…
nasirhemed Jun 30, 2021
db6199d
Add wedge visualization for vertical, horizontal rectangle blocks
nasirhemed Jul 1, 2021
cceb0fb
Add color palette for wedge sign
nasirhemed Jul 5, 2021
1d989f4
Display graphs for film grain under the new graph tab
nasirhemed Jul 7, 2021
40e755a
Update color palette for compound type to display better range of colors
nasirhemed Jul 12, 2021
efa7d9c
Merge branch 'add-film' into add-visualization
nasirhemed Jul 12, 2021
6438a38
Add pie charts to display per frame histogram for different layers
nasirhemed Jul 13, 2021
6af9981
Remove line graph and refactor code
nasirhemed Jul 27, 2021
c388e83
Add film grain component to display grain data and parameters
nasirhemed Jul 27, 2021
31854be
Change grain sample to grain block
nasirhemed Jul 27, 2021
b8aed60
Add grain image to analyzer
nasirhemed Jul 31, 2021
a999d93
Remove grainAlpha and use clearRect as well as drawing over canvas
nasirhemed Aug 3, 2021
71c07ca
Add scaled grain image to the analyzer
nasirhemed Aug 9, 2021
3c0b2c4
Add more grain-related image and refactor
nasirhemed Aug 17, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
module.exports = {
parser: '@typescript-eslint/parser', // Specifies the ESLint parser
parserOptions: {
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
sourceType: 'module', // Allows for the use of imports
},
extends: [
'plugin:react/recommended', // Uses the recommended rules from @eslint-plugin-react
'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin
'plugin:prettier/recommended', // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
'prettier', // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier
],
rules: {
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
// e.g. "@typescript-eslint/explicit-function-return-type": "off",
'@typescript-eslint/no-this-alias': 0,
'react/jsx-key': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-unused-vars': 0,
'@typescript-eslint/explicit-module-boundary-types': 0,
'@typescript-eslint/ban-types': 0,
'prettier/prettier': [
'error',
{
endOfLine: 'auto',
},
],
},
settings: {
react: {
version: 'detect',
},
},
};
55 changes: 55 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Workflow to run on pull request and push to master

name: CI

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
node-version:
- 10
- 12
- 14
architecture:
- x64

name: Node ${{ matrix.node_version }} - ${{ matrix.os }}
steps:
- name: Checkout branch
uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}

- name: Install Packages
run: npm install

- name: Check linting
run: npm run check-lint

- name: It can build successfully
run: npm run build

- name: It can package into electron app
run: |
npm run package-darwin
npm run package-linux
npm run package-win32
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ AOMAnalyzer-linux-x64
AOMAnalyzer-win32-x64
*.zip
dist
\.*
release_builds
node_modules
inspect.js
Expand Down
7 changes: 7 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
semi: true,
trailingComma: "all",
singleQuote: true,
printWidth: 120,
tabWidth: 2
};
6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@
font-size: 11px;
}

.grainGroup {
display: flex;
justify-content: space-around;
margin-bottom: 15px;
}

.contentContainer {
width: 100%;
overflow: auto;
Expand Down
Loading