| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This class interacts with OmxCodec and the VideoDecoderImpl | 5 // This class interacts with OmxCodec and the VideoDecoderImpl |
| 6 // in the media pipeline. | 6 // in the media pipeline. |
| 7 // | 7 // |
| 8 // THREADING SEMANTICS | 8 // THREADING SEMANTICS |
| 9 // | 9 // |
| 10 // This class is created by OmxVideoDecoder and lives on the thread | 10 // This class is created by OmxVideoDecoder and lives on the thread |
| (...skipping 1337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1348 NewRunnableMethod(decoder, | 1348 NewRunnableMethod(decoder, |
| 1349 &OmxVideoDecodeEngine::FillBufferDoneTask, buffer)); | 1349 &OmxVideoDecodeEngine::FillBufferDoneTask, buffer)); |
| 1350 return OMX_ErrorNone; | 1350 return OMX_ErrorNone; |
| 1351 } | 1351 } |
| 1352 | 1352 |
| 1353 } // namespace media | 1353 } // namespace media |
| 1354 | 1354 |
| 1355 // Disable refcounting for this object because this object only lives | 1355 // Disable refcounting for this object because this object only lives |
| 1356 // on the video decoder thread and there's no need to refcount it. | 1356 // on the video decoder thread and there's no need to refcount it. |
| 1357 DISABLE_RUNNABLE_METHOD_REFCOUNT(media::OmxVideoDecodeEngine); | 1357 DISABLE_RUNNABLE_METHOD_REFCOUNT(media::OmxVideoDecodeEngine); |
| OLD | NEW |