Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd November 2016, 09:58   #1  |  Link
Useprxf
Registered User
 
Join Date: Nov 2016
Posts: 1
Optimize x264 based remote desktop by dirty regions

I was using x264 to achieve remote desktop, but had some problems on handling P_SKIP detection.

Dirty regions indicate changed areas. I would like to encode those macroblocks which don't intersect any dirty region as P_SKIP types.

I inserted the following code into x264_macroblock_prob_skip_internal function:
Code:
if (! h->isdirty[h->mb.i_mb_x][h->mb.i_mb_y] && ! M32(h->mb.cache.pskip_mv))
    return 1;
but there is almost no speed-up. I think it may be the information preparation for the macroblock analysis that takes influence.

My question is how to speed up x264 by considering dirty regions?

Last edited by Useprxf; 23rd November 2016 at 10:03. Reason: Fix grammar errors
Useprxf is offline   Reply With Quote
Reply

Tags
dirty region, p_skip, x264

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 13:51.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.