Home
last modified time | relevance | path

Searched refs:put_buffer (Results 1 – 22 of 22) sorted by relevance

/external/libjpeg-turbo/
Djchuff.c69 size_t put_buffer; /* current bit-accumulation buffer */ member
84 ((dest).put_buffer = (src).put_buffer, \
204 entropy->saved.put_buffer = 0; in start_pass_huff()
348 c = (JOCTET)GETJOCTET(put_buffer >> put_bits); \
356 put_buffer = (put_buffer << size) | code; \
470 size_t put_buffer; int put_bits; in flush_bits() local
473 put_buffer = state->cur.put_buffer; in flush_bits()
481 state->cur.put_buffer = 0; /* and reset bit-buffer to empty */ in flush_bits()
516 size_t put_buffer; int put_bits; in encode_one_block() local
520 put_buffer = state->cur.put_buffer; in encode_one_block()
[all …]
Djcphuff.c93 size_t put_buffer; /* current bit-accumulation buffer */ member
283 entropy->put_buffer = 0; in start_pass_phuff()
332 register size_t put_buffer = (size_t)code; in emit_bits() local
342 put_buffer &= (((size_t)1) << size) - 1; /* mask off any extra bits in code */ in emit_bits()
346 put_buffer <<= 24 - put_bits; /* align incoming bits */ in emit_bits()
348 put_buffer |= entropy->put_buffer; /* and merge with old buffer contents */ in emit_bits()
351 int c = (int)((put_buffer >> 16) & 0xFF); in emit_bits()
357 put_buffer <<= 8; in emit_bits()
361 entropy->put_buffer = put_buffer; /* update variables */ in emit_bits()
370 entropy->put_buffer = 0; /* and reset bit-buffer to empty */ in flush_bits()
/external/adhd/cras/src/tests/
Diodev_unittest.cc505 static int put_buffer(struct cras_iodev* iodev, unsigned int nframes) { in put_buffer() function
563 iodev.put_buffer = put_buffer; in TEST()
626 iodev.put_buffer = put_buffer; in TEST()
650 iodev.put_buffer = put_buffer; in TEST()
700 iodev.put_buffer = put_buffer; in TEST()
748 iodev.put_buffer = put_buffer; in TEST()
775 iodev.put_buffer = put_buffer; in TEST()
816 iodev.put_buffer = put_buffer; in TEST()
851 iodev.put_buffer = put_buffer; in TEST()
924 iodev.put_buffer = put_buffer; in TEST()
[all …]
Da2dp_iodev_unittest.cc203 iodev->put_buffer(iodev, 100); in TEST_F()
224 iodev->put_buffer(iodev, 100); in TEST_F()
268 iodev->put_buffer(iodev, 200); in TEST_F()
300 iodev->put_buffer(iodev, 200); in TEST_F()
344 iodev->put_buffer(iodev, 700); in TEST_F()
371 iodev->put_buffer(iodev, 200); in TEST_F()
Dbt_io_unittest.cc80 d->put_buffer = put_buffer; in SetUpIodev()
122 static int put_buffer(cras_iodev* iodev, unsigned int num) { in put_buffer() function in __anon4f7354cd0111::BtIoBasicSuite
181 bt_iodev->put_buffer(bt_iodev, fr); in TEST_F()
Dhfp_alsa_iodev_unittest.cc63 _FAKE_CALL2(put_buffer);
110 fake_sco_out.put_buffer = fake_sco_in.put_buffer = in ResetStubData()
305 iodev->put_buffer(iodev, 0xdeadbeef); in TEST_F()
Daudio_thread_unittest_obsolete.cc84 iodev_.put_buffer = put_buffer; in SetUp()
180 static int put_buffer(cras_iodev* iodev, unsigned int num) { in put_buffer() function in ReadStreamSuite
503 iodev_.put_buffer = put_buffer; in SetUp()
599 static int put_buffer(cras_iodev* iodev, unsigned int num) { in put_buffer() function in WriteStreamSuite
1102 iodev_.put_buffer = put_buffer; in SetUp()
1150 static int put_buffer(cras_iodev* iodev, unsigned int num) { in put_buffer() function in AddStreamSuite
1422 iodev_.put_buffer = put_buffer; in SetUp()
1432 iodev2_.put_buffer = put_buffer; in SetUp()
1560 static int put_buffer(cras_iodev* iodev, unsigned int num) { in put_buffer() function in ActiveDevicesSuite
Dloopback_iodev_unittest.cc166 loop_in_->put_buffer(loop_in_, nread); in TEST_F()
197 loop_in_->put_buffer(loop_in_, nread); in TEST_F()
Dhfp_iodev_unittest.cc191 iodev->put_buffer(iodev, 40); in TEST_F()
211 iodev->put_buffer(iodev, 100); in TEST_F()
Daudio_thread_unittest.cc159 iodev->put_buffer = put_buffer; in SetupDevice()
226 static int put_buffer(cras_iodev* iodev, unsigned int num) { in put_buffer() function in StreamDeviceSuite
/external/libjpeg-turbo/simd/x86_64/
Djchuff-sse2.asm50 mov rdx, put_buffer
52 shr rdx, cl ; c = (JOCTET)GETJOCTET(put_buffer >> put_bits);
64 shl put_buffer, cl ; put_buffer = (put_buffer << size);
65 or put_buffer, %1
334 ; Save put_buffer & put_bits
335 mov MMWORD [r10+16], put_buffer ; state->cur.put_buffer = put_buffer;
/external/libjpeg-turbo/simd/i386/
Djchuff-sse2.asm50 mov edx, put_buffer
52 shr edx, cl ; c = (JOCTET)GETJOCTET(put_buffer >> put_bits);
64 shl put_buffer, cl ; put_buffer = (put_buffer << size);
65 or put_buffer, %1
409 ; Save put_buffer & put_bits
410 mov DWORD [esi+8], put_buffer ; state->cur.put_buffer = put_buffer;
/external/adhd/cras/src/server/
Dcras_empty_iodev.c133 static int put_buffer(struct cras_iodev *iodev, unsigned frames) in put_buffer() function
197 iodev->put_buffer = put_buffer; in empty_iodev_create()
Dtest_iodev.c100 static int put_buffer(struct cras_iodev *iodev, unsigned frames) in put_buffer() function
194 iodev->put_buffer = put_buffer; in test_iodev_create()
Dcras_hfp_iodev.c225 static int put_buffer(struct cras_iodev *iodev, unsigned nwritten) in put_buffer() function
304 iodev->put_buffer = put_buffer; in hfp_iodev_create()
Dcras_bt_io.c281 static int put_buffer(struct cras_iodev *iodev, unsigned nwritten) in put_buffer() function
286 return dev->put_buffer(dev, nwritten); in put_buffer()
405 iodev->put_buffer = put_buffer; in cras_bt_io_create()
Dcras_a2dp_iodev.c386 static int put_buffer(struct cras_iodev *iodev, unsigned nwritten) in put_buffer() function
496 iodev->put_buffer = put_buffer; in a2dp_iodev_create()
Dcras_hfp_alsa_iodev.c174 return aio->put_buffer(aio, nwritten); in hfp_alsa_put_buffer()
278 iodev->put_buffer = hfp_alsa_put_buffer; in hfp_alsa_iodev_create()
Dcras_iodev.c1029 rc = iodev->put_buffer(iodev, min_frames); in cras_iodev_put_input_buffer()
1127 return iodev->put_buffer(iodev, nframes); in cras_iodev_put_output_buffer()
1573 rc = iodev->put_buffer(iodev, frames); in cras_iodev_drop_frames()
Dcras_iodev.h252 int (*put_buffer)(struct cras_iodev *iodev, unsigned nwritten); member
Dcras_loopback_iodev.c281 iodev->put_buffer = put_record_buffer; in create_loopback_iodev()
Dcras_alsa_io.c536 static int put_buffer(struct cras_iodev *iodev, unsigned nwritten) in put_buffer() function
2004 iodev->put_buffer = put_buffer; in alsa_iodev_create()