Home | History | Annotate | Download | only in src

Lines Matching refs:writeBits

664           int i, writeBits = extPayloadBits;
665 for (i=0; writeBits >= 8; i++) {
667 writeBits -= 8;
669 if (writeBits > 0) {
670 FDKwriteBits(hBitStream, extPayloadData[i]>>(8-writeBits), writeBits);
709 int writeBits = extPayloadBits;
711 writeBits -= 8; /* acount for the extension type and the fill nibble */
712 while (writeBits >= 8) {
714 writeBits -= 8;
856 int i, writeBits = payloadBits;
860 for (i=0; writeBits >= 8; i++) {
862 writeBits -= 8;
864 if (writeBits > 0) {
865 FDKwriteBitsBwd(hBitStream, extPayloadData[i]>>(8-writeBits), writeBits);
878 int writeBits = payloadBits;
879 while (writeBits >= 8) {
881 writeBits -= 8;
883 FDKwriteBits(hBitStream, 0x00, writeBits);
893 int i, writeBits = payloadBits;
896 for (i=0; writeBits >= 8; i++) {
898 writeBits -= 8;
900 if (writeBits > 0) {
901 FDKwriteBits(hBitStream, extPayloadData[i]>>(8-writeBits), writeBits);