Home
last modified time | relevance | path

Searched refs:self (Results 1 – 25 of 98) sorted by relevance

1234

/hardware/bsp/intel/peripheral/libupm/src/
Ddoxy2swig.py63 def __init__(self, src, include_function_definition=True, quiet=False): argument
73 self.my_dir = os.path.dirname(f.name)
74 self.xmldoc = minidom.parse(f).documentElement
77 self.pieces = []
78 self.pieces.append('\n// File: %s\n' %
81 self.space_re = re.compile(r'\s+')
82 self.lead_spc = re.compile(r'^(%feature\S+\s+\S+\s*?)"\s+(\S)')
83 self.multi = 0
84 self.ignores = ['inheritancegraph', 'param', 'listofallmembers',
92 self.include_function_definition = include_function_definition
[all …]
/hardware/bsp/intel/peripheral/libmraa/src/
Ddoxy2swig.py63 def __init__(self, src, include_function_definition=True, quiet=False): argument
73 self.my_dir = os.path.dirname(f.name)
74 self.xmldoc = minidom.parse(f).documentElement
77 self.pieces = []
78 self.pieces.append('\n// File: %s\n' %
81 self.space_re = re.compile(r'\s+')
82 self.lead_spc = re.compile(r'^(%feature\S+\s+\S+\s*?)"\s+(\S)')
83 self.multi = 0
84 self.ignores = ['inheritancegraph', 'param', 'listofallmembers',
92 self.include_function_definition = include_function_definition
[all …]
/hardware/bsp/intel/peripheral/libmraa/tests/
Dgpio_checks.py37 def setUp(self): argument
38 self.pin = m.Gpio(MRAA_GPIO)
39 self.gpio_path = "/sys/class/gpio/gpio" + str(self.pin.getPin(True))
41 def tearDown(self): argument
43 self.pin = ""
45 def test_returning_pin_no(self): argument
46 self.pin_no = self.pin.getPin() # i should have the pin no. here as set when initing Gpio class
47self.assertEqual(self.pin_no, MRAA_GPIO, "Something wrong happened ... set pin doesn't correspond …
49 def test_returning_pin_as_on_sys(self): argument
50 self.assertTrue(os.path.exists(self.gpio_path))
[all …]
Dplatform_checks.py32 def test_mraa_check_platform_no_of_pins(self): argument
34 self.assertEqual(pinCount, 20, "Wrong number. of pins. Check platform ...")
36 def test_mraa_check_platform_ADC_max_resolution(self): argument
37 self.p_ADC_mres = m.adcRawBits()
38 print("Platform ADC max. resolution is: " + str(self.p_ADC_mres) + " bits")
39 self.assertEqual(self.p_ADC_mres, 12, "Wrong ADC max. resolution. Check platform ...")
41 def test_mraa_check_platform_ADC_resolution(self): argument
42 self.p_ADC_res = m.adcSupportedBits()
43 print("Platform ADC resolution is: " + str(self.p_ADC_res) + " bits")
44 self.assertEqual(self.p_ADC_res, 10, "Wrong ADC suported resolution. Check platform ...")
Dgeneral_checks.py31 def test_mraa_version(self): argument
32 self.version = m.getVersion()
33 print("Version is: " + self.version)
34 self.assertIsNotNone(self.version)
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/tools/
Ddiff.py20 def __init__(self, filename, offset, length): argument
21 self.filename = filename
22 self.offset = offset
23 self.length = length
24 self.lines = []
25 self.delta_line_nums = []
27 def Append(self, line): argument
28 l = len(self.lines)
30 self.delta_line_nums.append(self.offset + l)
31 self.lines.append(line[1:])
[all …]
Dcpplint.py573 def __init__(self): argument
574 dict.__init__(self)
575 self.ResetSection()
577 def ResetSection(self): argument
579 self._section = self._INITIAL_SECTION
581 self._last_header = ''
583 def SetLastHeader(self, header_path): argument
584 self._last_header = header_path
586 def CanonicalizeAlphabeticalOrder(self, header_path): argument
601 def IsInAlphabeticalOrder(self, clean_lines, linenum, header_path): argument
[all …]
Dlint-hunks.py35 def __init__(self, args): argument
37 super(SubprocessException, self).__init__(msg)
43 def __init__(self, args, expected_returncode=0, **kwargs): argument
44 self._args = args
45 self._expected_returncode = expected_returncode
46 super(Subprocess, self).__init__(args, **kwargs)
48 def communicate(self, *args, **kwargs): argument
49 result = super(Subprocess, self).communicate(*args, **kwargs)
50 if self._expected_returncode is not None:
52 ok = self.returncode in self._expected_returncode
[all …]
/hardware/intel/common/libmix/mix_video/src/
Dmixvideoformatenc_preview.c38 static void mix_videoformatenc_preview_init(MixVideoFormatEnc_Preview * self) { in mix_videoformatenc_preview_init() argument
39 MixVideoFormatEnc *parent = MIX_VIDEOFORMATENC(self); in mix_videoformatenc_preview_init()
44 self->encoded_frames = 0; in mix_videoformatenc_preview_init()
45 self->pic_skipped = FALSE; in mix_videoformatenc_preview_init()
46 self->is_intra = TRUE; in mix_videoformatenc_preview_init()
47 self->cur_fame = NULL; in mix_videoformatenc_preview_init()
48 self->ref_fame = NULL; in mix_videoformatenc_preview_init()
49 self->rec_fame = NULL; in mix_videoformatenc_preview_init()
51 self->ci_shared_surfaces = NULL; in mix_videoformatenc_preview_init()
52 self->surfaces= NULL; in mix_videoformatenc_preview_init()
[all …]
Dmixvideoformatenc_mpeg4.c38 static void mix_videoformatenc_mpeg4_init(MixVideoFormatEnc_MPEG4 * self) { in mix_videoformatenc_mpeg4_init() argument
39 MixVideoFormatEnc *parent = MIX_VIDEOFORMATENC(self); in mix_videoformatenc_mpeg4_init()
44 self->encoded_frames = 0; in mix_videoformatenc_mpeg4_init()
45 self->pic_skipped = FALSE; in mix_videoformatenc_mpeg4_init()
46 self->is_intra = TRUE; in mix_videoformatenc_mpeg4_init()
47 self->cur_fame = NULL; in mix_videoformatenc_mpeg4_init()
48 self->ref_fame = NULL; in mix_videoformatenc_mpeg4_init()
49 self->rec_fame = NULL; in mix_videoformatenc_mpeg4_init()
51 self->ci_shared_surfaces = NULL; in mix_videoformatenc_mpeg4_init()
52 self->surfaces= NULL; in mix_videoformatenc_mpeg4_init()
[all …]
Dmixvideoformatenc.c40 static void mix_videoformatenc_init(MixVideoFormatEnc * self) { in mix_videoformatenc_init() argument
45 self->objectlock = g_mutex_new(); in mix_videoformatenc_init()
47 self->initialized = FALSE; in mix_videoformatenc_init()
48 self->framemgr = NULL; in mix_videoformatenc_init()
49 self->surfacepool = NULL; in mix_videoformatenc_init()
50 self->inputbufpool = NULL; in mix_videoformatenc_init()
51 self->inputbufqueue = NULL; in mix_videoformatenc_init()
52 self->va_display = NULL; in mix_videoformatenc_init()
53 self->va_context = 0; in mix_videoformatenc_init()
54 self->va_config = 0; in mix_videoformatenc_init()
[all …]
Dmixvideorenderparams.c36 static void mix_videorenderparams_init(MixVideoRenderParams * self) { in mix_videorenderparams_init() argument
38 MixVideoRenderParamsPrivate *priv = MIX_VIDEORENDERPARAMS_GET_PRIVATE(self); in mix_videorenderparams_init()
40 self->reserved = priv; in mix_videorenderparams_init()
43 self->display = NULL; in mix_videorenderparams_init()
44 memset(&(self->src_rect), 0, sizeof(MixRect)); in mix_videorenderparams_init()
45 memset(&(self->dst_rect), 0, sizeof(MixRect)); in mix_videorenderparams_init()
47 self->clipping_rects = NULL; in mix_videorenderparams_init()
48 self->number_of_clipping_rects = 0; in mix_videorenderparams_init()
51 self->reserved1 = NULL; in mix_videorenderparams_init()
52 self->reserved2 = NULL; in mix_videorenderparams_init()
[all …]
Dmixvideoformat_mp42.c52 static void mix_videoformat_mp42_init(MixVideoFormat_MP42 * self) { in mix_videoformat_mp42_init() argument
53 MixVideoFormat *parent = MIX_VIDEOFORMAT(self); in mix_videoformat_mp42_init()
55 self->reference_frames[0] = NULL; in mix_videoformat_mp42_init()
56 self->reference_frames[1] = NULL; in mix_videoformat_mp42_init()
58 self->last_frame = NULL; in mix_videoformat_mp42_init()
59 self->last_vop_coding_type = -1; in mix_videoformat_mp42_init()
61 self->packed_stream_queue = NULL; in mix_videoformat_mp42_init()
106 MixVideoFormat_MP42 *self = NULL; in mix_videoformat_mp42_finalize() local
120 self = MIX_VIDEOFORMAT_MP42(obj); in mix_videoformat_mp42_finalize()
121 parent = MIX_VIDEOFORMAT(self); in mix_videoformat_mp42_finalize()
[all …]
Dmixvideoformatenc_h264.c38 static void mix_videoformatenc_h264_init(MixVideoFormatEnc_H264 * self) { in mix_videoformatenc_h264_init() argument
39 MixVideoFormatEnc *parent = MIX_VIDEOFORMATENC(self); in mix_videoformatenc_h264_init()
44 self->encoded_frames = 0; in mix_videoformatenc_h264_init()
45 self->pic_skipped = FALSE; in mix_videoformatenc_h264_init()
46 self->is_intra = TRUE; in mix_videoformatenc_h264_init()
47 self->cur_fame = NULL; in mix_videoformatenc_h264_init()
48 self->ref_fame = NULL; in mix_videoformatenc_h264_init()
49 self->rec_fame = NULL; in mix_videoformatenc_h264_init()
51 self->ci_shared_surfaces = NULL; in mix_videoformatenc_h264_init()
52 self->surfaces= NULL; in mix_videoformatenc_h264_init()
[all …]
Dmixvideoconfigparamsdec.c33 static void mix_videoconfigparamsdec_init(MixVideoConfigParamsDec * self) { in mix_videoconfigparamsdec_init() argument
37 self->frame_order_mode = MIX_FRAMEORDER_MODE_DISPLAYORDER; in mix_videoconfigparamsdec_init()
38 memset(&self->header, 0, sizeof(self->header)); in mix_videoconfigparamsdec_init()
40 self->mime_type = NULL; in mix_videoconfigparamsdec_init()
42 self->frame_rate_num = 0; in mix_videoconfigparamsdec_init()
43 self->frame_rate_denom = 0; in mix_videoconfigparamsdec_init()
45 self->picture_width = 0; in mix_videoconfigparamsdec_init()
46 self->picture_height = 0; in mix_videoconfigparamsdec_init()
48 self->raw_format = 0; in mix_videoconfigparamsdec_init()
49 self->rate_control = 0; in mix_videoconfigparamsdec_init()
[all …]
Dmixvideoformat_vc1.c39 static void mix_videoformat_vc1_init(MixVideoFormat_VC1 * self) { in mix_videoformat_vc1_init() argument
40 MixVideoFormat *parent = MIX_VIDEOFORMAT(self); in mix_videoformat_vc1_init()
45 self->reference_frames[0] = NULL; in mix_videoformat_vc1_init()
46 self->reference_frames[1] = NULL; in mix_videoformat_vc1_init()
95 MixVideoFormat_VC1 *self = MIX_VIDEOFORMAT_VC1(obj); in mix_videoformat_vc1_finalize() local
98 parent = MIX_VIDEOFORMAT(self); in mix_videoformat_vc1_finalize()
110 if (self->reference_frames[i] != NULL) in mix_videoformat_vc1_finalize()
112 mix_videoframe_unref(self->reference_frames[i]); in mix_videoformat_vc1_finalize()
113 self->reference_frames[i] = NULL; in mix_videoformat_vc1_finalize()
254 MixVideoFormat_VC1 *self = NULL; in mix_videofmt_vc1_initialize() local
[all …]
Dmixvideoconfigparamsenc.c35 static void mix_videoconfigparamsenc_init(MixVideoConfigParamsEnc * self) { in mix_videoconfigparamsenc_init() argument
37 self->bitrate = 0; in mix_videoconfigparamsenc_init()
38 self->frame_rate_num = 30; in mix_videoconfigparamsenc_init()
39 self->frame_rate_denom = 1; in mix_videoconfigparamsenc_init()
40 self->initial_qp = 15; in mix_videoconfigparamsenc_init()
41 self->min_qp = 0; in mix_videoconfigparamsenc_init()
43 self->picture_width = 0; in mix_videoconfigparamsenc_init()
44 self->picture_height = 0; in mix_videoconfigparamsenc_init()
46 self->mime_type = NULL; in mix_videoconfigparamsenc_init()
47 self->encode_format = 0; in mix_videoconfigparamsenc_init()
[all …]
Dmixvideoformat.c38 static void mix_videoformat_init(MixVideoFormat * self) { in mix_videoformat_init() argument
44 self->initialized = FALSE; in mix_videoformat_init()
45 self->framemgr = NULL; in mix_videoformat_init()
46 self->surfacepool = NULL; in mix_videoformat_init()
47 self->inputbufpool = NULL; in mix_videoformat_init()
48 self->inputbufqueue = NULL; in mix_videoformat_init()
49 self->va_display = NULL; in mix_videoformat_init()
50 self->va_context = VA_INVALID_ID; in mix_videoformat_init()
51 self->va_config = VA_INVALID_ID; in mix_videoformat_init()
52 self->va_surfaces = NULL; in mix_videoformat_init()
[all …]
Dmixvideoinitparams.c33 static void mix_videoinitparams_init(MixVideoInitParams * self) { in mix_videoinitparams_init() argument
36 self->display = NULL; in mix_videoinitparams_init()
37 self->reserved1 = NULL; in mix_videoinitparams_init()
38 self->reserved2 = NULL; in mix_videoinitparams_init()
39 self->reserved3 = NULL; in mix_videoinitparams_init()
40 self->reserved4 = NULL; in mix_videoinitparams_init()
66 MixVideoInitParams *self = MIX_VIDEOINITPARAMS(obj); in mix_videoinitparams_finalize() local
69 if (self->display) { in mix_videoinitparams_finalize()
70 mix_display_unref(self->display); in mix_videoinitparams_finalize()
71 self->display = NULL; in mix_videoinitparams_finalize()
Dmixvideocaps.c34 mix_videocaps_init (MixVideoCaps * self) in mix_videocaps_init() argument
37 self->mix_caps = NULL; in mix_videocaps_init()
38 self->video_hw_caps = NULL; in mix_videocaps_init()
40 self->reserved1 = NULL; in mix_videocaps_init()
41 self->reserved2 = NULL; in mix_videocaps_init()
42 self->reserved3 = NULL; in mix_videocaps_init()
43 self->reserved4 = NULL; in mix_videocaps_init()
74 MixVideoCaps *self = MIX_VIDEOCAPS (obj); in mix_videocaps_finalize() local
75 SAFE_FREE (self->mix_caps); in mix_videocaps_finalize()
76 SAFE_FREE (self->video_hw_caps); in mix_videocaps_finalize()
Dmixvideoframe.c38 #define VIDEOFRAME_PRIVATE(self) ((MixVideoFramePrivate *)((self)->reserved1)) argument
39 static void mix_videoframe_init(MixVideoFrame * self) { in mix_videoframe_init() argument
41 self->frame_id = VA_INVALID_SURFACE; in mix_videoframe_init()
42 self->timestamp = 0; in mix_videoframe_init()
43 self->discontinuity = FALSE; in mix_videoframe_init()
44 self->frame_structure = VA_FRAME_PICTURE; in mix_videoframe_init()
46 MixVideoFramePrivate *priv = MIX_VIDEOFRAME_GET_PRIVATE(self); in mix_videoframe_init()
47 self->reserved1 = priv; in mix_videoframe_init()
48 self->reserved2 = NULL; in mix_videoframe_init()
49 self->reserved3 = NULL; in mix_videoframe_init()
[all …]
Dmixbufferpool.c38 static void mix_bufferpool_init(MixBufferPool * self) { in mix_bufferpool_init() argument
40 self->free_list = NULL; in mix_bufferpool_init()
41 self->in_use_list = NULL; in mix_bufferpool_init()
42 self->free_list_max_size = 0; in mix_bufferpool_init()
43 self->high_water_mark = 0; in mix_bufferpool_init()
45 self->reserved1 = NULL; in mix_bufferpool_init()
46 self->reserved2 = NULL; in mix_bufferpool_init()
47 self->reserved3 = NULL; in mix_bufferpool_init()
48 self->reserved4 = NULL; in mix_bufferpool_init()
52 self->objectlock = g_mutex_new(); in mix_bufferpool_init()
[all …]
Dmixvideoconfigparamsenc_h264.c49 mix_videoconfigparamsenc_h264_init (MixVideoConfigParamsEncH264 * self) in mix_videoconfigparamsenc_h264_init() argument
53 self->basic_unit_size = 0; in mix_videoconfigparamsenc_h264_init()
54 self->slice_num = 1; in mix_videoconfigparamsenc_h264_init()
55 self->disable_deblocking_filter_idc = 0; in mix_videoconfigparamsenc_h264_init()
57 self->delimiter_type = MIX_DELIMITER_LENGTHPREFIX; in mix_videoconfigparamsenc_h264_init()
59 self->reserved1 = NULL; in mix_videoconfigparamsenc_h264_init()
60 self->reserved2 = NULL; in mix_videoconfigparamsenc_h264_init()
61 self->reserved3 = NULL; in mix_videoconfigparamsenc_h264_init()
62 self->reserved4 = NULL; in mix_videoconfigparamsenc_h264_init()
/hardware/intel/common/libmix/mix_audio/src/
Dmixacpaac.c42 static void mix_acp_aac_init (MixAudioConfigParamsAAC *self) in mix_acp_aac_init() argument
44 self->MPEG_id = MIX_AAC_MPEG_ID_NULL; in mix_acp_aac_init()
45 self->bit_stream_format= MIX_AAC_BS_NULL; in mix_acp_aac_init()
46 self->aac_profile=MIX_AAC_PROFILE_NULL; in mix_acp_aac_init()
47 self->aot=0; in mix_acp_aac_init()
48 self->bit_rate_type=MIX_AAC_BR_NULL; /* 0=CBR, 1=VBR */ in mix_acp_aac_init()
49 self->CRC=FALSE; in mix_acp_aac_init()
50 self->sbrPresentFlag = -1; in mix_acp_aac_init()
51 self->psPresentFlag = -1; in mix_acp_aac_init()
52 self->pce_present=FALSE; /* Flag. 1- present 0 - not present, for RAW */ in mix_acp_aac_init()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/
Dgen_asm_deps.sh13 self=$0
15 echo "usage: $self [options] <srcfile>"
55 $self --build-pfx=$pfx --depfile=$out ${raw_inc_paths} `dirname $srcfile`/$inc
58 $self --build-pfx=$pfx --depfile=$out ${raw_inc_paths} "${found_inc_path}/$inc"

1234