/hardware/google/aemu/host-common/ |
D | MediaH264DecoderFfmpeg.cpp | 31 #define H264_DPRINT(fmt,...) fprintf(stderr, "h264-ffmpeg-dec: %s:%d " fmt "\n", __func__, __LINE__… macro 33 #define H264_DPRINT(fmt,...) macro 44 H264_DPRINT("destroyed MediaH264DecoderFfmpeg %p", this); in ~MediaH264DecoderFfmpeg() 68 H264_DPRINT("%s(w=%u h=%u out_w=%u out_h=%u pixfmt=%u)", in initH264ContextInternal() 91 … H264_DPRINT("codec decoder found %s long name %s", current_codec->name, current_codec->long_name); in initH264ContextInternal() 104 H264_DPRINT("Found h264_cuvid decoder, using it"); in initH264ContextInternal() 106 H264_DPRINT("Cannot find h264_cuvid decoder"); in initH264ContextInternal() 111 H264_DPRINT("Using default software h264 decoder"); in initH264ContextInternal() 120 H264_DPRINT("Successfully created software h264 decoder context %p", mCodecCtx); in initH264ContextInternal() 124 H264_DPRINT("clone MediaH264DecoderFfmpeg %p with version %d", this, in clone() [all …]
|
D | MediaHostRenderer.cpp | 27 #define H264_DPRINT(fmt, ...) \ macro 31 #define H264_DPRINT(fmt, ...) macro 42 H264_DPRINT("Error, cannot get mVirtioGpuOps"); in MediaHostRenderer() 75 H264_DPRINT("Calling %s at %d buffer id %d", __func__, __LINE__, in renderToHostColorBuffer() 78 H264_DPRINT("ERROR: negative buffer id %d", hostColorBufferId); in renderToHostColorBuffer() 86 H264_DPRINT("ERROR: there is no virtio Gpu Ops is not setup"); in renderToHostColorBuffer() 95 H264_DPRINT("Calling %s at %d buffer id %d", __func__, __LINE__, in renderToHostColorBufferWithTextures() 98 H264_DPRINT("ERROR: negative buffer id %d", hostColorBufferId); in renderToHostColorBufferWithTextures() 104 H264_DPRINT("ERROR: invalid tex ids: Ytex %d UVtex %d", (int)frame.Ytex, in renderToHostColorBufferWithTextures() 116 H264_DPRINT("return textures to pool %d %d", frame.Ytex, in renderToHostColorBufferWithTextures() [all …]
|
D | MediaH264DecoderDefault.cpp | 30 #define H264_DPRINT(fmt,...) fprintf(stderr, "h264-dec: %s:%d " fmt "\n", __func__, __LINE__, ##__V… macro 32 #define H264_DPRINT(fmt,...) macro 62 H264_DPRINT("Error: cannot find decoder with key %" PRIx64 "", key); in getDecoder() 77 H264_DPRINT("added decoder key %" PRIx64 " val: %p", key, val); in addDecoder() 81 H264_DPRINT("cannot add: already exist"); in addDecoder() 88 H264_DPRINT("error: decoder with key %" PRIx64 " does not exist", key); in updateDecoder() 91 H264_DPRINT("updated key %" PRIx64 " with new decoder %p", key, val); in updateDecoder() 100 H264_DPRINT("removed decoder key %" PRIx64 ", val: %p", key, in removeDecoder() 106 H264_DPRINT("error: cannot remove decoder, not in map"); in removeDecoder() 129 H264_DPRINT( in handlePing() [all …]
|
D | MediaTexturePool.cpp | 27 #define H264_DPRINT(fmt, ...) \ macro 31 #define H264_DPRINT(fmt, ...) macro 41 H264_DPRINT("Error, cannot get mVirtioGpuOps"); in MediaTexturePool() 44 H264_DPRINT("created texturepool"); in MediaTexturePool() 48 H264_DPRINT("destroyed texturepool"); in ~MediaTexturePool() 60 H264_DPRINT("calling %s %d for tex of w %d h %d\n", __func__, __LINE__, w, in getTextureFrame() 74 H264_DPRINT("allocated Y %d UV %d", frame.Ytex, frame.UVtex); in getTextureFrame() 81 H264_DPRINT("done %s %d ret Y %d UV %d", __func__, __LINE__, frame.Ytex, in getTextureFrame() 89 H264_DPRINT("calling %s %d for tex of %d %d\n", __func__, __LINE__, in saveDecodedFrameToTexture() 99 H264_DPRINT("try recycle textures %d %d", (int)frame.Ytex, in putTextureFrame() [all …]
|
D | MediaH264DecoderGeneric.cpp | 39 #define H264_DPRINT(fmt, ...) \ macro 43 #define H264_DPRINT(fmt, ...) macro 60 H264_DPRINT("Using Cuvid decoder on Linux/Windows"); in canUseCudaDecoder() 63 H264_DPRINT( in canUseCudaDecoder() 84 H264_DPRINT("allocated MediaH264DecoderGeneric %p with version %d", this, in MediaH264DecoderGeneric() 90 H264_DPRINT("destroyed MediaH264DecoderGeneric %p", this); in ~MediaH264DecoderGeneric() 114 H264_DPRINT("%s(w=%u h=%u out_w=%u out_h=%u pixfmt=%u)", __func__, width, in initH264ContextInternal() 137 H264_DPRINT("use gpu texture"); in initH264ContextInternal() 143 H264_DPRINT("failed to init cuda decoder"); in initH264ContextInternal() 145 H264_DPRINT("succeeded to init cuda decoder"); in initH264ContextInternal() [all …]
|
D | MediaH264DecoderVideoToolBox.cpp | 35 #define H264_DPRINT(fmt,...) fprintf(stderr, "h264-videotoolbox-dec: %s:%d " fmt "\n", __func__, __… macro 37 #define H264_DPRINT(fmt,...) macro 54 H264_DPRINT("created MediaH264DecoderVideoToolBox %p", this); in MediaH264DecoderVideoToolBox() 73 H264_DPRINT("%s", __func__); in videoToolboxDecompressCallback() 82 H264_DPRINT("%s: output image buffer is null", __func__); in videoToolboxDecompressCallback() 91 H264_DPRINT("Got decoded frame"); in videoToolboxDecompressCallback() 184 H264_DPRINT("Unsupported VideoToolbox pixel format"); in toNativePixelFormat() 214 H264_DPRINT("Created CMFormatDescription from SPS/PPS sets"); in createCMFormatDescription() 216 H264_DPRINT("Unable to create CMFormatDescription (%d)\n", (int)status); in createCMFormatDescription() 238 H264_DPRINT("%s(w=%u h=%u out_w=%u out_h=%u pixfmt=%u)", in initH264ContextInternal() [all …]
|
D | MediaH264DecoderCuvid.cpp | 42 #define H264_DPRINT(fmt, ...) \ macro 46 #define H264_DPRINT(fmt, ...) macro 53 H264_DPRINT("%s failed with error code %d\n", #cuvidAPI, \ 77 H264_DPRINT( in MediaH264DecoderCuvid() 82 H264_DPRINT("your gpu mode is: swiftshader_indirect"); in MediaH264DecoderCuvid() 118 H264_DPRINT("Failed to initH264Context because driver is not working"); in initH264ContextInternal() 125 H264_DPRINT("%s(w=%u h=%u out_w=%u out_h=%u pixfmt=%u)", __func__, width, in initH264ContextInternal() 141 H264_DPRINT("Failed to get cuda device, error code %d", (int)myres); in initH264ContextInternal() 148 H264_DPRINT("Failed to get gpu device name, error code %d", (int)myres); in initH264ContextInternal() 152 H264_DPRINT("using gpu device %s", buf); in initH264ContextInternal() [all …]
|
D | MediaH264DecoderVideoToolBoxProxy.cpp | 29 #define H264_DPRINT(fmt,...) fprintf(stderr, "h264-videotoolbox-proxy-dec: %s:%d " fmt "\n", __func… macro 31 #define H264_DPRINT(fmt,...) macro 108 H264_DPRINT("saving ..."); in save() 117 H264_DPRINT("loading ..."); in load()
|