Home
last modified time | relevance | path

Searched refs:ptr_q (Results 1 – 7 of 7) sorted by relevance

/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Dmessage_queue.c32 struct video_queue_context *ptr_q = NULL; in check_if_queue_empty() local
42 ptr_q = (struct video_queue_context *)queuecontext; in check_if_queue_empty()
45 if (ptr_q->read_comq == ptr_q->write_comq) { in check_if_queue_empty()
49 if (ptr_q->write_dataq == ptr_q->read_dataq) { in check_if_queue_empty()
60 struct video_queue_context *ptr_q = NULL; in queue_get_cmd() local
68 ptr_q = (struct video_queue_context *)queuecontext; in queue_get_cmd()
71 sem_wait(&ptr_q->sem_message); in queue_get_cmd()
74 pthread_mutex_lock(&ptr_q->mutex); in queue_get_cmd()
76 if (ptr_q->read_comq != ptr_q->write_comq) { in queue_get_cmd()
77 pitem = &ptr_q->ptr_cmdq [ptr_q->read_comq]; in queue_get_cmd()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Dmessage_queue.c32 struct video_queue_context *ptr_q = NULL; in check_if_queue_empty() local
41 ptr_q = (struct video_queue_context *)queuecontext; in check_if_queue_empty()
45 if (ptr_q->read_comq == ptr_q->write_comq) in check_if_queue_empty()
52 if (ptr_q->write_dataq == ptr_q->read_dataq) in check_if_queue_empty()
65 struct video_queue_context *ptr_q = NULL; in queue_get_cmd() local
74 ptr_q = (struct video_queue_context *)queuecontext; in queue_get_cmd()
77 sem_wait(&ptr_q->sem_message); in queue_get_cmd()
80 pthread_mutex_lock(&ptr_q->mutex); in queue_get_cmd()
82 if (ptr_q->read_comq != ptr_q->write_comq) in queue_get_cmd()
84 pitem = &ptr_q->ptr_cmdq [ptr_q->read_comq]; in queue_get_cmd()
[all …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/
Dmessage_queue.c32 struct video_queue_context *ptr_q = NULL; in check_if_queue_empty() local
42 ptr_q = (struct video_queue_context *)queuecontext; in check_if_queue_empty()
45 if (ptr_q->read_comq == ptr_q->write_comq) { in check_if_queue_empty()
49 if (ptr_q->write_dataq == ptr_q->read_dataq) { in check_if_queue_empty()
60 struct video_queue_context *ptr_q = NULL; in queue_get_cmd() local
68 ptr_q = (struct video_queue_context *)queuecontext; in queue_get_cmd()
71 sem_wait(&ptr_q->sem_message); in queue_get_cmd()
74 pthread_mutex_lock(&ptr_q->mutex); in queue_get_cmd()
76 if (ptr_q->read_comq != ptr_q->write_comq) { in queue_get_cmd()
77 pitem = &ptr_q->ptr_cmdq [ptr_q->read_comq]; in queue_get_cmd()
[all …]
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Dmessage_queue.c32 struct video_queue_context *ptr_q = NULL; in check_if_queue_empty() local
42 ptr_q = (struct video_queue_context *)queuecontext; in check_if_queue_empty()
45 if (ptr_q->read_comq == ptr_q->write_comq) { in check_if_queue_empty()
49 if (ptr_q->write_dataq == ptr_q->read_dataq) { in check_if_queue_empty()
60 struct video_queue_context *ptr_q = NULL; in queue_get_cmd() local
68 ptr_q = (struct video_queue_context *)queuecontext; in queue_get_cmd()
71 sem_wait(&ptr_q->sem_message); in queue_get_cmd()
74 pthread_mutex_lock(&ptr_q->mutex); in queue_get_cmd()
76 if (ptr_q->read_comq != ptr_q->write_comq) { in queue_get_cmd()
77 pitem = &ptr_q->ptr_cmdq [ptr_q->read_comq]; in queue_get_cmd()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dmessage_queue.c32 struct video_queue_context *ptr_q = NULL; in check_if_queue_empty() local
42 ptr_q = (struct video_queue_context *)queuecontext; in check_if_queue_empty()
45 if (ptr_q->read_comq == ptr_q->write_comq) { in check_if_queue_empty()
49 if (ptr_q->write_dataq == ptr_q->read_dataq) { in check_if_queue_empty()
60 struct video_queue_context *ptr_q = NULL; in queue_get_cmd() local
68 ptr_q = (struct video_queue_context *)queuecontext; in queue_get_cmd()
71 sem_wait(&ptr_q->sem_message); in queue_get_cmd()
74 pthread_mutex_lock(&ptr_q->mutex); in queue_get_cmd()
76 if (ptr_q->read_comq != ptr_q->write_comq) { in queue_get_cmd()
77 pitem = &ptr_q->ptr_cmdq [ptr_q->read_comq]; in queue_get_cmd()
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Dmessage_queue.c32 struct video_queue_context *ptr_q = NULL; in check_if_queue_empty() local
42 ptr_q = (struct video_queue_context *)queuecontext; in check_if_queue_empty()
45 if (ptr_q->read_comq == ptr_q->write_comq) { in check_if_queue_empty()
49 if (ptr_q->write_dataq == ptr_q->read_dataq) { in check_if_queue_empty()
60 struct video_queue_context *ptr_q = NULL; in queue_get_cmd() local
68 ptr_q = (struct video_queue_context *)queuecontext; in queue_get_cmd()
71 sem_wait(&ptr_q->sem_message); in queue_get_cmd()
74 pthread_mutex_lock(&ptr_q->mutex); in queue_get_cmd()
76 if (ptr_q->read_comq != ptr_q->write_comq) { in queue_get_cmd()
77 pitem = &ptr_q->ptr_cmdq [ptr_q->read_comq]; in queue_get_cmd()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Dmessage_queue.c32 struct video_queue_context *ptr_q = NULL; in check_if_queue_empty() local
42 ptr_q = (struct video_queue_context *)queuecontext; in check_if_queue_empty()
45 if (ptr_q->read_comq == ptr_q->write_comq) { in check_if_queue_empty()
49 if (ptr_q->write_dataq == ptr_q->read_dataq) { in check_if_queue_empty()
60 struct video_queue_context *ptr_q = NULL; in queue_get_cmd() local
68 ptr_q = (struct video_queue_context *)queuecontext; in queue_get_cmd()
71 sem_wait(&ptr_q->sem_message); in queue_get_cmd()
74 pthread_mutex_lock(&ptr_q->mutex); in queue_get_cmd()
76 if (ptr_q->read_comq != ptr_q->write_comq) { in queue_get_cmd()
77 pitem = &ptr_q->ptr_cmdq [ptr_q->read_comq]; in queue_get_cmd()
[all …]