Permalink
Commits on Oct 12, 2009
  1. Add log statement for OMX component reporting errors.

    bug 2171732
    
    This is just to help TI to track down the OMX component issues.
    Ideally, we still need to have a fix for this issue, since
    we must take out battery if this occurs.
    Jianhong Jiang committed with James Dong Oct 9, 2009
Commits on Oct 7, 2009
  1. Merge change I7bff0de8 into eclair

    * changes:
      RIO-7671:(Part A MIO fixes) MIO should unregister the observer when the clock is reset. http://b/issue?id=2171037
    Android (Google) Code Review committed Oct 7, 2009
  2. RIO-7671:(Part A MIO fixes) MIO should unregister the observer when t…

    …he clock is reset.
    
    http://b/issue?id=2171037
    Jianhong Jiang committed with James Dong Oct 7, 2009
Commits on Oct 6, 2009
  1. Reduce log spew during media streaming. Bug 2168469.

    Dave Sparks committed Oct 6, 2009
Commits on Oct 5, 2009
  1. RIO-7665: Workaround for encoder problem where slice is marked as syn…

    …c frame instead of IDR.
    
    http://b/issue?id=2167163
    J.D. & D.S.
    Jianhong Jiang committed Oct 5, 2009
  2. Revert "RIO-7131: add support for app to choose OMX components."

    This reverts commit a371da5.
    http://b/issue?id=2164330
    J.D. & D.S.
    Jianhong Jiang committed Oct 5, 2009
Commits on Oct 1, 2009
  1. RIO-7131: add support for app to choose OMX components.

    Jianhong Jiang committed Oct 1, 2009
  2. Better error reporting in case of recording failure.

    Jianhong Jiang committed Oct 1, 2009
Commits on Sep 30, 2009
  1. Merge change Ifd8e3c0c into eclair

    * changes:
      RIO-7174: Encode AVC Mpeg4Bitrate atom. http://b/issue?id=2039880 The change authors the Mpeg4Bitrate atom. But will -- use avg bitrate as max bitrate; -- DecodeBufferDB is set to 0; There is followup work to address these issues. Since the Gallery app only looks for avg bitrate, this change alone is showing the bitrate info correctly.
    Android (Google) Code Review committed Sep 30, 2009
  2. Fix the AudioRecord Latency in Audio Input MIO.

    Calculate the correct latency based on Opencore BufferSize and KernelBufferSize.
    Sahil Sachdeva committed Sep 30, 2009
  3. RIO-7174: Encode AVC Mpeg4Bitrate atom.

    http://b/issue?id=2039880
    The change authors the Mpeg4Bitrate atom. But will
    -- use avg bitrate as max bitrate;
    -- DecodeBufferDB is set to 0;
    There is followup work to address these issues.
    Since the Gallery app only looks for avg bitrate, this change alone
    is showing the bitrate info correctly.
    Jianhong Jiang committed Sep 30, 2009
  4. Merge change Ic4bc0980 into eclair

    * changes:
      Don't build OpenCore software video encoders by default.
    Android (Google) Code Review committed Sep 30, 2009
  5. Merge change I379ce3ea into eclair

    * changes:
      RIO-6831: Query the stride from the OMX components instead of assuming a 16-byte alignment.
    Android (Google) Code Review committed Sep 30, 2009
  6. Make default media sample sync window [-10, 50]

    Change
        https://android-git.corp.google.com/g/#change,27815
    modified a config which is NOT used now. This one is the real deal.
    Jianhong Jiang committed Sep 30, 2009
  7. Merge change Icbf599dd into eclair

    * changes:
      PVMFMediaClock takes care of device latency. Remove the device latency processing in AMIO.
    Android (Google) Code Review committed Sep 30, 2009
Commits on Sep 29, 2009
  1. RIO-6831: Query the stride from the OMX components instead of assumin…

    …g a 16-byte alignment.
    Jianhong Jiang committed Sep 29, 2009
  2. Make default media sample sync window [-10, 50]

    Jianhong Jiang committed Sep 29, 2009
  3. PVMFMediaClock takes care of device latency. Remove the device latenc…

    …y processing in AMIO.
    Jianhong Jiang committed Sep 29, 2009
Commits on Sep 27, 2009
Commits on Sep 22, 2009
  1. RIO-7574: By default, use current system time as creation & modificat…

    …ion date.
    Jianhong Jiang committed Sep 22, 2009
Commits on Sep 18, 2009
  1. Merge change 25533 into eclair

    * changes:
      Remove an extra call of ResetData from ThreadLogoff in AndroidSurfaceOutput. This extra call results in a crash if Reset is called during Engine's track selection failure.
    Android (Google) Code Review committed Sep 18, 2009
Commits on Sep 17, 2009
  1. Send correct YUV format to the VMIO instead of PVMF_MIME_FORMAT_UNKNOWN.

    Also this change ensures VMIO gets the YUV format BEFORE PVMF_BUFFER_ALLOCATOR_KEY query.
    So depends on the YUV format, VMIO can decide whether to provide mem allocator
    or what kind of mem allocator, alloc from heap vs overlay etc.
    Jianhong Jiang committed Sep 17, 2009
  2. Remove an extra call of ResetData from ThreadLogoff in AndroidSurface…

    …Output.
    
    This extra call results in a crash if Reset is called during Engine's track selection failure.
    
    Extra ResetData call from ThreadLogoff cleanups the Reset command from Command Queue in the MIO,
    and this ThreadLogoff was called from the callback of command complete of Reset command of Video MIO.
    When the call returns back to the Video MIO and tries to delete the Reset Command from the queue, it crashes
    since the command had already been deleted because of ResetData call from ThreadLogoff.
    There is no need for an extra ResetData call from ThreadLogoff, since ResetData will be called from Reset() and
    Reset() will always be called before ThreadLogoff.
    Sahil Sachdeva committed Sep 17, 2009
Commits on Sep 15, 2009
  1. bug 2114674 [RIO-7463] RTSP amr-nb streaming can not start playback, …

    …need to seek then playback start
    
    In PVMFMediaClock the clock observer will pass its driver latency to the clock and the clock will make clock adjustments on its own inside PVMFMediaClock class rather than having each module take care of its latency.
    
    Now on android, Audio MIO has a latency of 350 msecs, so when the clock starts, it starts with a value of "-350" msecs (PVMFMediaClock takes care of the latency of the device set by observer).
    
    In jitterbuffer node before clock start, estimated server clock is around 4000 msecs and client clock (PVMFMediaClock) is zero (A difference of 4 secs is needed to start the playback, this is the initial amount of buffering required). After clock starts Jitterbuffer again queries for the time, here estimated server clock is again around 4000 msecs but client clock is -350 msecs. Since the queried currenttime is a uint32 variable, the value for the client clock becomes very huge (due to overflow) and is greater than estimated server clock by a very big value. Jitterbuffer node finds the condition of estimated server clock being less than client clock and goes into Underflow condition and Engine goes into Auto-Pause state. Estimated server clock keeps increasing but will not be able to catch the client clock (since it is very big) and player will remain in Underflow condition for long time and hence we see the issue.
    
    Fix for the issue -
    Use PVTimeComparsionUtils class for comparing clock values. The class takes care of -ve values of clock and gives the correct comparison.
    Sahil Sachdeva committed Sep 10, 2009
  2. Merge change 24960 into eclair

    * changes:
      bug 2112864 [RIO-7471] OMX.PV.h263dec returns invalid supported profile/level pair.
    Android (Google) Code Review committed Sep 15, 2009
  3. Fixed a stupid mistake: incorrect ordering the chars in the mime "3gp…

    …" or "mp4" string.
    
    bug 2072271
    James Dong committed Sep 15, 2009
Commits on Sep 14, 2009
  1. bug 2112864 [RIO-7471] OMX.PV.h263dec returns invalid supported profi…

    …le/level pair.
    Sahil Sachdeva committed Sep 14, 2009
Commits on Sep 10, 2009
  1. Fix a data overflow issue while calculating the duration in ms.

    bug 2110349
    James Dong committed Sep 10, 2009
  2. Merge change 24431 into eclair

    * changes:
      bug 2103063 [RIO-7452] The timestamp for the very first video frame is too large for video-only recording
    Android (Google) Code Review committed Sep 10, 2009
Commits on Sep 9, 2009
  1. bug 2103063 [RIO-7452] The timestamp for the very first video frame i…

    …s too large for video-only recording
    Sahil Sachdeva committed Sep 9, 2009
  2. RIO-7461: Update mediascanner.cpp to support AAC files.

    (Change in opencore.git)
    James Stokebrand committed with Jianhong Jiang Sep 9, 2009
  3. Merge change 24173 into eclair

    * changes:
      Fix mediascanner for mime type identification Now, the mediascanner will look into the filetype box in an mp4/3gpp file to determine whether the file is an mp4 or a 3gpp. bug 2072271
    Android (Google) Code Review committed Sep 9, 2009
  4. Fix incorrect duration from metadatadriver

    The duration returned from OpenCore is not always in ms.
    This is to adapt the metadatadriver to calculate the
    duration if a timescale is also returned by OpenCore along
    with the duration retrieval.
    
    Bug 2105727
    James Dong committed Sep 9, 2009
Commits on Sep 8, 2009
  1. Fix mediascanner for mime type identification

    Now, the mediascanner will look into the filetype box in an mp4/3gpp file to determine
    whether the file is an mp4 or a 3gpp.
    bug 2072271
    James Dong committed Sep 8, 2009
  2. Change hardcoded constants to use enums shared across different metad…

    …ata retrievers
    
    bug 2050320
    James Dong committed Sep 6, 2009