Lines Matching refs:OMXCodec
18 #define LOG_TAG "OMXCodec"
37 #include <media/stagefright/OMXCodec.h>
101 void setCodec(const sp<OMXCodec> &target) {
107 sp<OMXCodec> codec = mTarget.promote();
120 wp<OMXCodec> mTarget;
150 const OMXCodec::CodecNameAndQuirks *elem1,
151 const OMXCodec::CodecNameAndQuirks *elem2) {
182 void OMXCodec::findMatchingCodecs(
236 uint32_t OMXCodec::getComponentQuirks(
256 bool OMXCodec::findCodecQuirks(const char *componentName, uint32_t *quirks) {
275 sp<MediaSource> OMXCodec::Create(
354 sp<OMXCodec> codec = new OMXCodec(
378 status_t OMXCodec::parseAVCCodecSpecificData(
457 status_t OMXCodec::configureCodec(const sp<MetaData> &meta) {
618 void OMXCodec::setMinBufferSize(OMX_U32 portIndex, OMX_U32 size) {
649 status_t OMXCodec::setVideoPortFormatType(
732 status_t OMXCodec::findTargetColorFormat(
747 status_t OMXCodec::isColorFormatSupported(
785 void OMXCodec::setVideoInputFormat(
909 status_t OMXCodec::setupErrorCorrectionParameters() {
939 status_t OMXCodec::setupBitRate(int32_t bitRate) {
959 status_t OMXCodec::getVideoProfileLevel(
1008 status_t OMXCodec::setupH263EncoderParameters(const sp<MetaData>& meta) {
1055 status_t OMXCodec::setupMPEG4EncoderParameters(const sp<MetaData>& meta) {
1107 status_t OMXCodec::setupAVCEncoderParameters(const sp<MetaData>& meta) {
1181 status_t OMXCodec::setVideoOutputFormat(
1315 OMXCodec::OMXCodec(
1357 void OMXCodec::setComponentRole(
1438 void OMXCodec::setComponentRole() {
1442 OMXCodec::~OMXCodec() {
1462 status_t OMXCodec::init() {
1494 bool OMXCodec::isIntermediateState(State state) {
1502 status_t OMXCodec::allocateBuffers() {
1512 status_t OMXCodec::allocateBuffersOnPort(OMX_U32 portIndex) {
1548 mDealer[portIndex] = new MemoryDealer(totalSize, "OMXCodec");
1676 status_t OMXCodec::applyRotation() {
1705 status_t OMXCodec::allocateOutputBuffersFromNativeWindow() {
1864 status_t OMXCodec::cancelBufferToNativeWindow(BufferInfo *info) {
1879 OMXCodec::BufferInfo* OMXCodec::dequeueBufferFromNativeWindow() {
1917 status_t OMXCodec::pushBlankBuffersToNativeWindow() {
2062 int64_t OMXCodec::getDecodingTimeUs() {
2078 void OMXCodec::on_message(const omx_message &msg) {
2375 void OMXCodec::onEvent(OMX_EVENTTYPE event, OMX_U32 data1, OMX_U32 data2) {
2473 void OMXCodec::onCmdComplete(OMX_COMMANDTYPE cmd, OMX_U32 data) {
2614 void OMXCodec::onStateChange(OMX_STATETYPE newState) {
2688 // call to OMXCodec::read as mInitialBufferSubmit is true at
2720 size_t OMXCodec::countBuffersWeOwn(const Vector<BufferInfo> &buffers) {
2731 status_t OMXCodec::freeBuffersOnPort(
2762 status_t OMXCodec::freeBuffer(OMX_U32 portIndex, size_t bufIndex) {
2793 void OMXCodec::onPortSettingsChanged(OMX_U32 portIndex) {
2817 bool OMXCodec::flushPortAsync(OMX_U32 portIndex) {
2844 void OMXCodec::disablePortAsync(OMX_U32 portIndex) {
2858 status_t OMXCodec::enablePortAsync(OMX_U32 portIndex) {
2868 void OMXCodec::fillOutputBuffers() {
2895 void OMXCodec::drainInputBuffers() {
2926 bool OMXCodec::drainAnyInputBuffer() {
2930 OMXCodec::BufferInfo *OMXCodec::findInputBufferByDataPointer(void *ptr) {
2948 OMXCodec::BufferInfo *OMXCodec::findEmptyInputBuffer() {
2961 bool OMXCodec::drainInputBuffer(BufferInfo *info) {
3205 void OMXCodec::fillOutputBuffer(BufferInfo *info) {
3227 bool OMXCodec::drainInputBuffer(IOMX::buffer_id buffer) {
3240 void OMXCodec::fillOutputBuffer(IOMX::buffer_id buffer) {
3252 void OMXCodec::setState(State newState) {
3261 status_t OMXCodec::waitForBufferFilled_l() {
3278 void OMXCodec::setRawAudioFormat(
3362 void OMXCodec::setAMRFormat(bool isWAMR, int32_t bitRate) {
3393 status_t OMXCodec::setAACFormat(
3494 void OMXCodec::setG711Format(int32_t numChannels) {
3499 void OMXCodec::setImageOutputFormat(
3571 void OMXCodec::setJPEGInputFormat(
3596 void OMXCodec::addCodecSpecificData(const void *data, size_t size) {
3606 void OMXCodec::clearCodecSpecificData() {
3614 status_t OMXCodec::start(MetaData *meta) {
3673 status_t OMXCodec::stop() {
3683 status_t OMXCodec::stopOmxComponent_l() {
3785 sp<MetaData> OMXCodec::getFormat() {
3791 status_t OMXCodec::read(
3909 void OMXCodec::signalBufferReturned(MediaBuffer *buffer) {
4168 void OMXCodec::dumpPortStatus(OMX_U32 portIndex) {
4282 status_t OMXCodec::initNativeWindow() {
4294 void OMXCodec::initNativeWindowCrop() {
4312 void OMXCodec::initOutputFormat(const sp<MetaData> &inputFormat) {
4519 status_t OMXCodec::pause() {
4533 Vector<OMXCodec::CodecNameAndQuirks> matchingCodecs;
4536 OMXCodec::findMatchingCodecs(mime,
4539 hwCodecOnly ? OMXCodec::kHardwareCodecsOnly : 0 /*flags*/,
4579 OMXCodec::setComponentRole(omx, node, isEncoder, mime);