努力加贝

Results 12 comments of 努力加贝

``` char* pixels; int pitch; if (SDL_LockTexture(m_texture, nullptr, (void**)&pixels, &pitch) < 0) SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL_LockTexture() failed: %s", SDL_GetError()); decode_simple(&m_decoder->data, pkt->avpkt, pixels); SDL_UnlockTexture(m_texture); ``` --- ``` RK_U32 width = 0; RK_U32 height...

``` char* pixels; int pitch; if (SDL_LockTexture(m_texture, nullptr, (void**)&pixels, &pitch) < 0) SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL_LockTexture() failed: %s", SDL_GetError()); decode_simple(&m_decoder->data, pkt->avpkt, pixels); SDL_UnlockTexture(m_texture); ``` --- ``` RK_U32 width = 0; RK_U32 height...

另外,如果不识别 AVPacket 可以 ... ``` // is video stream const char start_code[4] = { 0, 0, 0, 1 }; if(memcmp(start_code, av_packet->data, 4) != 0) { // is avc1 code, have...

@topilski How do you achieve ffmpeg hardware decoding Help me

@topilski I also encountered the same problem https://github.com/fastogt/libvdpau-sunxi How to do !!!

![image](https://user-images.githubusercontent.com/3850061/49271814-2a886680-f4aa-11e8-9d01-ca2cc720b970.png)

@mittorn @topilski Thank you Waiting for Miracles ...

https://code.google.com/p/gor/downloads/list