Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Json result storage #11

Merged
merged 4 commits into from Jan 7, 2015
Merged

Json result storage #11

merged 4 commits into from Jan 7, 2015

Conversation

alvestrand
Copy link
Member

Redesigning the interface between the website parts and the Python backend parts to interchange JSON files instead of generating HTML files.

This makes for a simpler system, where display is handled on the display side, and only data is handled on the backend side.

This change passes the encoding results from the generation side to the
display side as JSON files. All usage of gviz code on the generation side
is no longer needed.

Note: This is a transition CL - the generation side will be able to generate
both the old way and the new way until the new way works better than the old
way.
Changed the overshoot rule in cpu/rate to be 0.1 dB per percent overshoot,
rather than 0.1 dB per kbit/sec overshoot, which increased sanity of VP9
displays.

Added in display of command lines as part of the results shown.

Added in generation of new-style links in the index pages.
@alvestrand
Copy link
Member Author

@louquillio can you look at the style application functions and Javascript?
The CSS handling looks terribly hacky to me.

# See the License for the specific language governing permissions and
# limitations under the License.
#
# A JSON-generating codec comparision tool.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: comparison

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done (full sweep).

No support for the theory that "comparision" is a valid spelling found.
Also fixing one pylint error.
@alvestrand
Copy link
Member Author

PTAL

@@ -440,6 +445,10 @@ def Execute(self, bitrate, videofile, workdir):
return self.context.codec.Execute(
self.parameters, bitrate, videofile, workdir)

def EncodeCommandLine(self, bitrate, videofile, workdir):
return self.context.codec.EncodeCommandLine(
self.parameters, bitrate, videofile, workdir)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: should indent two more when breaking in an invocation

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@phoglund
Copy link

phoglund commented Jan 7, 2015

lgtm for python parts

alvestrand added a commit that referenced this pull request Jan 7, 2015
@alvestrand alvestrand merged commit 9030745 into master Jan 7, 2015
@alvestrand alvestrand deleted the json-result-storage branch February 11, 2015 05:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants