aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorChih-Yu Huang <akahuang@google.com>2021-02-18 12:50:48 +0900
committerChih-Yu Huang <akahuang@google.com>2021-03-01 15:32:10 +0900
commit49411a948d95e8ad425b177ceee7c980e27a5b96 (patch)
tree7d9b53a0ff6da13bc0a5c4f80e8df35a20be5dbc /components
parent51645f68cb574979a307b1e2e339d9b69de1b7da (diff)
downloadv4l2_codec2-49411a948d95e8ad425b177ceee7c980e27a5b96.tar.gz
V4L2Decoder: adjust the ALOGD log to ALOGV
The logs of V4L2Decoder are too verbose for debug image. This CL adjusts the ALOGD log to ALOGV. Bug: 178665560 Test: m -j32 Change-Id: Id8c94b3e515a43ab90404cc34b9a5ee3e5442469
Diffstat (limited to 'components')
-rw-r--r--components/V4L2Decoder.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/components/V4L2Decoder.cpp b/components/V4L2Decoder.cpp
index 9c83239..289c6bb 100644
--- a/components/V4L2Decoder.cpp
+++ b/components/V4L2Decoder.cpp
@@ -203,7 +203,7 @@ void V4L2Decoder::drain(DecodeCB drainCb) {
switch (mState) {
case State::Idle:
- ALOGD("Nothing need to drain, ignore.");
+ ALOGV("Nothing need to drain, ignore.");
mTaskRunner->PostTask(
FROM_HERE, ::base::BindOnce(std::move(drainCb), VideoDecoder::DecodeStatus::kOk));
return;
@@ -243,7 +243,7 @@ void V4L2Decoder::pumpDecodeRequest() {
// change. They implicitly send a V4L2_DEC_CMD_STOP and V4L2_DEC_CMD_START
// to the decoder.
if (mInputQueue->QueuedBuffersCount() > 0) {
- ALOGD("Wait for all input buffers dequeued.");
+ ALOGV("Wait for all input buffers dequeued.");
return;
}
@@ -302,7 +302,7 @@ void V4L2Decoder::flush() {
ALOG_ASSERT(mTaskRunner->RunsTasksInCurrentSequence());
if (mState == State::Idle) {
- ALOGD("Nothing need to flush, ignore.");
+ ALOGV("Nothing need to flush, ignore.");
return;
}
if (mState == State::Error) {
@@ -536,7 +536,7 @@ void V4L2Decoder::tryFetchVideoFrame() {
}
if (mOutputQueue->FreeBuffersCount() == 0) {
- ALOGD("No free V4L2 output buffers, ignore.");
+ ALOGV("No free V4L2 output buffers, ignore.");
return;
}
@@ -664,7 +664,7 @@ media::Rect V4L2Decoder::getVisibleRect(const media::Size& codedSize) {
media::Rect rect(visible_rect->left, visible_rect->top, visible_rect->width,
visible_rect->height);
- ALOGD("visible rectangle is %s", rect.ToString().c_str());
+ ALOGV("visible rectangle is %s", rect.ToString().c_str());
if (!media::Rect(codedSize).Contains(rect)) {
ALOGW("visible rectangle %s is not inside coded size %s", rect.ToString().c_str(),
codedSize.ToString().c_str());