WO2019006999A1 - REFERENCE GENERATION METHOD APPLIED TO ANDROID TELEVISION, INFORMATION MEDIUM, DEVICE AND SYSTEM - Google Patents
REFERENCE GENERATION METHOD APPLIED TO ANDROID TELEVISION, INFORMATION MEDIUM, DEVICE AND SYSTEM Download PDFInfo
- Publication number
- WO2019006999A1 WO2019006999A1 PCT/CN2017/117368 CN2017117368W WO2019006999A1 WO 2019006999 A1 WO2019006999 A1 WO 2019006999A1 CN 2017117368 W CN2017117368 W CN 2017117368W WO 2019006999 A1 WO2019006999 A1 WO 2019006999A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- reflection
- picture
- height
- value
- matrix
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/001—Texturing; Colouring; Generation of texture or colour
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10024—Color image
Definitions
- the present invention relates to the field of Android TV applications, and in particular, to a method, a storage medium, a device and a system for generating a reflection for an Android TV.
- Reflection is very common in the Android UI effect. Because the reflection makes the display effect more natural and more stereoscopic, the reflection effect is usually added in the position where the UI interaction is more prominent, so as to achieve the purpose of highlighting the core content of the layout.
- the reflection effect is achieved by rotating the original image with the Z axis of the vertical screen as the central axis by 180°, then performing the height cropping and RGB gradation adjustment to generate a reflection image, and finally stitching the head and tail with the original image.
- ImageView does not have a multiplexing mechanism for the reflection image. Each time you repaint (invalidate), you need to create a reflection resource repeatedly, which is inefficient.
- the reflection generation mechanism of the original image and the reflection image there are advantages and disadvantages in the reflection generation mechanism of the original image and the reflection image.
- the advantages are as follows: (1) the generation of the reflection image and the original image segmentation, which have no effect on the authenticity of the original image; (2) use The RGB progressive adjustment mode adjusts the reflection generated by the reflection image to be used across platforms.
- its shortcomings are: (1) the smoothness of the connection between the reflection image and the original image is difficult to handle, especially the variety of resolution caused by Android fragmentation, the large-area adaptation is cumbersome and complicated, and the effects of different models are obviously different, affecting Iterative update; (2) The reflection is spliced and spliced, and the processing efficiency is low. It is suitable for the reflection to generate the global use scenario. If there is repeated refresh and repeated creation of the reflection, the performance will be affected, and the processed image memory is too large. Perform compression processing.
- the scheme adopts the original map extension based on Cavas to draw the reflection technique, solves the problem of the smoothness of the original image and the reflection, and adds the reflection buffer pool to solve the performance problem caused by the reflection redraw.
- an object of the present invention is to provide a reflection generation method for an Android TV that can solve the problem of smoothness of convergence between an original picture and a reflection picture, and can solve the performance problem caused by reflection redraw.
- a reflection generation method for an Android TV comprising the following steps:
- the cached reflection picture is read from the reflection buffer pool to complete the redrawing of the reflection picture.
- step S1 further includes the step of turning off the pre-rendering function of the ImageView.
- the Least Recently Used cache algorithm is used to construct the reflection buffer pool in step S2.
- the data structure container of the reflection buffer pool is LinkedHashMap, and the calculation formula of the buffer capacity of the data structure container of the buffer pool is:
- SIZE cache is the final cache size
- maxMemery is the maximum memory value of the application runtime
- ByteCount is the maximum memory occupancy value of a single picture
- minElement is the minimum capacity value defined by the Least Recently Used algorithm.
- the atomic wrapping class is used to perform atomic wrapping on the linear rendering of the brush in step S6.
- the reflection picture is drawn by the path drawing method or the matrix drawing method in step S6.
- the drawing path is fitted according to the pixel coordinate value of the reflection, and then the path value is read by using RectF, and the path value is directly read from the RectF when drawing, and the completion is completed.
- the drawing of the reflection picture is
- the reflection generating method further includes the step of cleaning the reflection buffer pool.
- the present invention also provides a storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the above method.
- the present invention also provides an apparatus comprising a memory, a processor, and a computer program stored on the memory and running on the processor, the processor implementing the steps of the method when the computer program is executed.
- a reflection generating system for an Android TV comprising:
- a drawing module for creating an original bitmap, converting the original bitmap into an RGB color value matrix, and setting a conversion mode of the RGB color value matrix to a vertical extension or offset mode, the drawing module also according to the original bit
- the drawing creates a canvas, and the matrix vector of the RGB color value matrix and the canvas extend in the same direction in the positive direction of the height direction, and the height of the extension is the sum of the height value of the reflection and the height value of the joint, and then on the extended canvas.
- a cache module for caching a reflection image drawn by the drawing module
- the module is called, which is used to read the cached reflection picture from the cache module when it is necessary to redraw the reflection picture.
- the method for generating a reflection for an Android TV first performs an extension process on a matrix vector and a canvas of an RGB color value matrix, and after extending the original image and the reflection image in a subsequent step, the two are Becoming a whole, there is no pixel gap in the middle, which is a good solution to the smoothness problem.
- the reflection buffer pool is built using the LRU (Least Recently Used) cache algorithm.
- the calculation of the cache capacity is dynamically calculated according to the memory of the device application runtime, avoiding the memory overload or memory overflow caused by initializing the fixed value. .
- the reflection picture is added to the reflection buffer pool mechanism based on the LRU cache algorithm. If the reflection picture needs to be redrawn, the pre-cached reflection picture is directly read from the reflection buffer pool, and the reset canvas layer is notified to complete the weight. Drawing, the efficiency of repeated drawing or over-drawing reflections is more efficient and reasonable than conventional methods.
- FIG. 1 is a flowchart of a method for generating a reflection of an Android TV according to an embodiment of the present invention
- FIG. 2 is a block diagram of a device connection in an embodiment of the present invention.
- an embodiment of the present invention provides a method for generating a reflection for an Android TV, the method comprising the following steps:
- Drawing a reflection causes the resulting bitmapped height to exceed the height of the original ImageView, so you need to set the height of the ImageView to a height-adjustable mode in advance, setting clipToPadding to an unavailable state. In order to prevent overlapping of the drawn layers, you also need to turn off the pre-rendering of ImageView.
- the original bitmap needs to be converted into a 3x3 RGB color value matrix, and the conversion mode of the RGB color value matrix is set to the vertical extension or offset mode.
- the problem of smoothness of the original picture and the reflection picture is that there is a pixel gap between the original picture and the reflection picture, because the two are isolated and not a whole.
- the matrix vector of the RGB color value matrix and the canvas are first extended.
- the method of extending the original image and the reflected image is used, and then the two become a whole, and there is no pixel gap in the middle.
- the use of extended drawing can solve the smoothness problem very well.
- the embodiment of the present invention constructs a reflection buffer pool BitmapMemeryCache before drawing the reflection picture, and the reflection picture is filled into the buffer pool after being completed, and is to be read directly from the reflection buffer pool after subsequent re-rendering. Take the cached data without repeating the canvas initialization.
- the reflection buffer pool is constructed by using the LRU (Least Recently Used) cache algorithm.
- the data structure container used by the cache is a LinkedHashMap (the key is the MD5 value of the original image, and the value Value is the bitmap image resource Bitmap): LinkedHashMap ⁇ MD5 , Bitmap>.
- the hash table and link list implementation of the Map interface has a predictable iteration order. This implementation differs from HashMap in that it maintains a double-linked list that runs on all entries. This list of links defines the iteration order, which is usually the sequential reflection of the key inserted into the map.
- SIZE cache is the final cache size
- maxMemery is the maximum memory value of the application runtime
- ByteCount is the maximum memory occupancy value of a single picture
- minElement is the minimum capacity value defined by the Least Recently Used algorithm.
- the brush To prevent mosaic effects when drawing reflections, the brush needs to turn off Anti-aliasing AntiAlias.
- the brush draws a reflection on the canvas into two phases.
- the first phase is to draw the original image.
- the state of this phase is STATE Orgin , and the brush's ARGB progressive value LinearGradient is the system default:
- the second stage is to draw a reflection picture.
- the state of this stage is STATE Reflect .
- the initial and intermediate Shard values of the ARGB progressive value of the brush in this stage will be dimmed, and the Alpha transparent channel is set in the range of 0.1 to 0.9.
- the embodiment of the present invention uses the atomic packaging class Atomic to atomize the LinearGradient. If concurrent access occurs, the brush is maintained as the first access state, and when the latest access is completed, the LinearGradient is performed. The unpacking operation releases the attribute access permission to switch the Paint state.
- the anti-aliasing effect is turned off in the Android system 4.3 (API18) and the Android system 4.4 (API19) and above, which may result in a progressive value loss of the reflection drawing. Therefore, in order to prevent this problem, the embodiment of the present invention corresponds to Different Android system versions can use the path drawing method or the matrix drawing method to draw the reflection picture.
- RectF is a structure that stores View coordinate information (top, bottom, left, and right) in floating point data. RectF maintains the progress loss before and after drawing or during drawing.
- the Vector Vector drawing method is also a matrix drawing method. It converts the matrix data into a vector, and the Vector transposes according to the ARGB matrix determinant of the bitmap, so the anti-aliasing problem can be effectively solved.
- the cached reflection picture is read from the reflection buffer pool to complete the redrawing of the reflection picture.
- the reflection picture is added to the reflection buffer pool mechanism based on the LRU cache algorithm, if the reflection picture needs to be redrawn, the pre-cached reflection picture is directly read from the reflection buffer pool, and the reset canvas is notified.
- the layer is redrawed so that the efficiency of repeating or over-drawing the reflection is more efficient and reasonable than the conventional method.
- the embodiment of the present invention unbinds the window in the ImageView. Invisible state will do the object recovery operation Bitmap.recycle, and the LRU object will also do the reference forced release operation to prevent memory overflow MemmeryLeak.
- the embodiment of the present invention first performs the extension processing on the matrix vector and the canvas of the RGB color value matrix. After the method of extending the original image and the reflected image in the subsequent steps, the two become a whole, and the middle does not There is a pixel gap, which is a good solution to the smoothness problem.
- the reflection buffer pool is built using the LRU (Least Recently Used) cache algorithm. The calculation of the cache capacity is dynamically calculated according to the runtime of the device application runtime, avoiding the memory overrun or memory overflow caused by initializing the fixed value. The reflection picture is added to the reflection buffer pool mechanism based on the LRU cache algorithm.
- the embodiment of the present invention further provides a storage medium on which a computer program is stored, and when the computer program is executed by the processor, the Android TV for the above embodiment can be implemented.
- the steps of the reflection generation method includes a U disk, a mobile hard disk, a ROM (Read-Only Memory), a RAM (Random Access Memory), a magnetic disk, or an optical disk, and the like, which can store program codes. medium.
- an embodiment of the present invention further provides an apparatus, including a memory, a processor, and a computer program stored on the processor and operable on the processor.
- the processor executes the computer program, the steps of the reflection generation method for the Android TV in the above embodiment may be implemented.
- the embodiment of the invention further provides a reflection generating system for an Android TV, which comprises a drawing module, a cache module and a calling module.
- the matrix vector of the RGB color value matrix and the canvas extend in the same direction in the positive direction of the height direction
- the height of the extension is the sum of the height value of the reflection and the height value of the joint, and then is drawn on the canvas after the extension.
- a cache module for caching a reflection image drawn by the drawing module
- the module is called, which is used to read the cached reflection picture from the cache module when it is necessary to redraw the reflection picture.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Generation (AREA)
Abstract
Description
本发明涉及安卓电视应用领域,具体涉及一种用于安卓电视的倒影生成方法、存储介质、设备及系统。The present invention relates to the field of Android TV applications, and in particular, to a method, a storage medium, a device and a system for generating a reflection for an Android TV.
倒影在安卓UI效果中是十分常见的,由于倒影使得显示效果更为自然且更有立体感,因此在UI交互较为显著的位置通常会添加倒影效果,从而达到突出版面核心内容的目的。Reflection is very common in the Android UI effect. Because the reflection makes the display effect more natural and more stereoscopic, the reflection effect is usually added in the position where the UI interaction is more prominent, so as to achieve the purpose of highlighting the core content of the layout.
目前实现倒影效果的方式是通过对原有图片以垂直屏幕的Z轴为中心轴进行旋转180°,然后进行高度裁剪和RGB色度渐进调节生成倒影图片,最后和原有图片进行头尾拼接,从而形成最终的带倒影的Bitmap,并适配到图像视图ImageView中。ImageView作为View的子类,并不具备对倒影图片的复用机制,每次重绘(invalidate)都需要重复创建倒影资源,效率偏低。At present, the reflection effect is achieved by rotating the original image with the Z axis of the vertical screen as the central axis by 180°, then performing the height cropping and RGB gradation adjustment to generate a reflection image, and finally stitching the head and tail with the original image. This results in the final inverted bitmap and is adapted to the image view ImageView. As a subclass of View, ImageView does not have a multiplexing mechanism for the reflection image. Each time you repaint (invalidate), you need to create a reflection resource repeatedly, which is inefficient.
总结下来,这种原始图和倒影图拼接的倒影生成机制存在优点和缺点,其优点主要有:(1)倒影图片生成与原始图片分割,对原始图片的真度没有任何影响;(2)使用RGB渐进度调节方式调节倒影图片生成的倒影可跨平台使用。但是其缺点是:(1)倒影图片与原始图片的衔接处平滑度难以处理,尤其是安卓碎片化导致的分辨率种类多,大面积适配繁琐费事,不同机型设备的效果差异明显,影响迭代更新;(2)倒影采用分割拼接方式处理效率偏低,适合倒影一次生成全局使用的需求场景,若存在重复刷新重复创建倒影,则影响性能, 且处理后的倒影图片内存占用偏大,难以进行压缩处理。In summary, there are advantages and disadvantages in the reflection generation mechanism of the original image and the reflection image. The advantages are as follows: (1) the generation of the reflection image and the original image segmentation, which have no effect on the authenticity of the original image; (2) use The RGB progressive adjustment mode adjusts the reflection generated by the reflection image to be used across platforms. However, its shortcomings are: (1) the smoothness of the connection between the reflection image and the original image is difficult to handle, especially the variety of resolution caused by Android fragmentation, the large-area adaptation is cumbersome and complicated, and the effects of different models are obviously different, affecting Iterative update; (2) The reflection is spliced and spliced, and the processing efficiency is low. It is suitable for the reflection to generate the global use scenario. If there is repeated refresh and repeated creation of the reflection, the performance will be affected, and the processed image memory is too large. Perform compression processing.
基于上述描述的问题,本方案采取基于Cavas的原始图延伸绘制倒影的技术,解决原始图与倒影的衔接平滑度问题,同时加入倒影缓存池解决倒影重绘引发的性能问题。Based on the above-mentioned problems, the scheme adopts the original map extension based on Cavas to draw the reflection technique, solves the problem of the smoothness of the original image and the reflection, and adds the reflection buffer pool to solve the performance problem caused by the reflection redraw.
发明内容Summary of the invention
针对现有技术中存在的缺陷,本发明的目的在于提供一种能解决原始图片与倒影图片的衔接平滑度问题,且能解决倒影重绘引发的性能问题的用于安卓电视的倒影生成方法。In view of the defects existing in the prior art, an object of the present invention is to provide a reflection generation method for an Android TV that can solve the problem of smoothness of convergence between an original picture and a reflection picture, and can solve the performance problem caused by reflection redraw.
为达到以上目的,本发明采取的技术方案是:In order to achieve the above objectives, the technical solution adopted by the present invention is:
一种用于安卓电视的倒影生成方法,该方法包括以下步骤:A reflection generation method for an Android TV, the method comprising the following steps:
S1.将ImageView的高度设置为可调节模式,创建原始位图,将原始位图转化为RGB色彩取值矩阵,并将RGB色彩取值矩阵的转换模式设置为纵向延伸或偏移模式;S1. Set the height of the ImageView to an adjustable mode, create an original bitmap, convert the original bitmap into an RGB color value matrix, and set the conversion mode of the RGB color value matrix to a vertical extension or offset mode;
S2.根据原始位图创建画布,将RGB色彩取值矩阵的矩阵向量和画布以相同的方式沿高度方向的正方向延伸,延伸的高度为倒影的高度值与衔接处的高度值之和;S2. Create a canvas according to the original bitmap, and extend the matrix vector of the RGB color value matrix and the canvas in the same direction in the positive direction of the height direction, and the height of the extension is the sum of the height value of the reflection and the height value of the joint;
S3.构建倒影缓存池;S3. Building a reflection buffer pool;
S4.使用画笔在延伸后画布上的绘制原始图片;S4. Use the brush to draw the original picture on the extended canvas;
S5.重置画笔,调整画笔的RGB渐变值;S5. Reset the brush and adjust the RGB gradient value of the brush;
S6.使用画笔在延伸后画布上的绘制倒影图片,并将倒影图片加入倒影缓存池中;以及S6. Using a brush to draw a reflection image on the extended canvas, and adding the reflection image to the reflection buffer pool;
S7.当需要重绘倒影图片时,从倒影缓存池中读取缓存的倒影图片来完成倒影图片的重绘。S7. When it is necessary to redraw the reflection picture, the cached reflection picture is read from the reflection buffer pool to complete the redrawing of the reflection picture.
在上述技术方案的基础上,步骤S1中还包括将ImageView的预绘制功能关闭的步骤。Based on the above technical solution, step S1 further includes the step of turning off the pre-rendering function of the ImageView.
在上述技术方案的基础上,步骤S2中采用Least Recently Used缓存算法构建倒影缓存池,倒影缓存池的数据结构容器为LinkedHashMap,缓存池的数据结构容器的缓存容量的计算公式为:Based on the above technical solution, the Least Recently Used cache algorithm is used to construct the reflection buffer pool in step S2. The data structure container of the reflection buffer pool is LinkedHashMap, and the calculation formula of the buffer capacity of the data structure container of the buffer pool is:
其中,SIZE cache为最终缓存容量大小,maxMemery为应用运行时的内存极大值,ByteCount为单张图片的最大内存占用值,minElement为Least Recently Used算法限定的最小容量值。 Among them, SIZE cache is the final cache size, maxMemery is the maximum memory value of the application runtime, ByteCount is the maximum memory occupancy value of a single picture, and minElement is the minimum capacity value defined by the Least Recently Used algorithm.
在上述技术方案的基础上,步骤S6中还采用原子包装类对画笔的线性渲染进行原子包裹。Based on the above technical solution, the atomic wrapping class is used to perform atomic wrapping on the linear rendering of the brush in step S6.
在上述技术方案的基础上,步骤S6中采用路径绘制法或者矩阵绘制法绘制倒影图片。Based on the above technical solution, the reflection picture is drawn by the path drawing method or the matrix drawing method in step S6.
在上述技术方案的基础上,采用路径绘制法绘制倒影图片时,根据倒影的像素坐标值拟合出绘制轨迹路径,然后使用RectF读取路径值,绘制时直接从RectF中读取路径值,完成倒影图片的绘制。On the basis of the above technical solution, when the reflection picture is drawn by the path drawing method, the drawing path is fitted according to the pixel coordinate value of the reflection, and then the path value is read by using RectF, and the path value is directly read from the RectF when drawing, and the completion is completed. The drawing of the reflection picture.
在上述技术方案的基础上,所述倒影生成方法还包括清理倒影缓存池的步骤。Based on the foregoing technical solution, the reflection generating method further includes the step of cleaning the reflection buffer pool.
本发明还提供一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述方法的步骤。The present invention also provides a storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the above method.
本发明还提供一种设备,包括存储器、处理器及存储在存储器上并在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述方法的步骤。The present invention also provides an apparatus comprising a memory, a processor, and a computer program stored on the memory and running on the processor, the processor implementing the steps of the method when the computer program is executed.
本发明的目的在于提供一种能解决原始图片与倒影图片的衔接平滑度问题,且能解决倒影重绘引发的性能问题的用于安卓电视的倒影生成系统。It is an object of the present invention to provide a reflection generation system for an Android TV that can solve the problem of smoothness of convergence between an original picture and a reflection picture, and can solve the performance problem caused by reflection redraw.
为达到以上目的,本发明采取的技术方案是:In order to achieve the above objectives, the technical solution adopted by the present invention is:
一种用于安卓电视的倒影生成系统,包括:A reflection generating system for an Android TV, comprising:
绘图模块,其用于创建原始位图,将原始位图转化为RGB色彩取值矩阵,并将RGB色彩取值矩阵的转换模式设置为纵向延伸或偏移模式,所述绘图模块还根据原始位图创建画布,将RGB色彩取值矩阵的矩阵向量和画布以相同的方式沿高度方向的正方向延伸,延伸的高度为倒影的高度值与衔接处的高度值之和,然后在延伸后画布上的绘制原始图片和倒影图片;a drawing module for creating an original bitmap, converting the original bitmap into an RGB color value matrix, and setting a conversion mode of the RGB color value matrix to a vertical extension or offset mode, the drawing module also according to the original bit The drawing creates a canvas, and the matrix vector of the RGB color value matrix and the canvas extend in the same direction in the positive direction of the height direction, and the height of the extension is the sum of the height value of the reflection and the height value of the joint, and then on the extended canvas. Drawing original pictures and reflection pictures;
缓存模块,其用于缓存绘图模块绘制的倒影图片;以及a cache module for caching a reflection image drawn by the drawing module;
调用模块,当需要重绘倒影图片时,其用于从缓存模块中读取缓存的倒影图片。The module is called, which is used to read the cached reflection picture from the cache module when it is necessary to redraw the reflection picture.
与现有技术相比,本发明的优点在于:The advantages of the present invention over the prior art are:
(1)本发明的用于安卓电视的倒影生成方法,先对RGB色彩取值矩阵的矩阵向量和画布做延伸处理,后续步骤中采用延伸绘制原始图片与倒影图片的方式后,二者后就成为一个整体,中间不存在像素间隙,很好的解决平滑度问题。(1) The method for generating a reflection for an Android TV according to the present invention first performs an extension process on a matrix vector and a canvas of an RGB color value matrix, and after extending the original image and the reflection image in a subsequent step, the two are Becoming a whole, there is no pixel gap in the middle, which is a good solution to the smoothness problem.
(2)倒影缓存池使用LRU(Least Recently Used,最近最少使用)缓存算法构建,缓存容量的计算根据设备应用运行时内存来进行动态计算分配,避免初始化固定值带来的内存过剩或内存溢出问题。(2) The reflection buffer pool is built using the LRU (Least Recently Used) cache algorithm. The calculation of the cache capacity is dynamically calculated according to the memory of the device application runtime, avoiding the memory overload or memory overflow caused by initializing the fixed value. .
(3)倒影图片绘制加入基于LRU缓存算法的倒影缓存池机制,如果需要重绘倒影图片,则只需从倒影缓存池中直接读取预先缓存的倒影图片,并通知重置画布图层完成重绘,这样重复绘制或过度绘制倒影的效率相比常规方式更为高效合理。(3) The reflection picture is added to the reflection buffer pool mechanism based on the LRU cache algorithm. If the reflection picture needs to be redrawn, the pre-cached reflection picture is directly read from the reflection buffer pool, and the reset canvas layer is notified to complete the weight. Drawing, the efficiency of repeated drawing or over-drawing reflections is more efficient and reasonable than conventional methods.
(4)采用路径绘制法或者矩阵绘制法绘制倒影图片很好的解决了抗锯齿的问题。(4) Using the path drawing method or the matrix drawing method to draw the reflection picture is a good solution to the problem of anti-aliasing.
图1为本发明实施例中用于安卓电视的倒影生成方法的流程图;1 is a flowchart of a method for generating a reflection of an Android TV according to an embodiment of the present invention;
图2为本发明实施例中设备连接框图。2 is a block diagram of a device connection in an embodiment of the present invention.
以下结合附图及实施例对本发明作进一步详细说明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
参见图1所示,本发明实施例提供一种用于安卓电视的倒影生成方法,该方法包括以下步骤:As shown in FIG. 1 , an embodiment of the present invention provides a method for generating a reflection for an Android TV, the method comprising the following steps:
S1.将ImageView的高度设置为可调节模式,创建原始位图,将原始位图转化为RGB色彩取值矩阵,并将RGB色彩取值矩阵的转换模式设置为纵向延伸或偏移模式。S1. Set the height of the ImageView to the adjustable mode, create the original bitmap, convert the original bitmap into an RGB color value matrix, and set the conversion mode of the RGB color value matrix to the vertical extension or offset mode.
绘制倒影会导致生成的带倒影的位图的高度超过原有ImageView的高度,因此需要提前将ImageView的高度设置成高度可调节模式,即将clipToPadding设置为不可用状态。为了防止绘制的图层产生重叠,还需要关闭ImageView的预绘制功能。此外还需要将原始位图转化为3x3的RGB色彩取值矩阵,并将RGB色彩取值矩阵的转换模式设置为纵向延伸或偏移模式。Drawing a reflection causes the resulting bitmapped height to exceed the height of the original ImageView, so you need to set the height of the ImageView to a height-adjustable mode in advance, setting clipToPadding to an unavailable state. In order to prevent overlapping of the drawn layers, you also need to turn off the pre-rendering of ImageView. In addition, the original bitmap needs to be converted into a 3x3 RGB color value matrix, and the conversion mode of the RGB color value matrix is set to the vertical extension or offset mode.
S2.根据原始位图创建画布,将RGB色彩取值矩阵的矩阵向量和画布以相同的方式沿高度方向的正方向延伸,延伸的高度为倒影的高度值与衔接处的高度值之和。S2. Create a canvas according to the original bitmap, and extend the matrix vector of the RGB color value matrix and the canvas in the same direction in the positive direction of the height direction, and the height of the extension is the sum of the height value of the reflection and the height value of the joint.
原始图片与倒影图片的衔接平滑度问题其实就是原始图片与倒影图片之间存在像素间隙,因为二者是隔离开来的不是一个整体。但是本步骤中先对RGB色彩取值矩阵的矩阵向量和画布做延伸处理,后续步骤中采用延伸绘制原始图片与倒影图片的方式后,二者后就成为一个整体,中间不存在像素间隙,因此采用延伸绘制可以很好的解决平滑度问题。The problem of smoothness of the original picture and the reflection picture is that there is a pixel gap between the original picture and the reflection picture, because the two are isolated and not a whole. However, in this step, the matrix vector of the RGB color value matrix and the canvas are first extended. In the subsequent steps, the method of extending the original image and the reflected image is used, and then the two become a whole, and there is no pixel gap in the middle. The use of extended drawing can solve the smoothness problem very well.
S3.构建倒影缓存池。S3. Build a reflection buffer pool.
本发明实施例为解决倒影绘制的耗时和性能问题,在绘制倒影图片前先构建倒影缓存池BitmapMemeryCache,倒影图片绘制完成后同步填充至缓存池中,待后续重绘直接从倒影缓存池中读取缓存数据,无需进行画布初始化进行重复绘制。其中倒影缓存池使用LRU(Least Recently Used,最近最少使用)缓存算法构建,缓存所使用的数据结构容器为LinkedHashMap(键Key为原始图片的MD5值,值Value为倒影图片资源Bitmap):LinkedHashMap<MD5,Bitmap>。对于LinkedHashMap,其Map接口的哈希表和链接列表实现,具有可预知的迭代顺序。此实现与HashMap的不同之处在于,后者维护着一个运行于所有条目的双重链接列表。此链接列表定义了迭代顺序,该迭代顺序通常就是将键插入到映射中的顺序倒影。In order to solve the time-consuming and performance problem of the reflection drawing, the embodiment of the present invention constructs a reflection buffer pool BitmapMemeryCache before drawing the reflection picture, and the reflection picture is filled into the buffer pool after being completed, and is to be read directly from the reflection buffer pool after subsequent re-rendering. Take the cached data without repeating the canvas initialization. The reflection buffer pool is constructed by using the LRU (Least Recently Used) cache algorithm. The data structure container used by the cache is a LinkedHashMap (the key is the MD5 value of the original image, and the value Value is the bitmap image resource Bitmap): LinkedHashMap<MD5 , Bitmap>. For LinkedHashMap, the hash table and link list implementation of the Map interface has a predictable iteration order. This implementation differs from HashMap in that it maintains a double-linked list that runs on all entries. This list of links defines the iteration order, which is usually the sequential reflection of the key inserted into the map.
缓存的容量计算依赖于应用运行时极大内存值maxMemery,并根据LRU算法限定的容器最小容量为minElement=8,最后计算出的缓存容量SIZE cache为: The cache capacity calculation depends on the application runtime maximum memory value maxMemery, and the minimum container size defined by the LRU algorithm is minElement=8, and the last calculated cache capacity SIZE cache is:
其中,SIZE cache为最终缓存容量大小,maxMemery为应用运行时的内存极大值,ByteCount为单张图片的最大内存占用值,minElement为Least Recently Used算法限定的最小容量值。 Among them, SIZE cache is the final cache size, maxMemery is the maximum memory value of the application runtime, ByteCount is the maximum memory occupancy value of a single picture, and minElement is the minimum capacity value defined by the Least Recently Used algorithm.
S4.使用画笔在延伸后画布上的绘制原始图片。S4. Use the brush to draw the original image on the extended canvas.
S5.重置画笔,调整画笔的RGB渐变值。S5. Reset the brush and adjust the RGB gradient value of the brush.
S6.使用画笔在延伸后画布上的绘制倒影图片,并将倒影图片加入倒影缓存池中。S6. Use the brush to draw a reflection image on the extended canvas and add the reflection image to the reflection buffer pool.
为防止在绘制倒影时形成马赛克效果,画笔需要关闭抗锯齿效果AntiAlias。画笔在画布上绘制倒影分为两个阶段两种状态,第一阶段即为绘制原始图片,此阶段状态为为STATE Orgin,画笔的ARGB渐进 值LinearGradient为系统默认值: To prevent mosaic effects when drawing reflections, the brush needs to turn off Anti-aliasing AntiAlias. The brush draws a reflection on the canvas into two phases. The first phase is to draw the original image. The state of this phase is STATE Orgin , and the brush's ARGB progressive value LinearGradient is the system default:
LinearGradient(0,0,0,0,new int[]{0x77000000,0x66AAAAAA,0x0500000,0x00000000},Shader.TileMode.CLAMP))LinearGradient(0,0,0,0,new int[]{0x77000000,0x66AAAAAA,0x0500000,0x00000000},Shader.TileMode.CLAMP))
第二阶段即为绘制倒影图片,此阶段状态为为STATE Reflect,该阶段的画笔ARGB渐进值的起始和中间Shard值会调暗,同时设置Alpha透明通道在0.1~0.9区间。 The second stage is to draw a reflection picture. The state of this stage is STATE Reflect . The initial and intermediate Shard values of the ARGB progressive value of the brush in this stage will be dimmed, and the Alpha transparent channel is set in the range of 0.1 to 0.9.
由于画笔在画布上绘制原始图片和倒影图片始终就只有2种状态:STATE Orgin和STATE Reflect,因此重置画笔就是在这两种状态下进行渐进值的来回切换,由于绘制倒影图片会耗时操作,因此需要放在子线程中进行,如果出现多条线程并发访问画笔就属于原子操作ActomicCallback,为解决并发带来的画笔状态切换问题,需要做并发原子访问处理:AtomicPaint<LinearGradient> Since the brush draws the original image and the reflection image on the canvas, there are always only two states: STATE Orgin and STATE Reflect . Therefore, resetting the brush is to switch the progressive value back and forth in these two states, because drawing the reflection image will take time. Therefore, it needs to be placed in the child thread. If multiple threads concurrently access the brush, it belongs to the atomic operation ActomicCallback. To solve the problem of brush state switching caused by concurrency, you need to do concurrent atomic access processing: AtomicPaint<LinearGradient>
为防止多个引用切换画笔的线性渲染LinearGradient,本发明实施例使用原子包装类Atomic对LinearGradient进行原子包裹,如果出现并发访问,则维持画笔为最先访问时状态,待最新访问完成,则进行LinearGradient拆包操作,释放属性访问权限进行Paint状态的切换。In order to prevent the linear rendering of the multi-reference switching brush LinearGradient, the embodiment of the present invention uses the atomic packaging class Atomic to atomize the LinearGradient. If concurrent access occurs, the brush is maintained as the first access state, and when the latest access is completed, the LinearGradient is performed. The unpacking operation releases the attribute access permission to switch the Paint state.
对于倒影图片的绘制,在安卓系统4.3(API18)以及安卓系统4.4(API19)及其以上版本中关闭抗锯齿效果会导致倒影绘制的渐进值进度损失,因此为防止该问题,本发明实施例对应不同安卓系统版本可采用路径绘制法或者矩阵绘制法绘制倒影图片。For the rendering of the reflection picture, the anti-aliasing effect is turned off in the Android system 4.3 (API18) and the Android system 4.4 (API19) and above, which may result in a progressive value loss of the reflection drawing. Therefore, in order to prevent this problem, the embodiment of the present invention corresponds to Different Android system versions can use the path drawing method or the matrix drawing method to draw the reflection picture.
在BuildSystem.OS.INT<=18、安卓系统版本在4.3或低于4.3,采用路径绘制法绘制倒影图片,根据倒影的像素坐标值拟合出绘制轨迹路径,然后使用RectF读取路径值,绘制时直接从RectF中读取路径值,完成倒影图片的绘制。RectF为以浮点型(float)数据来保存View坐标信息(top、bottom、left、right)的结构体,RectF可维持绘制前后或绘制过程中的进度损失。In BuildSystem.OS.INT<=18, Android version is 4.3 or lower, draw the reflection picture by path drawing method, fit the drawing path according to the pixel coordinate value of the reflection, and then use RectF to read the path value and draw The path value is directly read from the RectF to complete the rendering of the reflection picture. RectF is a structure that stores View coordinate information (top, bottom, left, and right) in floating point data. RectF maintains the progress loss before and after drawing or during drawing.
在BuildSystem.OS.INT>=19安卓系统版本版本在4.4或高于4.4,在4.4及其以上版本中由于提供了更为高效的向量Vector绘制法,向量Vector绘制法也是一种矩阵绘制法,其将矩阵数据转为向量,Vector会根据位图的ARGB矩阵行列式进行转置操作,因此可有效解决抗锯齿问题。In the BuildSystem.OS.INT>=19 Android version is 4.4 or higher, in 4.4 and above, because the vector vector drawing method is more efficient, the Vector Vector drawing method is also a matrix drawing method. It converts the matrix data into a vector, and the Vector transposes according to the ARGB matrix determinant of the bitmap, so the anti-aliasing problem can be effectively solved.
S7.当需要重绘倒影图片时,从倒影缓存池中读取缓存的倒影图片来完成倒影图片的重绘。S7. When it is necessary to redraw the reflection picture, the cached reflection picture is read from the reflection buffer pool to complete the redrawing of the reflection picture.
本发明实施例中,由于倒影图片绘制加入基于LRU缓存算法的倒影缓存池机制,如果需要重绘倒影图片,则只需从倒影缓存池中直接读取预先缓存的倒影图片,并通知重置画布图层完成重绘,这样重复绘制或过度绘制倒影的效率相比常规方式更为高效合理。In the embodiment of the present invention, since the reflection picture is added to the reflection buffer pool mechanism based on the LRU cache algorithm, if the reflection picture needs to be redrawn, the pre-cached reflection picture is directly read from the reflection buffer pool, and the reset canvas is notified. The layer is redrawed so that the efficiency of repeating or over-drawing the reflection is more efficient and reasonable than the conventional method.
由于位图为高内存消耗单位,因此在缓存出现溢满或不在使用的情况下,都需要进行对倒影缓存池进行清理,依赖JVM回收会降低效率,因此本发明实施例在ImageView解绑窗口detachedFromWindow不可见状态时会做对象回收的操作Bitmap.recycle,同时LRU对象也会做引用强制解除的操作,防止内存溢出MemmeryLeak。Because the bitmap is a high memory consumption unit, in the case that the cache overflows or is not in use, the reflection buffer pool needs to be cleaned, and relying on the JVM recovery will reduce the efficiency. Therefore, the embodiment of the present invention unbinds the window in the ImageView. Invisible state will do the object recovery operation Bitmap.recycle, and the LRU object will also do the reference forced release operation to prevent memory overflow MemmeryLeak.
综上所述,本发明实施例先对RGB色彩取值矩阵的矩阵向量和画布做延伸处理,后续步骤中采用延伸绘制原始图片与倒影图片的方式后,二者后就成为一个整体,中间不存在像素间隙,很好的解决平滑度问题。倒影缓存池使用LRU(Least Recently Used,最近最少使用)缓存算法构建,缓存容量的计算根据设备应用运行时内存来进行动态计算分配,避免初始化固定值带来的内存过剩或内存溢出问题。倒影图片绘制加入基于LRU缓存算法的倒影缓存池机制,如果需要重绘倒影图片,则只需从倒影缓存池中直接读取预先缓存的倒影图片,并通知重置画布图层完成重绘,这样重复绘制或过度绘制倒影的 效率相比常规方式更为高效合理。此外,采用路径绘制法或者矩阵绘制法绘制倒影图片很好的解决了抗锯齿的问题。In summary, the embodiment of the present invention first performs the extension processing on the matrix vector and the canvas of the RGB color value matrix. After the method of extending the original image and the reflected image in the subsequent steps, the two become a whole, and the middle does not There is a pixel gap, which is a good solution to the smoothness problem. The reflection buffer pool is built using the LRU (Least Recently Used) cache algorithm. The calculation of the cache capacity is dynamically calculated according to the runtime of the device application runtime, avoiding the memory overrun or memory overflow caused by initializing the fixed value. The reflection picture is added to the reflection buffer pool mechanism based on the LRU cache algorithm. If you need to redraw the reflection picture, you only need to directly read the pre-cached reflection picture from the reflection buffer pool and notify the reset canvas layer to complete the redraw. The efficiency of repeating or over-drawing a reflection is more efficient and reasonable than conventional methods. In addition, the use of path rendering or matrix rendering to draw a reflection image is a good solution to the problem of anti-aliasing.
对应上述的用于安卓电视的倒影生成方法,本发明实施例还提供一种存储介质,其上存储有计算机程序,该计算机程序被处理器执行时可实现上述实施例中的用于安卓电视的倒影生成方法的步骤。需要说明的是,存储介质包括U盘、移动硬盘、ROM(Read-Only Memory,只读存储器)、RAM(Random Access Memory,随机存取存储器)、磁碟或者光盘等各种可以存储程序代码的介质。Corresponding to the above-mentioned method for generating a reflection for an Android TV, the embodiment of the present invention further provides a storage medium on which a computer program is stored, and when the computer program is executed by the processor, the Android TV for the above embodiment can be implemented. The steps of the reflection generation method. It should be noted that the storage medium includes a U disk, a mobile hard disk, a ROM (Read-Only Memory), a RAM (Random Access Memory), a magnetic disk, or an optical disk, and the like, which can store program codes. medium.
另外,参见图2所示,对应上述的用于安卓电视的倒影生成方法,本发明实施例还提供一种设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,该处理器执行计算机程序时可实现上述实施例中的用于安卓电视的倒影生成方法的步骤。In addition, referring to FIG. 2, in accordance with the foregoing method for generating a reflection for an Android TV, an embodiment of the present invention further provides an apparatus, including a memory, a processor, and a computer program stored on the processor and operable on the processor. When the processor executes the computer program, the steps of the reflection generation method for the Android TV in the above embodiment may be implemented.
本发明实施例还提供一种用于安卓电视的倒影生成系统,其包括绘图模块、缓存模块和调用模块。The embodiment of the invention further provides a reflection generating system for an Android TV, which comprises a drawing module, a cache module and a calling module.
绘图模块,其用于创建原始位图,将原始位图转化为RGB色彩取值矩阵,并将RGB色彩取值矩阵的转换模式设置为纵向延伸或偏移模式,绘图模块还根据原始位图创建画布,将RGB色彩取值矩阵的矩阵向量和画布以相同的方式沿高度方向的正方向延伸,延伸的高度为倒影的高度值与衔接处的高度值之和,然后在延伸后画布上的绘制原始图片和倒影图片;A drawing module for creating a raw bitmap, converting the original bitmap into an RGB color value matrix, and setting the conversion mode of the RGB color value matrix to a vertical extension or offset mode, and the drawing module is also created based on the original bitmap In the canvas, the matrix vector of the RGB color value matrix and the canvas extend in the same direction in the positive direction of the height direction, and the height of the extension is the sum of the height value of the reflection and the height value of the joint, and then is drawn on the canvas after the extension. Original picture and reflection picture;
缓存模块,其用于缓存绘图模块绘制的倒影图片;以及a cache module for caching a reflection image drawn by the drawing module;
调用模块,当需要重绘倒影图片时,其用于从缓存模块中读取缓存的倒影图片。The module is called, which is used to read the cached reflection picture from the cache module when it is necessary to redraw the reflection picture.
本发明不局限于上述实施方式,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰, 这些改进和润饰也视为本发明的保护范围之内。本说明书中未作详细描述的内容属于本领域专业技术人员公知的现有技术。The present invention is not limited to the above embodiments, and those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. These improvements and retouchings are also considered as protection of the present invention. Within the scope. The contents not described in detail in the present specification belong to the prior art well known to those skilled in the art.
Claims (10)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710528340.5A CN107492131B (en) | 2017-07-01 | 2017-07-01 | Inverted image generation method, storage medium, equipment and system for android television |
| CN201710528340.5 | 2017-07-01 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019006999A1 true WO2019006999A1 (en) | 2019-01-10 |
Family
ID=60644427
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/117368 Ceased WO2019006999A1 (en) | 2017-07-01 | 2017-12-20 | REFERENCE GENERATION METHOD APPLIED TO ANDROID TELEVISION, INFORMATION MEDIUM, DEVICE AND SYSTEM |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107492131B (en) |
| WO (1) | WO2019006999A1 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107492131B (en) * | 2017-07-01 | 2020-06-12 | 武汉斗鱼网络科技有限公司 | Inverted image generation method, storage medium, equipment and system for android television |
| CN110737476B (en) * | 2018-07-18 | 2021-08-20 | 华为技术有限公司 | Method and device for restarting terminal |
| CN112346613A (en) * | 2020-10-29 | 2021-02-09 | 深圳Tcl新技术有限公司 | Icon display effect control method, terminal and computer-readable storage medium |
| CN112837255A (en) * | 2021-04-13 | 2021-05-25 | 上海影卓信息科技有限公司 | Method and system for adding float-drawn sea wave reflection in image |
| CN114549704A (en) * | 2022-01-26 | 2022-05-27 | 惠州华阳通用电子有限公司 | Display method of animation progress bar and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101394488A (en) * | 2008-08-28 | 2009-03-25 | 新奥特(北京)视频技术有限公司 | Statistical method for subtitle rendering efficiency based on template |
| CN101470893A (en) * | 2007-12-26 | 2009-07-01 | 中国科学院声学研究所 | Vector graphic display acceleration method based on bitmap caching |
| CN101662597A (en) * | 2008-08-28 | 2010-03-03 | 新奥特(北京)视频技术有限公司 | Template-based statistical system for subtitle rendering efficiency |
| US20130021361A1 (en) * | 2010-04-21 | 2013-01-24 | Zte Corporation | Method and device for rendering user interface font |
| CN107492131A (en) * | 2017-07-01 | 2017-12-19 | 武汉斗鱼网络科技有限公司 | Inverted image generation method, storage medium, equipment and system for Android TV |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2003094253A2 (en) * | 2002-05-03 | 2003-11-13 | Luxell Technologies Inc. | Dark layer for an electroluminescent device |
| JP4372700B2 (en) * | 2005-02-17 | 2009-11-25 | シャープ株式会社 | Image forming apparatus, control program for image forming apparatus, and recording medium |
| US7583780B2 (en) * | 2006-06-22 | 2009-09-01 | General Electric Company | Systems and methods for improving a resolution of an image |
| US20100013959A1 (en) * | 2008-07-17 | 2010-01-21 | Barinder Singh Rai | Efficient Generation Of A Reflection Effect |
-
2017
- 2017-07-01 CN CN201710528340.5A patent/CN107492131B/en active Active
- 2017-12-20 WO PCT/CN2017/117368 patent/WO2019006999A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101470893A (en) * | 2007-12-26 | 2009-07-01 | 中国科学院声学研究所 | Vector graphic display acceleration method based on bitmap caching |
| CN101394488A (en) * | 2008-08-28 | 2009-03-25 | 新奥特(北京)视频技术有限公司 | Statistical method for subtitle rendering efficiency based on template |
| CN101662597A (en) * | 2008-08-28 | 2010-03-03 | 新奥特(北京)视频技术有限公司 | Template-based statistical system for subtitle rendering efficiency |
| US20130021361A1 (en) * | 2010-04-21 | 2013-01-24 | Zte Corporation | Method and device for rendering user interface font |
| CN107492131A (en) * | 2017-07-01 | 2017-12-19 | 武汉斗鱼网络科技有限公司 | Inverted image generation method, storage medium, equipment and system for Android TV |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107492131A (en) | 2017-12-19 |
| CN107492131B (en) | 2020-06-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2019006999A1 (en) | REFERENCE GENERATION METHOD APPLIED TO ANDROID TELEVISION, INFORMATION MEDIUM, DEVICE AND SYSTEM | |
| AU2010313045B2 (en) | Image file generation device, image processing device, image file generation method, image processing method, and data structure for image files | |
| JP6073533B1 (en) | Optimized multi-pass rendering on tile-based architecture | |
| CN103793893B (en) | Primitive rearrangement between the world being processed using limit relief area and screen space pipeline | |
| KR102122454B1 (en) | Apparatus and Method for rendering a current frame using an image of previous tile | |
| US9715750B2 (en) | System and method for layering using tile-based renderers | |
| US9129581B2 (en) | Method and apparatus for displaying images | |
| KR102454893B1 (en) | Graphic Processing Apparatus and Operating Method thereof | |
| JP5368254B2 (en) | Image file generation device, image processing device, image file generation method, image processing method, and data structure of image file | |
| US9811940B2 (en) | Bandwidth reduction using vertex shader | |
| KR102055467B1 (en) | Virtual surface allocation | |
| US20180144538A1 (en) | Method and apparatus for performing tile-based rendering | |
| US9235925B2 (en) | Virtual surface rendering | |
| CN105335364B (en) | A method and device for realizing acceleration of view sliding display | |
| US20110069065A1 (en) | Image processing apparatus, computer readable medium and method thereof | |
| CN114998087B (en) | Rendering method and device | |
| JP5296656B2 (en) | Image processing apparatus and image processing method | |
| JP2006209108A (en) | Font cache and meta-font | |
| CN103650004B (en) | Image processing apparatus, image processing method and integrated circuit | |
| CN120198562A (en) | A simulation scene rendering optimization method | |
| EP4379647A1 (en) | Render format selection method and device related thereto | |
| US7295210B2 (en) | Bin pointer and state caching apparatus and method | |
| KR20230107554A (en) | Methods and Apparatus for Rasterization of Compute Workloads | |
| US9251557B2 (en) | System, method, and computer program product for recovering from a memory underflow condition associated with generating video signals | |
| US20130063475A1 (en) | System and method for text rendering |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17916557 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17916557 Country of ref document: EP Kind code of ref document: A1 |