Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: gb-ext-audio
Commits on Jul 13, 2011
  1. @verygreen

    Add support for external audio (usually usb devices).

    verygreen authored
    Internal microphone is totally ignored by default if other devices are
    present to accomodate Nook Color that does not have microphone
Commits on May 9, 2011
Commits on May 5, 2011
  1. LibOverlay changes to support portrait 1080p clips on HDMI

    Sunita Nadampalli authored
    Description# Liboverlay calculate window method is extended
    to support the portrait 1080p (1080x1920) clips on HDMI.
    Since HDMI is landscape 1080p (1920x1080), for portrait clips,
    it needs downsclaing in order to fit into screen.
    Because downscaling is not allowed while rendering at 1080p
    timings, these clips are now handled by cropping the input
    video to fit into the scree.
    
    DRT#OMAPS00235765 - PT - Video 1080p not working over HDMI ,
    previously working.
    
    Change-Id: Ie9cbbff5b92460c057c25f54d596e0aa1f33d3b6
    Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Commits on May 4, 2011
  1. CameraHAL OMAP4: Adds a timeout during semaphore wait in AppCallbackN…

    Saravanan Solaiyappan authored
    …otifier
    
    - This avoids a possible deadlock that could occur when smooth zoom
    is running and the client tries to stop the preview. In this exact
    moment the AppCallbackNotifier might be calling the client in order
    to notify him on the next zoom step and the client might have
    already called stopPreview() and unable to process the ZoomCallback.
    On the other hand stopPreview will try to stop AppCallbackNotifier
    which is not possible and will lead to a deadlock.
    
    Signed-off-by: Emilian Peev <epeev@mm-sol.com>
    
    patch set#2 Rebased.
    
    Change-Id: I2bf2370908768768225abd7d2e11c8c731ae298a
    Signed-off-by: Solaiyappan Saravanan <saravanan.s@ti.com>
  2. CAMERA-OMAP4: KW defect fixes.

    Saravanan Solaiyappan authored
    [Comment]
    This patch fixes few KW defects which was found in standalone mode.
    
    Patch set #2: rebased on the latest.
    Patch set #3: rebased on the latest.
    
    [DR]
    -
    
    Change-Id: I94020b91369819f7902df6bd776ed3ff49986d4a
    Signed-off-by: Solaiyappan Saravanan <saravanan.s@ti.com>
  3. Merge "CameraHal OMAP4: NV12 to NV21 needs to take offset" into ginge…

    Vicky Martinez-DeFrain authored Gerrit Code Review committed
    …rbread
  4. Merge "CameraHAL OMAP4: Avoids state switching during port reconfigur…

    Vicky Martinez-DeFrain authored Gerrit Code Review committed
    …ation" into gingerbread
  5. Merge "OMAP4 CameraHal: Add neon optmization for NV12 to NV21" into g…

    Vicky Martinez-DeFrain authored Gerrit Code Review committed
    …ingerbread
Commits on May 3, 2011
  1. Merge "OMAP audio modem: update Audio modem interface to get the samp…

    Vicky Martinez-DeFrain authored Gerrit Code Review committed
    …le rate used by the modem" into gingerbread
  2. Merge "OMAP4: AudioHAL: Modem: handling non-supported devices" into g…

    Vicky Martinez-DeFrain authored Gerrit Code Review committed
    …ingerbread
  3. Merge "OMAP4 AUDIO HAL: Capture-Playback Volume for DL1 not being re-…

    Vicky Martinez-DeFrain authored Gerrit Code Review committed
    …muted after FM Rx use case." into gingerbread
  4. @bwoodwar

    Adding Apache license header to stagefright_overlay_output.cpp

    bwoodwar authored
    Adding Apache license header to stagefright_overlay_output.cpp
    
    Change-Id: I83d86db4b82e98e8eee194887d6bfef68d55b54d
    Signed-off-by: Barry Woodward <b-woodward@ti.com>
Commits on Apr 29, 2011
  1. OMAP4 AUDIO HAL: Capture-Playback Volume for DL1 not being re-muted a…

    Ricky Bhatia authored
    …fter
    
    FM Rx use case.
    
    When taking video immediately after the FM Rx use case, the device plays back
    the audio it is recording for the A/V capture.  This mutes the playback stream,
    as it is being unmuted for the FM case.  This mixer control does not get reset for
    all non-FM use cases.
    
    Change-Id: I59751e2108e7a752c83374440766d780de3af719
    Signed-off-by: Ricky Bhatia <a0866433@ti.com>
Commits on Apr 28, 2011
  1. Merge "CameraHAL OMAP3: Correct cropping for resolutions CIF and QVGA…

    Jean Johnson authored Gerrit Code Review committed
    …" into gingerbread
  2. CameraHAL OMAP4: Avoids state switching during port reconfiguration

    Emilian Peev authored
    - During preview restart the whole OMX component used to go in
      OMX_Loaded state and back to OMX_Executing. This is not needed
      in some cases where only port bound parameters are being
      configured. These parameters include preview resolution, preview
      framerate and preview pixelformat.
    - Dramatically improves switching performance when only the
      aforementioned parameters are reconfigured. For instance switching
      preview resolution takes around 100ms.
    - Contains a fix for OMAPS00235966.
    
    Change-Id: I35840e5684032da143aea5721f232ba7d4882325
    Signed-off-by: Emilian Peev <epeev@mm-sol.com>
  3. @jshandorov

    Camera_test: Added some OMAP3 defines and functionality.

    jshandorov authored Ruslan Bilovol committed
    - Different features like preview size, IPP mode, effects, scenes,
      white balance, caf, contrast, brightness, zoom should be enclosed
      with ifdefs.
    
    Change-Id: Id4b380fb7ebf6ce0e373404dee1a74e3543f765c
    Signed-off-by: Julian Shandorov <jshandorov@mm-sol.com>
    Signed-off-by: Ruslan Bilovol <x0155540@ti.com>
Commits on Apr 27, 2011
  1. Merge "Camera_test: Fixes a couple of issues with camera switching on…

    Jean Johnson authored Gerrit Code Review committed
    … GB" into gingerbread
  2. Merge "OMAP4 Overlay : Fixing a corner case crash in HDMI video cloni…

    Jean Johnson authored Gerrit Code Review committed
    …ng." into gingerbread
  3. OMAP4 Overlay : Fixing a corner case crash in HDMI video cloning.

    Sreenidhi Koti Ananda Rao authored
    Description : This defect is part of the patch ported from customer platform.
                  It was found that in some rare scenarios, when displaycode is -1
                  a crash was observed when video playback was initiated on both LCD & HDMI.
                  This patch is ported from customer platform , which presets the display mode &
                  display code to zero and increasing the display mode & code size array to 20.
    
                  Defect ID : OMAPS00237574
    
    Signed Off By : Sreenidhi Koti <sreenidhi@ti.com>
    
    Change-Id: I9811812e2548c91d58d4718fb2c3b874a8e6af29
  4. Camera_test: Fixes a couple of issues with camera switching on GB

    Emilian Peev authored
    - Variable 'hardwareActive' was not being updated properly. This
      should happen only in openCamera/closeCamera().
    - The initial CameraParameters passed by CameraHal were getting
      overridden during sensor switching. Default parameters meant for
      primary were getting passed to secondary ( e.g. VFR).
    
    Change-Id: I2b8eb50b7f72974f7199fa34111a8937a0d9aa62
    Signed-off-by: Emilian Peev <epeev@mm-sol.com>
  5. CameraHAL OMAP4: VFR updates for secondary camera

    Emilian Peev authored
    Change-Id: I56f2bc888e2afef27e828be3969131bcb239dc7c
    Signed-off-by: Emilian Peev <epeev@mm-sol.com>
  6. CameraHal OMAP4: NV12 to NV21 needs to take offset

    tluu authored
    For preview callbacks in HQ mode, conversion function
    needs to take into account the padding.
    
    Change-Id: I7344e92d3b0405a06f6d240627feba982792850e
  7. OMAP4 CameraHal: Add neon optmization for NV12 to NV21

    a0271435 authored tluu committed
    Using some neon optimized code to swap the UV bits for
    NV12 to NV21 conversion.
    
    Change-Id: I0da6d2c5db98dca87657e1181d78ccec4692c2d5
Commits on Apr 26, 2011
  1. @jshandorov

    CameraHAL OMAP3: Correct cropping for resolutions CIF and QVGA

    jshandorov authored
    - The maximum upscale of resizer is 4x, and when zoom is e.g. 4x, there is
      a limitation of the crop.c.height - it should be at least 1/4
      of preview height. This is why if the dst_height > mInitialCrop.c.height
      we apply crop up to 1/4 of preview size, which in case of CIF is 72 pix.
    
    Change-Id: I61d3ad9f57081bbedb577f3c932673edc966e2e5
    Signed-off-by: Julian Shandorov <jshandorov@mm-sol.com>
  2. CameraHAL OMAP3: added debug parameter for force capture rotation

    Homin Lee authored Jean Johnson committed
    For devices that don't have sensors for detect rotation, added a property,
    "debug.video.force_rotation" to test encoding rotated image.
    
    Given value, 0, 90, 180 or 270 will replace original rotation which
    come from CameraParameters::KEY_ROTATION. If you want turn off this
    feature set negative value, like -1 to the property.
    
    Signed-off-by: Homin Lee <homin.lee@ti.com>
    
    Patch set 2:  Simple cherry-pick on current tree.  No changes made.
    Taking approvals, verifications and build test from patch set 1.
    Signed-off-by: Jean Johnson <jean-johnson@ti.com>
    Change-Id: Idce0b3a803960280a57808bc308834a49f297229
  3. LibOverlay fix to don't do unnecessary swap in finalWindow

    Homin Lee authored Jean Johnson committed
    liboverlay receive correct finalWindow position (posX, posY) even if the
    rotation is 90 or 270.
    
    This fixed mess screen of portrait video playback in OMAP3.
    
    Signed-off-by: Homin Lee <homin.lee@ti.com>
    
    Patch Set 4:  Simple cherry-pick on current tree.  No changes made.
    Taking verifications, approvals and build test from patch set 3.
    Signed-off-by: Jean Johnson <jean-johnson@ti.com>
    Change-Id: I75a5b61cc58a2068cba33ba34304dfa9ea018e31
  4. CameraHAL OMAP3: Removed unsupported Thumbnailsize 512x384

    spurthi authored Jean Johnson committed
    CameraHal.cpp gives supportedThumbnailSizes []= "512x384,320x240,80x60,0x0";
    But JpegEnc OMX component restricts maximum thumbnail size to 320x240.
    With this patch the CameraHal info matches that supported by OMX
    and below layers
    
    Signed-off-by: Srinivas Spurthi G <spurthi.gs@ti.com>
    
    Patch Set 2:  No changes made.  Taking approvals, verifications and
    build test from patch set 1.
    Signed-off-by: Jean Johnson <jean-johnson@ti.com>
    Change-Id: I1d6ee5163b382cc85d6564b4956050d94952ef55
  5. Merge "OMAP3: SKIAHW: support baseline sequential non-interleaved" in…

    Jean Johnson authored Gerrit Code Review committed
    …to gingerbread
  6. CameraHAL OMAP3: Fixed issue in 720P recording.

    Homin Lee authored Jean Johnson committed
    When record video in 720P resolution, captured frames in overlay and
    encoded video were not time-ordered correctly.
    
    This patch is rewrite of preview and video record procedure to fix above
    problem and makes easy to know what's going on the buffers.
    
    Changes made:
    1. Fixed to share buffer status between overlay with video-encoder.
      - There was two arrays to store buffer status. `buffers_queued_to_dss`
        for overlay and `buffers_queued_to_ve` for video-encoder. cause of
        overlay, encoder and camera actually use same buffers, it was hard
        to avoid conflict. Unified them to an array `mVideoBufferStatus` and
        also unified codes for queue buffer to camera to a function,
        `queueToCamera` to easily check given buffer is good to queue or not.
    2. Fixed to pass buffer which dequeued from camera directly to video-encoder.
      - Overlay and video-encoder not modify received buffer. So, the encoder
        don't need to wait buffer dequeued from overlay.
        Fixed pass same buffer which dequeued from camera to overlay and the
        encoder and check it's not used in both places when queue back to camera.
        This makes more buffers available to queue to camera and simpler timestamp
        handling.
    
    Signed-off-by: Homin Lee <homin.lee@ti.com>
    
    Patch Set 2:  Simple cherry-pick on current tree.  Taking approvals,
    verifications and build test from patch set 1.
    Signed-off-by: Jean Johnson <jean-johnson@ti.com>
    Change-Id: Ie25196841d3de23e2cabab6622e5c04c1de9d8d1
Commits on Apr 25, 2011
  1. Merge "CameraHAL OMAP3: Fixed to use enum index in procMessage." into…

    Jean Johnson authored Gerrit Code Review committed
    … gingerbread
  2. Merge "OMAP4 CameraHAL: Unlock AF mutex for non-CAF & non-infinity ca…

    Vicky Martinez-DeFrain authored Gerrit Code Review committed
    …ses" into gingerbread
  3. OMAP4 CameraHAL: Unlock AF mutex for non-CAF & non-infinity cases

    Sundar Raman authored
    AF mutex was left in a locked state when doAutoFocus is exited because unlock was called inside the if check
    which filters out caf and infinity case. This was resulting in subsequent af requests to hang waiting for the
    semaphore to be released.
    
    Change-Id: I74e131ff8d27ec34aa124a9ea57ad602d2ed97f2
    Signed-off-by: Sundar Raman <sunds@ti.com>
Commits on Apr 21, 2011
  1. CameraHAL OMAP4: Updates related to OMX fps capabilities

    Emilian Peev authored
    - OMX Port framerate capability has some updates from Ducati
      which need corresponding changes on A9 side as well.
    
    Change-Id: Ie7715436887016ed6f96d07fad405594e27480b1
    Signed-off-by: Emilian Peev <epeev@mm-sol.com>
Commits on Apr 18, 2011
  1. OMAP3: SKIAHW: support baseline sequential non-interleaved

    keun-o.park authored
    In case of RGB output of Baseline Sequential Non-Interleaved image,
    it is needed to set ProgressiveDec flag to 1 when the number of
    scan components(Ns) in scan header(SOS) and the number of components
    (Nf) in frame header(SOF0) usually is not same.
    
    Change-Id: Ie9b2b2f97e97d370ee5d4747f83586f821136a8f
    Signed-off-by: Poornima Puttojirao <x0142524@ti.com>
    Signed-off-by: keun-o.park <sahara@ti.com>
Commits on Apr 15, 2011
  1. OMAP4 CameraHAL: Take care of few corner scenarios when hitting HOME …

    Sundar Raman authored Jean Johnson committed
    …button during Image capture
    
    - We don't have to DQ buffers from overlay on stopPreview since the overlay is going to be destroyed anwyay
    and the buffers freed. So removed the handleFrameReturn() call from stopPreview.
    
    - There was a race condition between stopPreview and startImageCapture functions as startImageCapture is executed in a
    different thread and there was no synchronization between the two, leading to component being forced to LOADED state
    with image port still enabled and capturing images. This is fixed now by proper usage of mLock to prevent the race
    condition.
    
    - If stopImageCapture is called, we wait for the ongoing image capture to complete before we disable the image capture
    port. Otherwise, it messes up OMXCamera's state.
    
    - There was a deadlock situation between AF callback and stopPreview in CameraHAL. The callback was being sent even
    though the focus was cancelled previously. This patch takes care of this corner case and returns from doAutoFocus
    if the focus was cancelled while waiting for the callback.
    
    Signed-off-by: Sundar Raman <sunds@ti.com>
    
    Patch Set 13: Simple cherry-pick on current tree.  No changes made.
    Taking verifications, approvals and build test from previous patch sets.
    Signed-off-by: Jean Johnson <jean-johnson@ti.com>
    Change-Id: I2824358b1fbecac17d9762706e45c3b7a50f5aed
Something went wrong with that request. Please try again.