mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-16 16:42:33 -05:00
Add missing files from ffmpeg, write a README.rockbox and a makefile.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27742 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e3a6610ae7
commit
fb26f52697
22 changed files with 2709 additions and 21 deletions
|
|
@ -130,6 +130,7 @@ int64_t av_rescale(int64_t a, int64_t b, int64_t c){
|
|||
return av_rescale_rnd(a, b, c, AV_ROUND_NEAR_INF);
|
||||
}
|
||||
|
||||
#if 0
|
||||
int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq){
|
||||
int64_t b= bq.num * (int64_t)cq.den;
|
||||
int64_t c= cq.num * (int64_t)bq.den;
|
||||
|
|
@ -143,6 +144,7 @@ int av_compare_ts(int64_t ts_a, AVRational tb_a, int64_t ts_b, AVRational tb_b){
|
|||
if (av_rescale_rnd(ts_b, b, a, AV_ROUND_DOWN) < ts_a) return 1;
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
int64_t av_compare_mod(uint64_t a, uint64_t b, uint64_t mod){
|
||||
int64_t c= (a-b) & (mod-1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue