Re: [android-kernel] Porting Display Driver to Android

2015-08-20 Thread Mayank Agarwal
Hi Niel, Android framebuffer is similar to linux framebuffer.For starting point you can point to vesafb driver file from Intel. There are 6/7 functions which you have to overried and you have to take care special care for memory management. If you come across any info in this please point those

[android-kernel] Adapting linux kernel to android

2014-09-09 Thread Mayank Agarwal
Hi, I want to modify the vanilla linux kernel to android os.board is based on mips32 architecture. please guide which folders i can have a look to adapt vanilla linux kernel to android. Also my board is mips based,do we have linux vanilla kernel for mips architecture. also what board and soc rela

[android-kernel] Android framework_error

2014-02-24 Thread Mayank Agarwal
Hi, I am getting the following error on playing 4k stream. Error in MediaPlayer.OnErrorListener and value of framework_err = : -38 what does this error stand for. Basically i have put checks for following types of errors. 1.MEDIA_ERROR_IO 2.MEDIA_ERROR_MALFORMED 3.MEDIA_ERROR_NOT_VALID_FOR_PRO

[android-kernel] Error in av_register_all

2014-02-10 Thread Mayank Agarwal
I am just initializing ffmpeg by calling av_register_all in android jni code JNIEXPORT jstring JNICALL Java_com_testplayer_MainActivity_ffmpegOpen( JNIEnv* env, jobject thiz, jstring path) { const char *input_filename = "mtbiketribe-small.mp4"; av_register_all(); return env->NewStringUT

[android-kernel] Porting ffmpeg in android

2014-01-29 Thread Mayank Agarwal
Hi all, Is it possible to make ffmpeg libavcodec as OMX IL decoder component and integrate it with android code.In my case NU player is failing to play https file and the error is in default omx.google decoder component. Is there any way i can replace this component with some other component or t

Re: [android-kernel] Android Porting, Display Screen Refresh Problem

2013-12-05 Thread Mayank Agarwal
Hi, Please help me in understanding the video flow in android. Regards, Mayank On Sat, Aug 11, 2012 at 4:09 PM, Emre Sercan Aslan wrote: > Hi, > > I'm working on Android Gingerbread porting to custom board. I achieved > Android porting but not completely. There is still > some bugs about displ