Lines Matching refs:display_order
143 unsigned long long display_order; member
1693 static int load_surface(VASurfaceID surface_id, unsigned long long display_order) in load_surface() argument
1704 display_order = display_order % srcyuv_frames; in load_surface()
1706 frame_start = display_order * frame_size; in load_surface()
1747 unsigned long long display_order, in save_recyuv() argument
1773 fseek(recyuv_fp, display_order * frame_width * frame_height * 1.5, SEEK_SET); in save_recyuv()
1809 static int save_codeddata(unsigned long long display_order, unsigned long long encode_order) in save_codeddata() argument
1815 va_status = vaMapBuffer(va_dpy,coded_buf[display_order % SURFACE_NUM],(void **)(&buf_list)); in save_codeddata()
1823 vaUnmapBuffer(va_dpy,coded_buf[display_order % SURFACE_NUM]); in save_codeddata()
1867 static int storage_task_queue(unsigned long long display_order, unsigned long long encode_order) in storage_task_queue() argument
1872 tmp->display_order = display_order; in storage_task_queue()
1885 srcsurface_status[display_order % SURFACE_NUM] = SRC_SURFACE_IN_STORAGE; in storage_task_queue()
1893 static void storage_task(unsigned long long display_order, unsigned long long encode_order) in storage_task() argument
1899 va_status = vaSyncSurface(va_dpy, src_surface[display_order % SURFACE_NUM]); in storage_task()
1903 save_codeddata(display_order, encode_order); in storage_task()
1906 save_recyuv(ref_surface[display_order % SURFACE_NUM], display_order, encode_order); in storage_task()
1911 load_surface(src_surface[display_order % SURFACE_NUM], display_order + SURFACE_NUM); in storage_task()
1915 srcsurface_status[display_order % SURFACE_NUM] = SRC_SURFACE_IN_ENCODING; in storage_task()
1933 storage_task(current->display_order, current->encode_order); in storage_task_thread()