Commit d12a3174 authored by Patryk Busse's avatar Patryk Busse Committed by Slawomir Rosek
Browse files

Convert nsec to usec in encoder buffer timestamps

Timestamps related to video buffers are in nanoseconds
but lower layers of the system expect this information to
be presented in microseconds. To keep compatibility with remaining
part of the system and do not modify logic related to handling
information about time in ARCVM, timestamps for encoder buffers are
adjusted to hold value in microseconds.

BUG=b:230794145
TEST=android.media.cts.VideoCodecTest#testBasicAVCCBR
Change-Id: I67222bca7dc5e8eb829f519b0235c4320ce37264
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/4062034


Commit-Queue: Bartłomiej Grzesik <bgrzesik@google.com>
Reviewed-by: default avatarMarcin Wojtas <mwojtas@google.com>
Tested-by: default avatarPatryk Busse <pbu@semihalf.com>
Signed-off-by: default avatarSlawomir Rosek <srosek@google.com>
parent 87d3cc82
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment