Skip to content

Commit

Permalink
Merge tag 'LA.UM.8.1.r1-13500-sm8150.0' of https://source.codeaurora.…
Browse files Browse the repository at this point in the history
…org/quic/la/platform/hardware/qcom/media into ten

"LA.UM.8.1.r1-13500-sm8150.0"
  • Loading branch information
Dyneteve committed Jan 24, 2020
2 parents 453cf8d + f4a76d3 commit e4d47f3
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 11 deletions.
2 changes: 1 addition & 1 deletion conf_files/atoll/media_codecs_performance.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ limitations under the License.
<Limit name="measured-frame-rate-1920x1088" range="93-146" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" update="true">
<Limit name="measured-frame-rate-352x288" range="222-222" />
<Limit name="measured-frame-rate-352x288" range="279-401" />
<Limit name="measured-frame-rate-720x480" range="268-360" />
<Limit name="measured-frame-rate-1280x720" range="191-268" />
<Limit name="measured-frame-rate-1920x1080" range="94-147" />
Expand Down
41 changes: 41 additions & 0 deletions conf_files/msmnile/media_profiles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,47 @@
channels="2" />
</EncoderProfile>

<EncoderProfile quality="highspeedhigh" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="36000000"
width="1280"
height="720"
frameRate="120" />

<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>

<EncoderProfile quality="highspeed720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="36000000"
width="1280"
height="720"
frameRate="120" />

<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>

<EncoderProfile quality="highspeed480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="640"
height="480"
frameRate="120" />

<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>

<ImageEncoding quality="95" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
Expand Down
10 changes: 0 additions & 10 deletions mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7377,16 +7377,6 @@ OMX_ERRORTYPE omx_vdec::empty_this_buffer(OMX_IN OMX_HANDLETYPE hComp,
buffer->pBuffer = (OMX_U8*)drv_ctx.ptr_inputbuffer[nBufferIndex].bufferaddr;
}

/* Check if the input timestamp in seconds is greater than LONG_MAX
or lesser than LONG_MIN. */
if (buffer->nTimeStamp / 1000000 > LONG_MAX ||
buffer->nTimeStamp / 1000000 < LONG_MIN) {
/* This timestamp cannot be contained in driver timestamp field */
DEBUG_PRINT_ERROR("[ETB] BHdr(%p) pBuf(%p) nTS(%lld) nFL(%u) >> Invalid timestamp",
buffer, buffer->pBuffer, buffer->nTimeStamp, (unsigned int)buffer->nFilledLen);
return OMX_ErrorBadParameter;
}

DEBUG_PRINT_LOW("[ETB] BHdr(%p) pBuf(%p) nTS(%lld) nFL(%u)",
buffer, buffer->pBuffer, buffer->nTimeStamp, (unsigned int)buffer->nFilledLen);
if (arbitrary_bytes) {
Expand Down

0 comments on commit e4d47f3

Please sign in to comment.