Lines Matching refs:jpg_buffers

670 		if (zr->jpg_buffers.active == ZORAN_FREE) {  in zoran_jpg_queue_frame()
671 zr->jpg_buffers = fh->buffers; in zoran_jpg_queue_frame()
690 switch (zr->jpg_buffers.buffer[num].state) { in zoran_jpg_queue_frame()
700 zr->jpg_buffers.buffer[num].state = BUZ_STATE_PEND; in zoran_jpg_queue_frame()
701 fh->buffers.buffer[num] = zr->jpg_buffers.buffer[num]; in zoran_jpg_queue_frame()
707 if (zr->jpg_buffers.active == ZORAN_FREE) { in zoran_jpg_queue_frame()
709 zr->jpg_buffers.allocated = 0; in zoran_jpg_queue_frame()
718 if (!res && zr->jpg_buffers.active == ZORAN_FREE) in zoran_jpg_queue_frame()
719 zr->jpg_buffers.active = fh->buffers.active; in zoran_jpg_queue_frame()
739 fh->buffers.active = zr->jpg_buffers.active = ZORAN_FREE; in jpg_qbuf()
740 zr->jpg_buffers.allocated = 0; in jpg_qbuf()
816 if (zr->jpg_buffers.buffer[frame].state != BUZ_STATE_DONE) in jpg_sync()
821 *bs = zr->jpg_buffers.buffer[frame].bs; in jpg_sync()
823 zr->jpg_buffers.buffer[frame].state = BUZ_STATE_USER; in jpg_sync()
824 fh->buffers.buffer[frame] = zr->jpg_buffers.buffer[frame]; in jpg_sync()
892 zr->jpg_buffers.allocated = 0; in zoran_close_end_session()
893 zr->jpg_buffers.active = fh->buffers.active = ZORAN_FREE; in zoran_close_end_session()
999 zr->jpg_buffers.allocated = 0; in zoran_close()
1000 zr->jpg_buffers.active = ZORAN_FREE; in zoran_close()
1431 zr->jpg_buffers.active != ZORAN_FREE) { in zoran_set_norm()
1503 zr->jpg_buffers.active != ZORAN_FREE) { in zoran_set_input()
2215 zr->jpg_buffers.buffer[num].state != BUZ_STATE_DONE) { in zoran_dqbuf()
2269 if (zr->jpg_buffers.active != ZORAN_ACTIVE || in zoran_streamon()
2275 zr->jpg_buffers.active = fh->buffers.active = ZORAN_LOCKED; in zoran_streamon()
2340 zr->jpg_buffers.active != ZORAN_FREE) { in zoran_streamoff()
2344 if (zr->jpg_buffers.active == ZORAN_FREE) in zoran_streamoff()
2753 "UPMD"[zr->jpg_buffers.buffer[frame].state], in zoran_poll()
2756 zr->jpg_buffers.buffer[frame].state == BUZ_STATE_DONE) { in zoran_poll()
2844 zr->jpg_buffers.allocated = 0; in zoran_vm_close()
2845 zr->jpg_buffers.active = fh->buffers.active = ZORAN_FREE; in zoran_vm_close()