Home > Samsung > Processor > Samsung Exynos 5 User Manual

Samsung Exynos 5 User Manual

    Download as PDF Print this page Share this page

    Have a look at the manual Samsung Exynos 5 User Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 1705 Samsung manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.

    Page
    of 881
    							Samsung Confidential  
    Exynos 5250_UM 15 Display Controller 
     15-29  
    15.3.6.2 Blending Diagram 
    The display controller can blend five layers for a pixel simultaneously. ALPHA0_R, ALPHA0_G, ALPHA0_B, 
    ALPHA1_R, ALPHA1_G, and ALPHA1_B registers control the alpha value (blending factor). These alpha values 
    are implemented for each window layer and color (R, G, B). 
    This example describes the R (Red) output using ALPHA_R value of each window:  
    All windows contain two types of alpha blending value: 
     Alpha value when transparency enable bit sets to 1(AEN value == 1) 
     Alpha value when transparency enable bit sets to 0 (AEN value == 0). 
    When you enable W INEN_F and BLD_PIX, and disable ALPHA_SEL, then AR is selected by using the equation: 
    AR = (Pixel (R)s AEN value == 1’b1) ? Reg (ALPHA1_R): Reg (ALPHA0_R); 
    AG = (Pixel (G)s AEN value == 1’b1) ? Reg (ALPHA1_G): Reg (ALPHA0_G); 
    AB = (Pixel (B)s AEN value == 1’b1) ? Reg (ALPHA1_B): Reg (ALPHA0_B); 
    (where, BLD_ PIX == 1, ALPHA_SEL == 0) 
     
    When you enable W INEN_F and disable BLD_PIX, the ALPHA_SEL ALPHA0 controls AR. AEN bit information is 
    no more in use. 
    Figure 15-6 illustrates the blending diagram. 
     
        Figure 15-6   Blending Diagram 
    NOTE: Refer to SFR section for more information when you decide window ns blending factor (n = 0, 1, 2, 3, 4). AR0Win0(R)AR1Win1(R)AR2Win2(R)AR3Win3(R)AR4Win4(R)
    Blending 1
    AR1Win1(R)
    Blending 2
    AR2Win2(R)
    Blending 3
    AR3Win3(R)
    Blending 4
    OUTPUT(R)
    alphaAalphaBAB   
    						
    							Samsung Confidential  
    Exynos 5250_UM 15 Display Controller 
     15-30  
    Figure 15-7 illustrates the blending factor decision. 
     
        Figure 15-7   Blending Factor Decision 
    NOTE: When DATA[15:12] (BPPMODE_F = 1110, ARGB4444 format) is used to blend, the alpha value is {DATA[15:12], 
    DATA[15:12]} (4-bit  8-bit expanding).  
      AR decisionARn
    ALPHA0_R
    ALPHA1_R
    DATA
    Palette
    Keying
    AEN
    BLD_PIX
    ALPHA_SEL
    ALPHA_MUL   
    						
    							Samsung Confidential  
    Exynos 5250_UM 15 Display Controller 
     15-31  
    15.3.6.3 3D Stereoscopic Function 
    Figure 15-8 illustrates the blending factor decision. 
     
        Figure 15-8   Blending Factor Decision 
     
     WIN0 (RGB)WIN1 (RGB)WIN2 (RGB)WIN3 (RGB)WIN4 (RGB)
    BlendingColor Keying
    BlendingColor Keying
    BlendingColor Keying
    BlendingColor Keying
    Color Gain (RGB)
    RGBe
    RGB888RGB888RGB888RGB888RGB888
    RGB888
    RGB888
    RGB888
    RGB888
    RGBb
    RGB888
    LR_MERGER
    RGB888RGB888
    LR_MERGER
    RGB888RGB888  
    						
    							Samsung Confidential  
    Exynos 5250_UM 15 Display Controller 
     15-32  
    The LR_MERGER block supports the 3D stereoscopic display. This block is located before the blending logic. The 
    LR_MERGER creates a new frame by merging two left and right frames for 3D stereoscopic display device.  
    When MERGE_EN is set to 1 and L_FIRST is set to 1, it generates two outputs: 
     A merged data stream output, which begins with L frame data 
     An output that begins with R frame data 
    Figure 15-9 and Figure 15-10 illustrate examples of the timing diagram for LR_MERGER block. 
     
        Figure 15-9   Timing Diagram for LR_MERGER Block 
     
      
    						
    							Samsung Confidential  
    Exynos 5250_UM 15 Display Controller 
     15-33  
    When INTERPOL_EN bit is set to 1, the output data is the interpolated data with data of two pixels. 
     
        Figure 15-10   Timing Diagram for LR_MERGER Block 
     
      
    						
    							Samsung Confidential  
    Exynos 5250_UM 15 Display Controller 
     15-34  
    When LINE_SWAP bit is set to 1, the order of the output data in even line and odd line are reverse.  
    Figure 15-11 illustrates the output frame for LR_MERGER block. 
     
        Figure 15-11   Output Frame for LR_MERGER Block 
     
     
      
    						
    							Samsung Confidential  
    Exynos 5250_UM 15 Display Controller 
     15-35  
    15.3.6.4 Color Key Function 
    The Color Key function in display controller supports various effects for image mapping. For special functionality, 
    the background image substitutes the Color Key register that specifies the color image of OSD layer. It substitutes 
    the Color Key register, either as a cursor image of the camera, or as a preview image of the camera. 
    Figure 15-12 illustrates the configuration of Color Key function. 
     
        Figure 15-12   Color Key Function Configurations 
     
      Window 3
    Window 1
    OSD image 180 x 100
    BG image 320 x 240
    Window 1
    BLEND(ALPHA = 0x7F)
    Window 1
    BLEND (ALPHA = 0xFF)
    Window 1
    BLEND(ALPHA = 0x00)
    Window 3Window 3
    Window 1
    Chroma-Key (KEY_BLEN)(KEY_ALPHA = 0xFF)
    Window 3
    Window 1
    Chroma-Key (KEY_BLEN)(KEY_ALPHA = 0x7F)
    Window 3
    Window 1
    Window 3
    Window 1
    Chroma-Key (not KEY_BLEN)
    Window 3
    Chroma-Key (KEY_BLEN)(KEY_ALPHA = 0x00)   
    						
    							Samsung Confidential  
    Exynos 5250_UM 15 Display Controller 
     15-36  
    15.3.6.5 Blending and Color-Key Function 
    The display controller supports simultaneous blending function. It supports two transparency factors and Color 
    Key function in the same window.  
    Figure 15-13 illustrates the Blending and Color Key function. 
     
        Figure 15-13   Blending and Color-Key Function 
     
     Window 1Window 0
    Sub - menu
    Chroma-key
    Alpha 0 (50%)
    Alpha 1 (100%)
    Sub - menu
    Sub - menu
    Main Menu
    Camera
    Mail
    Memo
    08:23
    Main Menu
    Camera
    Mail
    Memo
    08:23  
    						
    							Samsung Confidential  
    Exynos 5250_UM 15 Display Controller 
     15-37  
    Figure 15-14 illustrates the blending decision diagram. 
     
        Figure 15-14   Blending Decision Diagram 
     
     KEY_EN ?
    Start
    a = 1 (max)b = 0
    N
    Color matchYN
    < Blending Equation Decision >
    KEY_BLEN ?
    a = alphaAb = 1 -alphaA
    YN
    Y
    DIRCONYNY
    a = 0 b = 1 (max)
    a = A_FUNCb = B_FUNC
    End
    Blending & Chroma-keyingalphaAalphaBAB
    alphaB’B’
    Equation Decision
    TransparencyFactor Decision
    DataFormatter
    TransparencyFactor Decision
    DataFormatter
    KEY_EN ?
    Start
    0
    NColor matchYN
    < Transparency factor Decision >
    KEY_BLEN ?
    KEY_ALPHA
    YN
    Y
    BLD_PIX = 1
    ALPHA_SEL
    Y
    ALPHA_SEL
    Only when ‘ARGB’
    N
    ALPHA_1ALPHA_0N
    N
    YY
    BPPMODE[3:2] = 00Y
    WxPAL = 111
    DATA[31:24]
    YN
    AENN
    ALPHA_1ALPHA_0Y
    Palette
    N
    BLEN_NEW
    {DATA[27:24],DATA[27:24]}
    NDATA[31:24]
    Y
    ALPHA_MULYN
    App * ALPHA0
    ApAp
    AppNY
    App * ({ALPHA0[7:4],ALPHA0[7:4]})
    ApAp
    ApAp
    Ap
    ApAp
    BLEN_NEW
    {Ap[7:4],Ap[7:4]}Ap [7:0]AppApp
    BLEN_NEW
    Ap
    Only valid @ ( BLD_PIX = 1 && ALPHA_SEL = 1   &&  (BPPMODE == 1101 or 1110)  )
    End
    App
    Transparency factor  
    						
    							Samsung Confidential  
    Exynos 5250_UM 15 Display Controller 
     15-38  
    15.3.7 Image Enhancement 
    15.3.7.1 Overview  
    The main function of the VPRCS module is image enhancement. The display controller supports these functions:  
     Color Gain 
    Figure 15-15 illustrates the image enhancement flow. 
     
        Figure 15-15   Image Enhancement Flow 
     
    15.3.7.2 Color Gain Control 
    Color Gain Control consists of three registers for each color: Red, Green, and Blue. The maximum value of color 
    gain is 3.99609375 (approximately 4). It contains 8-bit resolution. 
     R (color gain) = R  CG_RGAIN 
     G (color gain) = G  CG_GGAIN 
     B (color gain) = B  CG_BGAIN 
    CG_R (G, B) GAIN consists of 2-bit integer and 8-bit fraction. The maximum value of color gain is approximately 4 
    with 8-bit resolution. 
    The output value saturates at 255. 
     
     CSCY2RBLENDINGRGB I/F
    RGB
    YCbCr
    Image 
    Enhancement
    Block
    Color Gain
    RGB spaceYCbCr space
    WB IF
    LIMITTER  
    						
    All Samsung manuals Comments (0)