top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

multimedia subsystem on android phones

+1 vote
52 views

I am trying to understand the multimedia subsystem on android phones. I have just begun and have some fundamental doubts. This is mainly about the video processing. I am trying to capture the video frames by connecting the phone over HDMI interface to a PC. I am using MHL to HDMI and slimport to HDMI connectors to do so. My goal is to process the captured 1080p files played at 30/60fps

I have just found out that the capture card has to be tuned to the refresh rates of the device and the device refresh rates are hardcoded/hardwired. I think it makes sense for the OEM manufacturers to tie the refresh rates to a particular rate based on the LCD display used. Do you guys happen to know if I could tune it in the kernel if it was only hardcoded somewhere?

Assuming that the refresh rate cant be altered I am guessing the device will not attempt to tune itself to settings on the other side (TV/ HDMI card) but would rather prefer to send the frames at the rate it is designed for (Device LCD refresh rate). And the onus lies on me to tune my capture card based on the device connected. Could you guys validate this understanding?

This apart, it would be really great if you guys could point me towards the place in the source code where core of the video processing takes place. In the sense, picking up of the video frames, adding the overlays and placing the resulting frames on the LCD buffers to facilitate rendering.

posted Jul 5, 2013 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

Similar Questions
+5 votes

Isn't there a Package on Fedora repo that you can install so as to view files on Android Phones by USB.

+2 votes

Details can be found at : 3GPP TS 23.228 V10.5.0 (2011-06) page201 under clauses (E.2.1.0,E.2.1.1,E.2.1.2)

Requirements for IM CN subsystem signalling flag :-

The IM CN Subsystem Signalling flag is used to indicate the dedicated signalling PDP context for IMS signalling. When this flag should be active and which cases should be enabled an used

+1 vote

My app cashes when i click submit, it doesnt verify the fields as it should.
It works the way i want to but if i click on submit without entering anything it crashes.

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        Button addBtn = (Button) findViewById(R.id.addBtn);
        addBtn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                EditText amoutGiven = (EditText) findViewById(R.id.amountG);
                EditText manyPeople = (EditText) findViewById(R.id.mPeople);
                EditText moenyGiven = (EditText) findViewById(R.id.moneyG);
                TextView changeTxt  = (TextView) findViewById(R.id.changeTxt);
                Button nxtBtn     = (Button) findViewById(R.id.nxtBtn);
                Button tryBtn     = (Button) findViewById(R.id.tryBtn);
                android.view.inputmethod.InputMethodManager imm = (android.view.inputmethod.InputMethodManager)getSystemService(INPUT_METHOD_SERVICE);
                imm.hideSoftInputFromWindow(getCurrentFocus().getWindowToken(), 0);

                if (amoutGiven.getText().length()==0){
                    amoutGiven.setError("This field is required");
                }

                if (manyPeople.getText().length()==0){
                    manyPeople.setError("This field is required");
                }

                if (moenyGiven.getText().length()==0){
                    moenyGiven.setError("This field is required");
                }

                int num1 = Integer.parseInt(amoutGiven.getText().toString());
                int num2 = Integer.parseInt(manyPeople.getText().toString());
                int num3 = Integer.parseInt(moenyGiven.getText().toString());
                int total = num1 * num2;
                int change = num3 - total;

                changeTxt.setVisibility((changeTxt.getVisibility() == View.VISIBLE)
                        ? View.INVISIBLE : View.VISIBLE);

                if (change < 0 ){
                    changeTxt.setText("Your numbers dont add up");
                    tryBtn.setVisibility((tryBtn.getVisibility() == View.VISIBLE)
                            ? View.INVISIBLE : View.VISIBLE);
                    tryBtn.setOnClickListener(new View.OnClickListener() {
                        @Override
                        public void onClick(View v) {
                            startActivity(new Intent(MainActivity.this, MainActivity.class));

                        }
                    });

                }else {

                    changeTxt.setText( "Give Back Change oF: R" + change +"" );
                    nxtBtn.setVisibility((nxtBtn.getVisibility() == View.VISIBLE)
                            ? View.INVISIBLE : View.VISIBLE);
                    nxtBtn.setOnClickListener(new View.OnClickListener() {
                        @Override
                        public void onClick(View v) {
                            startActivity(new Intent(MainActivity.this, MainActivity.class));    
                        }
                    });    
                }    
            }
        });    
    }
}
0 votes

In android-O, there is "app" folder in vendor partition.(/vendor/app)If app is in that folder and is ran, is that a vendor process?

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...