Permalink
Switch branches/tags
Nothing to show
Commits on Jun 13, 2012
  1. Revert "vidc: use O_SYNC instead of O_DSYNC"

    This reverts commit 6328de6.
    intervigilium committed Jun 13, 2012
Commits on Jun 11, 2012
  1. mm-video:Use new flag GRALLOC_USAGE_PRIVATE_CP_BUFFER for secure buffers

    Flag GRALLOC_USAGE_PROTECTED is being used for protecting screenshots for
    DRM content. Using flag GRALLOC_USAGE_PRIVATE_CP_BUFFER to specify only if
    secure buffers are needed for DRM content.
    
    Change-Id: I999c6e37313a88d99e7011b89fa3b10351380bf0
    CRs-fixed: 348454
    Riaz Rahaman committed with cyanogen Apr 12, 2012
Commits on May 14, 2012
Commits on May 13, 2012
  1. vidc: use O_SYNC instead of O_DSYNC

    Change-Id: I1f0fb89de5a76a9dea680ee88b61f92907e93919
    intervigilium committed with cyanogen May 11, 2012
Commits on May 6, 2012
  1. vidc: Use O_SYNC for pmem device.

    Necessary as usageflags are indicates an uncached
    device. Without O_SYNC buffers become corrupt leading to
    HW_ERRORS in vidc.
    
    This commit will hopefully fix the video playback issue.
    
    Change-Id: I2fe8d1ce6b8aa93c608c0fb41f94b6f0484a42c2
    scorp2kk committed May 6, 2012
Commits on May 2, 2012
Commits on Apr 23, 2012
  1. mm-video: vidc: Fix incorrect parsing of vdec test app command line args

    While executing decoder test app in single command line mode, there is
    an incorrect extra read of nalSize for H264 arbitrary bytes modes. It
    is breaking the test app functionality. This change fixes this problem
    and updates nalSize only if NAL size option is selected for H264 decoder.
    
    CRs-fixed: 352493
    (cherry picked from commit 24bef27)
    
    Change-Id: I180bb52a1ef51ed3290fa92dea7e8043d7487370
    Rajeshwar Kurapaty committed with Srivalli Oguri Apr 17, 2012
Commits on Apr 19, 2012
  1. vidc: Fix issues raised by klockwork

    Remove banned function scanf and replace it with fgets-sscanf
    
    CRs-Fixed: 346588
    (cherry picked from commit e053413)
    
    Change-Id: Id598adcc56fac5d4fe75875d699d6ac5b695c2cc
    Arun Menon committed with Gopal G Goberu Feb 15, 2012
  2. mm-video:vidc: Avoid dead lock & NULL pointer access

    Added code to take care of possible dead-lock before exiting the
    function. Also, added code to take care of NULL pointer access
    in the code.
    
    CRs-fixed: 346588
    (cherry picked from commit d8fedf1)
    
    Change-Id: Icb617fd60732ca13efaa400578150cec531afdb3
    Anil Gahlot committed with Gopal G Goberu Apr 4, 2012
Commits on Mar 31, 2012
  1. mm-video: vidc: Parse Seq start code and Entry point code for VC1

    With out this change, the decoder test app parser was sending the
    sequence start code and entry point start code at the end of the
    current frame. Hence there was no reconfig message coming from
    the video core. This change will prepend the seq start code and
    entry point start code data at the start of the next frame, as
    expected by the video core.
    
    This change is required in the decoder test app parser to
    support reconfig data in vc1 bitstream.
    
    CRs-fixed: 342166
    (cherry picked from commit 93dc6b4)
    
    Change-Id: I1657b94b5f6eeef270acef4a59f99408342eacfb
    Arun Menon committed with Ram Kumar Chakravarthy Chebathini Mar 19, 2012
Commits on Mar 30, 2012
  1. mm-video: vidc: Try to open secure video decoder again.

    Try to open secure video decoder again if first
    open fails.
    
    Change-Id: I09c6f1db00ef62e023e2640cc17f0dc81f49911e
    Vinay Kalia committed with Linux Build Service Account Mar 28, 2012
  2. Merge "vidc: venc: Update encoder test app to support ION" into ics_c…

    …hocolate
    Linux Build Service Account committed with QuIC Gerrit Code Review Mar 30, 2012
Commits on Mar 29, 2012
  1. vidc: venc: Update encoder test app to support ION

    Encoder test app is updated with ION allocation and
    free for input and output buffers.
    
    Change-Id: Ifa2c4fcb5d05e2ca6ee4d2672449a7af3b0db85d
    CRs-Fixed: 334525
    (cherry picked from commit e481706)
    Mohan Kumar Gubbihalli Lachma Naik committed with Zhoulu Luo Feb 29, 2012
  2. vidc: vdec: Fix possibility of NULL pointer access

    Code changes were made to take care possibility of
    NULL pointer access and also to take care the use
    of uninitialized variable.
    
    CRs-Fixed: 345440
    (cherry picked from commit 05023ab)
    
    Change-Id: Ifa2c9937c57304d2efe6c4eec863bbabda6155f0
    Mohan Kumar Gubbihalli Lachma Naik committed with Gopal G Goberu Mar 22, 2012
Commits on Mar 26, 2012
  1. vidc: venc: add maximum allowed bitrate check parameter

    Bitrate for video encoder cannot be set beyond
    the maximum suported bitrate for the set profile
    and level. This change will enable maximum allowed
    bitrate check condition (via OMX_SetParameter with
    index 'OMX_QcomIndexParamVideoMaxAllowedBitrateCheck')
    and return error if bitrate is more than the set
    profile & level maximum supported bitrate.
    
    CRs-fixed: 345105
    (cherry picked from commit 03c4b86)
    
    Change-Id: Ic6b418042c95c7072d7c825763a422918f81ea26
    Maheshwar Ajja committed with Srivalli Oguri Mar 14, 2012
Commits on Mar 23, 2012
  1. mm-video: update mk for cm9

    Change-Id: I73a1bd021b53ecc4dda7f1490a0e145cdbdcc91a
    Kali- committed Feb 20, 2012
Commits on Mar 16, 2012
  1. vidc: Check the nSize while handling extra data

    There is a corner case in extra data handler if the
    nSize of the extra data structure comes out to be zero.
    Added a check to avoid infinite loop.
    
    Change-Id: I3e86c010d3243acaa583f4e58fa57f8c53f7e67b
    CRs-fixed: 342529
    Rajeshwar Kurapaty committed with Zhoulu Luo Mar 9, 2012
Commits on Mar 15, 2012
  1. vidc: Add slice info extradata feature for encoder

    Single frame can have multiple slices/NAL units.
    video driver can give slice information to
    video encoder component at the end of output
    bitstream if slice information extrdata enabled.
    
    Slice info extradata can be enabled as below,
    OMX_Client can call OMX_SetParameter with
    index "OMX_QcomIndexParamIndexExtraDataType"
    by appropriately sending third argument of
    type QOMX_INDEXEXTRADATATYPE with
    nPortIndex as output port number and
    nIndex as "OMX_ExtraDataVideoEncoderSliceInfo".
    
    The slice information in output buffer can be
    parsed for any errors in component using
    setprop command via adb shell window as below,
    adb shell setprop vidc.venc.debug.sliceinfo 1
    
    The extradata set parameter has to be called
    before "OMX_IndexParamPortDefinition" else
    currently driver is failing to allocate the
    buffers due to buffer size mismatch.
    
    CRs-fixed: 342914
    (cherry picked from commit aedb982)
    
    Change-Id: Iafb38c2ca9588ac6c9d47ae94ee2ff0c0916fe97
    Maheshwar Ajja committed with Srivalli Oguri Feb 17, 2012
Commits on Mar 12, 2012
  1. vidc: Increase the MAX_INPUT_ERROR value

    The OMX_Component errors out if the error count from video driver
    exceeds MAX_INPUT_ERROR. The OMX component queues each SPS and PPS
    separately and the video core returns a non-frame data recoverable
    error after processing each SPS\PPS. With this change, the OMX
    component can queue the max number of SPS and PPS, without
    erroring out.
    
    CRs-fixed: 337499
    (cherry picked from commit 26fd32d)
    
    Change-Id: Idd81a7a43b99bc8f106b892f32a3d7786e265b4b
    Arun Menon committed with Ram Kumar Chakravarthy Chebathini Feb 24, 2012
Commits on Mar 9, 2012
  1. mm-video: Create Decrypt handle internally

    Decoder will create decrypt handle internally, when needed.
    
    (cherry picked from commit 31c0e9a)
    
    Change-Id: I782e8b4c8451f74920925deae47b2f6295233029
    vivek mehta committed with Yen-Pin Hsiao Feb 24, 2012
Commits on Mar 4, 2012
  1. Merge "venc: Support OMX_COLOR_FormatAndroidOpaque color format" into…

    … ics_chocolate
    Linux Build Service Account committed with QuIC Gerrit Code Review Mar 4, 2012
Commits on Mar 1, 2012
  1. venc: Support OMX_COLOR_FormatAndroidOpaque color format

    - The OMX IL Client can set color format to OMX_COLOR_FormatAndroidOpaque
      if the client is unaware of the input color format. (e.g. live effects)
    - If OMX_COLOR_FormatAndroidOpaque is set, we internally map it to
      one of the supported input formats (e.g. OMX_COLOR_FormatYUV420SemiPlanar)
    
    Change-Id: I611f98bb032e1791e40da9a5b84b17db0768e39b
    (cherry picked from commit 79535a2)
    Haynes Mathew George committed with Zhoulu Luo Feb 22, 2012
  2. vidc: vdec: Allocate separate fds for buffers

    Made changes in allocate_output_buffer() to separate the
    fds for decoder output buffers.
    
    Change-Id: I8afb6a67b2df3387522309d0ff02f8d1fa41b794
    (cherry picked from commit 77d7af1)
    
    Conflicts:
    
    	vidc/vdec/src/omx_vdec.cpp
    Mohan Kumar Gubbihalli Lachma Naik committed with Zhoulu Luo Mar 1, 2012
Commits on Feb 29, 2012
  1. venc: Support OMX_COLOR_FormatAndroidOpaque color format

    - The OMX IL Client can set color format to OMX_COLOR_FormatAndroidOpaque
      if the client is unaware of the input color format. (e.g. live effects)
    - If OMX_COLOR_FormatAndroidOpaque is set, we internally map it to
      one of the supported input formats (e.g. OMX_COLOR_FormatYUV420SemiPlanar)
    
    (cherry picked from commit 79535a2)
    
    Change-Id: Ice3ca88edc1131255fa0ee371f66206252d32482
    Haynes Mathew George committed with Linux Build Service Account Feb 22, 2012
Commits on Feb 20, 2012
  1. vidc: Fix for secure mode crash.

    In secure mode memory is never mmaped in userspace
    accordingly memory should never be unmaped.
    added checks as not to unmap the memory when in
    secure mode.
    
    CRs-fixed: 336365
    (cherry picked from commit 1aa31132403ca9a803d9175b785b9846d5f0c828)
    
    Change-Id: I43cd93156f087168fbcc504aace598202bcee2df
    Deepak Kotur committed with Ramakrishna Prasad N Feb 13, 2012
Commits on Feb 15, 2012
  1. vidc: Fix for specific ISDB-T stream playback through test app

    A specific ISDB-T stream is not playing through test app.
    Fixed it by changing the input bitstream error condition
    check in component. In case of arbitrary mode input bit
    stream error is detected in frame parser.
    
    CRs-Fixed: 335614
    (cherry picked from commit cd79433)
    
    Change-Id: I520c133c82aaf5271f625b7d29fff9793fc9eb45
    Pushkaraj Patil committed with Swetha Basineni Feb 8, 2012
Commits on Feb 10, 2012
  1. vidc: vdec: Enable/Disable Time stamp prints on setprop adb command

    Added flag to monitor the setprop bit for vidc.dec.debug.ts
    Based on this flag timestamp will be printed in the log.
    By default these prints will not appear in the log.
    
    CRs-Fixed: 334409
    (cherry picked from commit 946739a)
    
    Change-Id: I86e28617a5497da0864c9723a86ee8e3bce035d2
    Mohan Kumar Gubbihalli Lachma Naik committed with Ramakrishna Prasad N Feb 2, 2012
Commits on Feb 2, 2012
  1. Merge "vidc: Fix for crash in frame parser" into ics_chocolate

    Linux Build Service Account committed with QuIC Gerrit Code Review Feb 2, 2012
Commits on Feb 1, 2012
  1. vidc: Fix for crash in frame parser

    Frame parser is crashing while decoding HRD parameters
    from the corrupted input bitstream. Added a range check
    on the maximum value of the CPB count to avoid the crash.
    
    CRs-Fixed: 331496
    (cherry picked from commit 2affd21)
    
    Change-Id: Id505cfd02a0db54658eb89e76987437e5b70ea27
    Rajeshwar Kurapaty committed with Srivalli Oguri Jan 30, 2012
Commits on Jan 30, 2012
  1. vidc: Fix for slow video playback of an AVI clip

    A particular avi clip contains xvid video, playing slowly
    as compare to audio. The variations in the timestamp values
    are ignored in the adjust timestamp function resulting in
    setting wrong FPS value. Fixed the same by changing the
    timestamp comparison logic.
    
    CRs-fixed: 330010
    (cherry picked from commit 209cba0)
    
    Change-Id: I3c58729990e584c6ae2ff393e19f2942883b4be9
    Pushkaraj Patil committed with Linux Build Service Account Jan 19, 2012
Commits on Jan 27, 2012
  1. vidc: Generate FBD if genlock lock operation fails

    - Add missing call to generate FBD message if genlock_lock fails.
    - Without this call, this particular buffer is never returned back
      to OMX IL client.
    
    (cherry picked from commit cc417ab)
    
    Change-Id: I080902f893cc5cfbc1d33cfacc42cc1fe9884128
    CRs-Fixed: 332651
    Haynes Mathew George committed with Linux Build Service Account Dec 29, 2011
Commits on Jan 24, 2012
  1. vidc: Fix for crash in camcoder while MPEG-4 ASP recoding

    Observing camcoder application crash, while recoding
    MPEG-4 video with ASP profile. The number of B frames
    value is not initialised, while setting intra period.
    Fixed this by initialising it to 0.
    
    CRs-Fixed: 331891
    (cherry picked from commit 06eb548)
    
    Change-Id: Ied8eabe9ebc89642fc2d8b54a8ac689e6ae30fa5
    Pushkaraj Patil committed with Srivalli Oguri Jan 23, 2012
Commits on Jan 22, 2012
  1. vidc: Fix crash in encoder for meta mode

    Check for NULL pointer in meta handle
    
    CRs-Fixed: 331736
    (cherry picked from commit 412262b)
    
    Change-Id: I91e41dd664fbe4b7c66036a6cbe5e44148dab678
    Riaz Rahaman committed with Gopal G Goberu Jan 21, 2012
  2. vidc: Fix for ANR due to continuous bit stream errors.

    For consecutive ETBs with bit stream errors, FBDs are
    not being generated for a long time, resulting in ANR.
    Fixed this by checking the number of consecutive
    input frames with bit stream error and then generating
    OMX event error.
    
    CRs-fixed: 328793
    (cherry picked from commit d111316)
    
    Change-Id: Iff46f680ebfd04e0be5f5ca4174257147de7a150
    Pushkaraj Patil committed with Gopal G Goberu Jan 17, 2012
Commits on Jan 20, 2012
  1. vdec: Return error if OMX_FreeBuffer is called in incorrect state

    - Return a proper error code (OMX_ErrorIncorrectStateOperation) if OMX_FreeBuffer
      is called in an incorrect state.
    
    (cherry picked from commit 249b72c)
    
    Change-Id: I0778f78b047f2125fdec29426fb2bbd264575b1c
    CRs-Fixed: 329874
    Haynes Mathew George committed with Linux Build Service Account Jan 12, 2012