Mercurial > mplayer.hg
view libmpdemux/mp3_hdr.h @ 15915:b3924612667a
Update of the x264 encoding guide:
- Reorganized things, options are now divided into "speed vs quality"
and "other" (more or less). subq is now where it belongs.
- subq=6 is documented
- explanation of what 2-pass really does, and why you'd better use it
- mention 3-pass (and the fact that it usually doesn't help)
- documented qcomp
- documented keyint (not like it needed any more explanation, though)
- deblocking parameter tweaking no longer categorized as options that
"affect speed and quality ;)
- updated example cpu requirements for decoding, in codecs.xml
(720x480 @ 1500kbps 50%->35%, for my CPU)
author | gpoirier |
---|---|
date | Mon, 04 Jul 2005 05:37:27 +0000 |
parents | 980910eb6f0c |
children | b5c2254d13f8 |
line wrap: on
line source
int mp_get_mp3_header(unsigned char* hbuf,int* chans, int* freq, int* spf, int* mpa_layer); #define mp_decode_mp3_header(hbuf) mp_get_mp3_header(hbuf,NULL,NULL,NULL,NULL) static inline int mp_check_mp3_header(unsigned int head){ if( (head & 0x0000e0ff) != 0x0000e0ff || (head & 0x00fc0000) == 0x00fc0000) return 0; if(mp_decode_mp3_header((unsigned char*)(&head))<=0) return 0; return 1; }