Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
730460c0
Commit
730460c0
authored
Nov 12, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* all: big clean up (no more global variables).
parent
c7bc1acb
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1390 additions
and
1388 deletions
+1390
-1388
modules/stream_out/transrate/getvlc.h
modules/stream_out/transrate/getvlc.h
+2
-6
modules/stream_out/transrate/transrate.c
modules/stream_out/transrate/transrate.c
+1388
-1382
No files found.
modules/stream_out/transrate/getvlc.h
View file @
730460c0
...
...
@@ -20,15 +20,11 @@
#define BOTTOM_FIELD 2
#define FRAME_PICTURE 3
/* remove num valid bits from bit_buf */
#define DUMPBITS(bit_buf,bits,num) Flush_Bits(num)
#define COPYBITS(bit_buf,bits,num) Copy_Bits(num)
/* take num bits from the high part of bit_buf and zero extend them */
#define UBITS(bit_buf,num) (((uint32_t)(
inbitbuf
)) >> (32 - (num)))
#define UBITS(bit_buf,num) (((uint32_t)(
bs->i_bit_in_cache
)) >> (32 - (num)))
/* take num bits from the high part of bit_buf and sign extend them */
#define SBITS(bit_buf,num) (((int32_t)(
inbitbuf
)) >> (32 - (num)))
#define SBITS(bit_buf,num) (((int32_t)(
bs->i_bit_in_cache
)) >> (32 - (num)))
typedef
struct
{
uint8_t
modes
;
...
...
modules/stream_out/transrate/transrate.c
View file @
730460c0
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment