Opened 13 years ago

Closed 13 years ago

#1488 closed patch (fixed)

2-level caching of OSD images

Reported by: pekka.jaaskelainen@… Owned by: danielk
Priority: minor Milestone: 0.20
Component: mythtv Version:
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I implemented caching of OSD images to memory and disk. Result is a quite remarkable improvement in channel change speed for me. Without this patch, a channel change takes about 11 secs, with the patch it's about 7 secs. It's still way too long for an enjoyable channel surfing session, thus I'll probably continue profiling and optimizing it at some point.

I suggest to apply this also to 0.19 as the channel change slowdown is clearly a regression from 0.18.

Attachments (2)

osdimage-caching-v1.diff (11.3 KB) - added by visit0r 13 years ago.
the patch against SVN HEAD
osdimage-caching-0.19-v1.diff (9.8 KB) - added by visit0r 13 years ago.
the patch against the 0.19-fixes branch

Download all attachments as: .zip

Change History (7)

Changed 13 years ago by visit0r

Attachment: osdimage-caching-v1.diff added

the patch against SVN HEAD

Changed 13 years ago by visit0r

the patch against the 0.19-fixes branch

comment:1 Changed 13 years ago by danielk

Owner: changed from Isaac Richards to danielk
Status: newassigned

comment:2 Changed 13 years ago by danielk

(In [9326]) References #1488, adds an OSDImage cache by applying modified patch.

This speeds channel changing for me by 500 to 1000 milliseconds. I'm just committing it to SVN head for now, but if there are no problems I'll apply it to 0.19-fixes later.

comment:3 Changed 13 years ago by danielk

(In [9345]) References #1488, Fixes #1498. Special handling for DVB/DVD subtitles.

comment:4 Changed 13 years ago by danielk

(In [9362]) References #1488. Fixes a bug in the OSD image caching.

The OSD Image cache was not checking if the cached images were out-of-date..

comment:5 Changed 13 years ago by danielk

Resolution: fixed
Status: assignedclosed

(In [9363]) Close #1488, by backporting OSDImage cache to 0.19.

Note: See TracTickets for help on using tickets.