Skip to content

Instantly share code, notes, and snippets.

@barrbrain
Last active February 26, 2021 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barrbrain/0f4ad5d7223138352a41347b6fb4ff44 to your computer and use it in GitHub Desktop.
Save barrbrain/0f4ad5d7223138352a41347b6fb4ff44 to your computer and use it in GitHub Desktop.
Video encoder rollback optimization in rav1e
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import seaborn as sns
import numpy as np
import matplotlib.pyplot as plt
from IPython.display import set_matplotlib_formats
%matplotlib inline
set_matplotlib_formats('svg')
data = np.loadtxt('cdf_stats.csv')
fig, ax = plt.subplots()
fig.set_size_inches(6, 4)
sns.kdeplot(data, fill=True, ax=ax)
ax.set_xlabel('Rollback sizes')
ax.set_xlim([0, None])
ax.set_ylim([0, None]);
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment