Benchmark done with:
This is ApacheBench, Version 2.3 <$Revision: 1528965 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
| function hps { cd /boot/home/haikuports; git grep $1} | |
| export -f inrecipe | |
| alias hp="haikuporter -S -j2 --no-dependencies --no-source-packages" |
| #!/bin/sh | |
| # | |
| # Copyright (c) 2014 Tiancheng "Timothy" Gu | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining | |
| # a copy of this software and associated documentation files (the | |
| # "Software"), to deal in the Software without restriction, including | |
| # without limitation the rights to use, copy, modify, merge, publish, | |
| # distribute, sublicense, and/or sell copies of the Software, and to | |
| # permit persons to whom the Software is furnished to do so, subject |
| 19:39 <BBB> intra prediction is taking edge pixels to predict a block’s content | |
| 19:39 <Timothy_Gu_> what is a block? | |
| 19:39 <Timothy_Gu_> a part of a frame? | |
| 19:39 <Timothy_Gu_> what is a macroblock? a group of blocks? | |
| 19:40 <BBB> the base subdivision unit of a frame in which the actual video content is coded | |
| 19:40 <BBB> for h264, 16x16 is the base block unit size | |
| 19:40 <Timothy_Gu_> ok | |
| 19:40 <BBB> vp8 same | |
| 19:40 <BBB> vp9/hevc it’s 64x64 -> 8x8 (with 4x4 support throug some hacks) | |
| 19:40 <Timothy_Gu_> huh? |
| // xv2flv | |
| // Found on http://hi.baidu.com/naylonslain/item/9586125a9f5979dbd58bac47 | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| int convert_file(char *szSourceFile, int bIsFastConv) | |
| { | |
| char szNewFileName[256] = {0}; | |
| int buffer[0x400]; |
| # Saucy | |
| wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
| sudo apt-get install gdebi synaptic | |
| sudo apt-get install i965-va-driver libva* vainfo | |
| # Remove Ubuntu One | |
| # http://askubuntu.com/questions/309122/removing-ubuntu-one | |
| killall ubuntuone-login ubuntuone-preferences ubuntuone-syncdaemon | |
| sudo rm -rf ~/.local/share/ubuntuone | |
| rm -rf ~/.cache/ubuntuone |