Home
last modified time | relevance | path

Searched refs:plane_type (Results 1 – 25 of 34) sorted by relevance

12

/external/libgav1/libgav1/src/tile/bitstream/
Dpalette.cc34 int Tile::GetPaletteCache(const Block& block, PlaneType plane_type, in GetPaletteCache() argument
38 ? block.bp_top->palette_mode_info.size[plane_type] in GetPaletteCache()
41 ? block.bp_left->palette_mode_info.size[plane_type] in GetPaletteCache()
47 ? block.bp_top->palette_mode_info.color[plane_type] in GetPaletteCache()
50 (left_size > 0) ? block.bp_left->palette_mode_info.color[plane_type] in GetPaletteCache()
60 const PlaneType plane_type = GetPlaneType(plane); in ReadPaletteColors() local
62 const int n = GetPaletteCache(block, plane_type, cache); in ReadPaletteColors()
64 const uint8_t palette_size = bp.palette_mode_info.size[plane_type]; in ReadPaletteColors()
83 (plane_type == kPlaneTypeY ? 1 : 0); in ReadPaletteColors()
86 if (palette_color[index] + (plane_type == kPlaneTypeY ? 1 : 0) >= in ReadPaletteColors()
[all …]
/external/libaom/libaom/av1/decoder/
Ddecodetxb.c119 const PLANE_TYPE plane_type = get_plane_type(plane); in av1_read_coeffs_txb() local
161 av1_get_tx_type(xd, plane_type, blk_row, blk_col, tx_size, in av1_read_coeffs_txb()
176 aom_read_symbol(r, ec_ctx->eob_flag_cdf16[plane_type][eob_multi_ctx], in av1_read_coeffs_txb()
182 aom_read_symbol(r, ec_ctx->eob_flag_cdf32[plane_type][eob_multi_ctx], in av1_read_coeffs_txb()
188 aom_read_symbol(r, ec_ctx->eob_flag_cdf64[plane_type][eob_multi_ctx], in av1_read_coeffs_txb()
194 aom_read_symbol(r, ec_ctx->eob_flag_cdf128[plane_type][eob_multi_ctx], in av1_read_coeffs_txb()
200 aom_read_symbol(r, ec_ctx->eob_flag_cdf256[plane_type][eob_multi_ctx], in av1_read_coeffs_txb()
206 aom_read_symbol(r, ec_ctx->eob_flag_cdf512[plane_type][eob_multi_ctx], in av1_read_coeffs_txb()
213 r, ec_ctx->eob_flag_cdf1024[plane_type][eob_multi_ctx], 11, in av1_read_coeffs_txb()
223 r, ec_ctx->eob_extra_cdf[txs_ctx][plane_type][eob_ctx], 2, ACCT_STR); in av1_read_coeffs_txb()
[all …]
/external/libaom/libaom/av1/encoder/
Dencodetxb.c521 const PLANE_TYPE plane_type = get_plane_type(plane); local
523 av1_get_tx_type(xd, plane_type, blk_row, blk_col, tx_size,
538 ec_ctx->eob_flag_cdf16[plane_type][eob_multi_ctx], 5);
542 ec_ctx->eob_flag_cdf32[plane_type][eob_multi_ctx], 6);
546 ec_ctx->eob_flag_cdf64[plane_type][eob_multi_ctx], 7);
550 ec_ctx->eob_flag_cdf128[plane_type][eob_multi_ctx], 8);
554 ec_ctx->eob_flag_cdf256[plane_type][eob_multi_ctx], 9);
558 ec_ctx->eob_flag_cdf512[plane_type][eob_multi_ctx], 10);
562 ec_ctx->eob_flag_cdf1024[plane_type][eob_multi_ctx], 11);
572 ec_ctx->eob_extra_cdf[txs_ctx][plane_type][eob_ctx], 2);
[all …]
Drdopt.h48 const PLANE_TYPE plane_type = get_plane_type(plane); in av1_cost_skip_txb() local
50 &x->coeff_costs[txs_ctx][plane_type]; in av1_cost_skip_txb()
/external/libvpx/libvpx/vp8/encoder/
Dtokenize.c355 int plane_type; in vp8_tokenize_mb() local
373 plane_type = 3; in vp8_tokenize_mb()
376 plane_type = 0; in vp8_tokenize_mb()
379 tokenize1st_order_b(x, t, plane_type, cpi); in vp8_tokenize_mb()
438 int plane_type; in vp8_stuff_mb() local
440 plane_type = 3; in vp8_stuff_mb()
445 plane_type = 0; in vp8_stuff_mb()
450 plane_type, cpi, x); in vp8_stuff_mb()
/external/webrtc/webrtc/common_video/libyuv/
Dlibyuv_unittest.cc47 PlaneType plane_type = static_cast<PlaneType>(plane_num); in PrintFrame() local
50 ret += PrintBuffer(frame->buffer(plane_type), width, height, in PrintFrame()
51 frame->stride(plane_type)); in PrintFrame()
67 PlaneType plane_type = static_cast<PlaneType>(plane_num); in CreateImage() local
68 uint8_t *data = frame->buffer(plane_type); in CreateImage()
73 data += frame->stride(plane_type); in CreateImage()
Dwebrtc_libyuv.cc113 PlaneType plane_type = static_cast<PlaneType>(planeNum); in PrintVideoFrame() local
114 const uint8_t* plane_buffer = frame.buffer(plane_type); in PrintVideoFrame()
120 plane_buffer += frame.stride(plane_type); in PrintVideoFrame()
/external/libvpx/libvpx/vp9/common/
Dvp9_blockd.h215 static INLINE TX_TYPE get_tx_type(PLANE_TYPE plane_type, in get_tx_type() argument
219 if (plane_type != PLANE_TYPE_Y || xd->lossless || is_inter_block(mi)) in get_tx_type()
225 static INLINE TX_TYPE get_tx_type_4x4(PLANE_TYPE plane_type, in get_tx_type_4x4() argument
229 if (plane_type != PLANE_TYPE_Y || xd->lossless || is_inter_block(mi)) in get_tx_type_4x4()
/external/igt-gpu-tools/lib/
Digt_kms.h68 const char *kmstest_plane_type_name(int plane_type);
411 igt_plane_t *igt_output_get_plane_type(igt_output_t *output, int plane_type);
412 int igt_output_count_plane_type(igt_output_t *output, int plane_type);
414 int plane_type, int index);
419 igt_plane_t *igt_pipe_get_plane_type(igt_pipe_t *pipe, int plane_type);
420 int igt_pipe_count_plane_type(igt_pipe_t *pipe, int plane_type);
421 igt_plane_t *igt_pipe_get_plane_type_index(igt_pipe_t *pipe, int plane_type,
Digt_kms.c563 const char *kmstest_plane_type_name(int plane_type) in kmstest_plane_type_name() argument
571 igt_assert(plane_type < ARRAY_SIZE(names) && names[plane_type]); in kmstest_plane_type_name()
573 return names[plane_type]; in kmstest_plane_type_name()
2381 igt_plane_t *igt_pipe_get_plane_type(igt_pipe_t *pipe, int plane_type) in igt_pipe_get_plane_type() argument
2385 switch(plane_type) { in igt_pipe_get_plane_type()
2403 plane_idx, plane_type, pipe->n_planes); in igt_pipe_get_plane_type()
2417 int igt_pipe_count_plane_type(igt_pipe_t *pipe, int plane_type) in igt_pipe_count_plane_type() argument
2422 if (pipe->planes[i].type == plane_type) in igt_pipe_count_plane_type()
2438 igt_plane_t *igt_pipe_get_plane_type_index(igt_pipe_t *pipe, int plane_type, in igt_pipe_get_plane_type_index() argument
2444 if (pipe->planes[i].type != plane_type) in igt_pipe_get_plane_type_index()
[all …]
/external/webrtc/webrtc/modules/video_processing/test/
Dvideo_processing_unittest.cc383 webrtc::PlaneType plane_type = static_cast<webrtc::PlaneType>(plane); local
384 int allocated_size1 = frame1.allocated_size(plane_type);
385 int allocated_size2 = frame2.allocated_size(plane_type);
388 const uint8_t* plane_buffer1 = frame1.buffer(plane_type);
389 const uint8_t* plane_buffer2 = frame2.buffer(plane_type);
/external/libaom/libaom/av1/common/
Dblockd.h396 PLANE_TYPE plane_type; member
718 PLANE_TYPE plane_type) { in intra_mode_to_tx_type() argument
735 (plane_type == PLANE_TYPE_Y) ? mbmi->mode : get_uv_mode(mbmi->uv_mode); in intra_mode_to_tx_type()
863 static INLINE TX_TYPE get_default_tx_type(PLANE_TYPE plane_type, in get_default_tx_type() argument
869 if (is_inter_block(mbmi) || plane_type != PLANE_TYPE_Y || in get_default_tx_type()
874 return intra_mode_to_tx_type(mbmi, plane_type); in get_default_tx_type()
972 PLANE_TYPE plane_type, int blk_row, in av1_get_tx_type() argument
981 if (plane_type == PLANE_TYPE_Y) { in av1_get_tx_type()
986 const struct macroblockd_plane *const pd = &xd->plane[plane_type]; in av1_get_tx_type()
Dblockd.c94 xd->plane[i].plane_type = get_plane_type(i); in av1_setup_block_planes()
/external/libgav1/libgav1/src/tile/
Dtile.cc1092 const uint16_t* scan, PlaneType plane_type, TransformSize tx_size, in ReadCoeffBase2D() argument
1131 level += ReadCoeffBaseRange(clamped_tx_size_context, context, plane_type); in ReadCoeffBase2D()
1151 const uint16_t* scan, PlaneType plane_type, TransformSize /*tx_size*/, in ReadCoeffBaseHorizontal() argument
1185 level += ReadCoeffBaseRange(clamped_tx_size_context, context, plane_type); in ReadCoeffBaseHorizontal()
1196 const uint16_t* scan, PlaneType plane_type, TransformSize /*tx_size*/, in ReadCoeffBaseVertical() argument
1233 level += ReadCoeffBaseRange(clamped_tx_size_context, context, plane_type); in ReadCoeffBaseVertical()
1399 int plane_type) { in ReadCoeffBaseRange() argument
1404 [plane_type][cdf_context]); in ReadCoeffBaseRange()
1452 const PlaneType plane_type = GetPlaneType(plane); in ReadTransformCoefficients() local
1458 cdf = symbol_decoder_context_.eob_pt_16_cdf[plane_type][context]; in ReadTransformCoefficients()
[all …]
/external/libgav1/libgav1/src/
Dtile.h334 PlaneType plane_type); // 5.11.42 and 5.11.43.
337 int GetPaletteCache(const Block& block, PlaneType plane_type,
397 const uint16_t* scan, PlaneType plane_type, TransformSize tx_size,
403 const uint16_t* scan, PlaneType plane_type, TransformSize tx_size,
409 const uint16_t* scan, PlaneType plane_type, TransformSize tx_size,
500 int plane_type); // Part of 5.11.39.
524 const Block& block, PlaneType plane_type, int i, int start, int end,
/external/igt-gpu-tools/tests/
Dkms_atomic_interruptible.c79 enum plane_test_type test_type, unsigned plane_type) in run_plane_test() argument
96 plane = igt_output_get_plane_type(output, plane_type); in run_plane_test()
102 switch (plane_type) { in run_plane_test()
Dkms_rotation_crc.c368 static void test_plane_rotation(data_t *data, int plane_type, bool test_bad_format) in test_plane_rotation() argument
374 if (plane_type == DRM_PLANE_TYPE_CURSOR) in test_plane_rotation()
388 plane = igt_output_get_plane_type(output, plane_type); in test_plane_rotation()
395 if (plane_type == DRM_PLANE_TYPE_CURSOR && in test_plane_rotation()
400 if (plane_type == DRM_PLANE_TYPE_PRIMARY && in test_plane_rotation()
/external/webrtc/webrtc/modules/video_capture/test/
Dvideo_capture_unittest.cc77 webrtc::PlaneType plane_type = static_cast<webrtc::PlaneType>(plane); in CompareFrames() local
78 int allocated_size1 = frame1.allocated_size(plane_type); in CompareFrames()
79 int allocated_size2 = frame2.allocated_size(plane_type); in CompareFrames()
82 const uint8_t* plane_buffer1 = frame1.buffer(plane_type); in CompareFrames()
83 const uint8_t* plane_buffer2 = frame2.buffer(plane_type); in CompareFrames()
/external/libkmsxx/kms++util/src/
Dresourcemanager.cpp147 if (plane->plane_type() != type) in reserve_plane()
182 if (plane->plane_type() == PlaneType::Cursor) in reserve_generic_plane()
/external/libkmsxx/kms++/inc/kms++/
Dplane.h24 PlaneType plane_type() const;
/external/libkmsxx/py/tests/
Diact.py33 if p.plane_type == pykms.PlaneType.Overlay:
/external/libkmsxx/kms++/src/
Dplane.cpp52 PlaneType Plane::plane_type() const in plane_type() function in kms::Plane
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dsimulcast_unittest.h237 PlaneType plane_type = static_cast<PlaneType>(plane_num); in CreateImage() local
238 uint8_t* data = frame->buffer(plane_type); in CreateImage()
242 memset(frame->buffer(plane_type), 0, frame->allocated_size(plane_type)); in CreateImage()
245 data += frame->stride(plane_type); in CreateImage()
/external/igt-gpu-tools/tests/i915/
Di915_pm_rpm.c79 enum plane_type { enum
1652 static enum plane_type get_plane_type(uint32_t plane_id) in get_plane_type()
1659 enum plane_type type; in get_plane_type()
1691 enum plane_type plane_type) in test_one_plane() argument
1704 switch (plane_type) { in test_one_plane()
1746 if (plane_type != PLANE_PRIMARY) { in test_one_plane()
1807 enum plane_type type; in planes_subtest()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemb.c76 const PLANE_TYPE plane_type = get_plane_type(plane); in vp9_optimize_b() local
81 const scan_order *const so = get_scan(xd, tx_size, plane_type, block); in vp9_optimize_b()
86 const int64_t rdadj = (int64_t)mb->rdmult * plane_rd_mult[ref][plane_type]; in vp9_optimize_b()
103 mb->token_costs[tx_size][plane_type][ref]; in vp9_optimize_b()
116 assert((!plane_type && !plane) || (plane_type && plane)); in vp9_optimize_b()

12